CNYI is a customizable news collection website. It displays the recent news according to the already filled in preference of users. The users can choose the type of news they want to see like Tech, Business, etc., and may even choose some sources where they want to see it from, like The Hindu, Times of India, or even Twitter and HN(YCombinator).
CNYI makes extensive use of APIs of different News sources, RSS and Web Scraping. The MVC framework built in Rails provides good support for CNYI.Currently, only news from the Guardian news source is used with the help of their API.
-
Clone this repo
Via SSH:git clone git@github.com:aashaka/CNYI.git
Via HTTPS:git clone https://github.com/aashaka/CNYI.git
-
Make sure you have an almost latest version of both Ruby and Rails in your system
-
bundle install
in the root directory -
rails server
-
Navigate to 127.0.0.1:3000
- Login or register yourself
- Go to /news for going through the news. If the user has not selected any preference, they will see all news of that day
- To select preferences, click on the Preferences link in the navigation bar. Enter your preference, like sports, technology, politics, etc.
- Convert categories into drop down menu
- Add more news sources
- Take footer down
- Show user preferences
- Add Forgot Password functionality