Student: Pratyush Singh (@singhpratyush)
Organisation: FOSSASIA
Project: Add Endpoints to Loklak API and Implement World Mood Tracker
The mood API serves aggregated data from classifiers present in loklak server, namely emotion, profanity and language. Users can request the data from these classifiers based on date and country of creation of message. It is accessible at /api/classifier.json
endpoint.
The stream API can be used to subscribe to messages as they arrive at loklak. Users can get a stream of messages over a long lived HTTP connection and save themselves from the trouble of making multiple requests to collect messages. It is accessible at /api/stream.json
endpoint.
World Mood Tracker app uses mood API to display aggregated data from classifiers on a map. Users can also see live Tweets from a country by clicking on it in the map.
Other major contributions include -
- writing configurations for Kubernetes
- continuous deployment from Travis
- improving URL unshortening
- introducing priority kaizen harvesting strategy
- improving look for https://api.loklak.org page
- improving video fetching service
- adding Jacoco for coverage reports
- adding Checkstyle for linting
- improving code quality of various packages
- reviewing PRs and opening issues in other repositories of FOSSASIA
- helping co-developers with deployment on Kubernetes
Project Subpart: Adding Stream and Mood API
Code Repository: https://github.com/loklak/loklak_server
Project Link: https://api.loklak.org/
Commits | Issues | Pull Requests
Project Subpart: Implementing World Mood Tracker App
Code Repository: https://github.com/fossasia/apps.loklak.org
Project Link: https://apps.loklak.org/
Commits | Issues | Pull Requests
All the blog posts I wrote during this project are accessible at FOSSASIA's blog: http://blog.fossasia.org/author/singhpratyush/.
All my scrums are present in here.
All Tweets posted related to my GSoC project are available here.
The meetup was conducted with @saurabhjn76 and @aviaryan.
Type | Link | Comments |
---|---|---|
Google Container Engine (Development) | http://35.202.118.203/ | Running as https://staging.loklak.org |
Google Container Engine (Master) | http://35.184.153.253/ | Running as https://api-test.loklak.org |
IBM Bluemix | https://pratyush-cloud.eu-gb.mybluemix.net/ | - |
Google Compute Engine | http://162.222.180.38/ | Streaming enabled |
Deployment |
Classifier Endpoint |
Landing Page |
Tweet Stream for Country |
A slideshow giving overview of work done during GSoC 17 is available here.
The screencasts for this project are available here and here.
Thanks.