An open API service indexing awesome lists of open source software.

https://github.com/freshshell/fresh-api

The code behind api.freshshell.com.
https://github.com/freshshell/fresh-api

Last synced: 3 months ago
JSON representation

The code behind api.freshshell.com.

Awesome Lists containing this project

README

          

# 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

[directory]: https://github.com/freshshell/fresh/wiki/Directory