https://github.com/ix/mebious
Completely anonymous messageboard (clone of another website).
https://github.com/ix/mebious
Last synced: about 1 year ago
JSON representation
Completely anonymous messageboard (clone of another website).
- Host: GitHub
- URL: https://github.com/ix/mebious
- Owner: ix
- License: mit
- Created: 2023-09-03T17:03:59.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-09-03T17:05:40.000Z (almost 3 years ago)
- Last Synced: 2025-02-12T14:28:04.137Z (over 1 year ago)
- Language: Ruby
- Size: 43 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
mebious.wired
=============
A clone of [Mebby](http://mebious.co.uk) written in Ruby using the Sinatra framework.
Developed on 2.2.2, may work with earlier versions.
### Overview of the Data API
-----
`mebious.wired` uses a RESTful API to facilitate the development of
third party interfaces with read/write access to the central database.
Currently, the API looks like this:
`GET /posts` -> Returns a JSON array of objects representing the last 20 posts.
`GET /posts/n` (n = Integer > 0 and < 100) -> Returns a JSON array of objects representing the last `n` posts.
`POST /api/key` (key = API key) -> Makes a post where the text body is the POST field "text", returns a JSON object of success/error state.
----
# Dependencies
- sinatra
- sqlite3
- builder
- rack_csrf
- sinatra-cross_origin
- mysql2 (optional, for mysql support)