GithubHelp home page GithubHelp logo

raghwendra-dey / naarad-source Goto Github PK

View Code? Open in Web Editor NEW

This project forked from metakgp/naarad-news

0.0 1.0 0.0 9.26 MB

aggregating news since antiquity

Home Page: https://naarad.metakgp.org/

License: GNU Affero General Public License v3.0

Ruby 1.90% Shell 2.97% Python 95.12%

naarad-source's Introduction

Naarad

Naarad aggregates all your KGP related news from facebook pages to one place.Go to http://naarad.metakgp.org to see it working.

How does it work?

Naarad gets the content from the specified pages using Facebook's graph API. We use facepy as the python frontend for the api.

How to use Naarad

  • Get a Facebook API token and save it in file name ACCESS_TOKEN. See this StackOverflow Answer.
  • Naarad runs exclusively on Python 3, you can conda to easily switch between Python 2 and Python 3 environments.
  • Install facepy. As of now you'll have to use hargup's fork of facepy as the code in the original repository doesn't handle downloading of image files well. Pull Request is in process.
  • Run deploy.sh to push the changes to master. The website is generated through the docs/ directory. deploy.sh runs fbscrapper.py which creates json files containing feeds, and then runs frontend.py which converts the json feed into into nice html according to a template specified in feed.tmpl.

License

AGPL

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.