Skip to content

aviaryan/dls

Repository files navigation

DLS

Build Status Code Climate Codacy Badge codecov

Deploy Launch on OpenShift

Direct Link Service. A pastebin for text and uploading files where you can choose a custom link. Also file and text will be accessible/downloadable from easy to remember direct links. http://dls.aviaryan.in/

Why?

Currently, the options available to quickly share a text or file are pastebin type services which provide a random link after the data is uploaded. The links are impossible to remember and the only way to retrieve data back from the link is to first store the link somewhere so that it can be recalled. So I made this service so that anyone can put a paste or upload a file to a url of their choice. Eg >

Then there are all sorts of ways to fetch information from the url; see API docs for them. Above all, I wanted to take up a sample project to practise Flask so that was it.

PS - If you like the idea, please vote here so that I can make up my mind to buy a short domain.

Tutorial (Guide)

See the homepage

Technologies used

  • Python 2.7
  • Flask
  • SQLAlchemy (and Alembic)

Setup (Deployment)

See the setup instructions

API

See API docs.

Testing

python -m unittest discover tests
# or
nosetests