https://github.com/funkatron/honeybadger
https://github.com/funkatron/honeybadger
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/funkatron/honeybadger
- Owner: funkatron
- Created: 2011-03-29T22:13:16.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2011-04-03T05:12:09.000Z (about 15 years ago)
- Last Synced: 2025-02-07T12:52:44.910Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 277 KB
- Stars: 5
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ideas #
- Use ActivityStreams as our common language (JSON-only)
- have a bunch of encoders/decoders to convert to and from ActivityStreams format
- For example, `Twitter->ASJSON`, `ASJSON->Plurk`. Now your Plurk client can read Twitter data after it passed through HoneyBadger
## passing data through honeybadger ##
- imaging HoneyBadger listening locally on port 9000
`http://localhost:9000/get?resource=http://api.twitter.com/1/statuses/public_timeline.json&input=twitter&output=plurk`
- HoneyBadger receives the request at /get
- it makes it's own `GET` to the URL defined in `resource`
- `Authentication` headers would be proxied to the resource
- HB gets it's response back from Twitter
- the response data is converted into ASJSON format from the expected `input` format
- if an `output` format is specified, the ASJSON data is converted into into the requested format. Otherwise, we use ASJON for the output
- HoneyBadger responds to the original request with the data in the reqeusted format