freshshell / fresh-api

The code behind api.freshshell.com.

Home Page:http://freshshell.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fresh API

Powers fresh search.

API

GET /directory

Returns the entire directory:

  • 200 responds with a plain text list of fresh lines

GET /directory?q=:query

Search the directory for query:

  • 200 responds with a plain text list of fresh lines matching query
  • 500 something went wrong

Development

To run the app locally:

memcached # start memcached
rackup

License

MIT

About

The code behind api.freshshell.com.

http://freshshell.com


Languages

Language:Ruby 97.5%Language:Dockerfile 2.5%