Being a small Flask application written around Newspaper.
- Have a MongoDB instance running. Default is
localhost:27017
. Change this insettings.py
. - Run the
install
script, then source./bin/activate
- Run
./start flask
for a dev server.
Running./start
will start 10 Gunicorn workers.
Click the "+" icon to add a URL.
To save
curl -X POST \
-H "article: http://time.com/jonathan-ive-apple-interview" \
http://localhost:5000/
To delete
curl -X DELETE http://localhost:5000/article/533c67a364b6c00bf64864a3
Or, source bin/activate
and then
python save.py --url=http://article
-
Edit
mail.py
to change the host and port values. -
Then set up an alias and pipe the email to
mail.py
. For example, this is what I have in/etc/aliases
Nlr5zbrLCgwTOA3ApKKa: |"python /path/to/mail.py"
-
Send an email to alias with the subject line containing the URL.
- Authentication
- Correct HTTP status codes
- API
- Use HTTP data instead of headers for URIs
- Ability to edit articles
- Export to HTML and PDF
- Delete confirmation
See LICENSE