megafilter v0.7.1-0

This is a personal replacement for Google reader. It's simple and suits my workflow.
Remember to do a recursive clone, there are submodules. If you don't the icons won't work.
git clone --recursive https://github.com/naggie/megafilter.git
cd megafilter/
# copy subscriptions.xml from your google reader takeout to here
npm install
node app
open http://localhost:8080The idea is that you run this on your own server. You can specify a PORT via
the environment variable or --port. Setcap can be used to run from port 80 without sudo
There will be a subscriptions manager soon.
You can specify --password <password> to require auth. A --username can be
set, but this defaults to the executing user.
If you want to import starred items, before the server is started, run:
node import --google-starred starred.jsonusing the file from the takeout.
RESTful JSON API
GET /nextGet the next article. Returnsarticleandpendingcount.
GET /currentGet the current article (good for first load) returnsarticleandpendingcount.
DELETE /queue/:idDiscard an article from the queue.
PUT /publish/:idPublish an article by ID from the queue.
GET /publishedGiven acountas parameter, return published articles. 0 Means all articles, unspecified means 30.
GET /pendingGives the current number of articles pending
DELETE /published/:idDelete an article from the published collection
POST /enqueueRemotely adds an article to the queue.
Article format
The same as the node-feedparser format.
titledescription(frequently, the full article content)summary(frequently, an excerpt of the article content)linkoriglink(when FeedBurner or Pheedo puts a special tracking url in thelinkproperty,origlinkcontains the original link)date(most recent update)pubdate(original published date)authorguid(a unique identifier for the article)comments(a link to the article's comments section)image(an Object containingurlandtitleproperties)categories(an Array of Strings)source(an Object containingurlandtitleproperties pointing to the original source for an article; see the RSS Spec for an explanation of this element)enclosures(an Array of Objects, each representing a podcast or other enclosure and having aurlproperty and possiblytypeandlengthproperties)meta(an Object containing all the feed meta properties; especially handy when using the EventEmitter interface to listen toarticleemissions)
Acknowledgements
Megafilter would not have been possible without the following awesome projects:
- node feedparser: Used to understand RSS feeds
- jQuery hotkeys: Used for the keyboard shorcuts
- Font Awesome: used for the UI graphics
- jQuery
- node restify: Used for the RESTful JSON API, and UI serving
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago