• Stars
    star
    375
  • Rank 114,096 (Top 3 %)
  • Language
    JavaScript
  • Created almost 8 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A personal JSON store as a RESTful service

NAME

jsonbin.org - A personal JSON store as a RESTful service

SYNOPSIS

curl https://jsonbin.org/remy/blog

To save data, you'll first need to sign in to get an API key.

DESCRIPTION

jsonbin.org is a personal key/value JSON store as a service. Protected behind authentication and API key requests, data is stored as JSON and can be deep linked. A permissioning model also allows specific paths to your store to become public to share with others.

The aim of the project is to provide a simplified data store for tinkerers.

Important: jsonbin is currently in open beta. If you have questions, please get in touch.

Authentication

By default all user store data is protected behind auth either via browser sign in, or an authorization token. The token is your apikey. For example:

curl -X POST https://jsonbin.org/remy/blog \
     -H 'Authorization: token abcd-xyz-123' \
     -d '{ url: "https://remysharp.com" }'

Endpoints

A private namespace URL "_" is used for jsonbin specific endpoints:

The following methods with your authorization header will access your data store against https://jsonbin.org/:username/:

  • GET return given path mapped to a JSON path.
  • POST store the payload (supports JSON and files).
  • PATCH merge the payload with the endpoint.
  • DELETE store path.

By default all endpoints are private, but you can modify a specific entry point to be public by default by changing the permissions:

  • PUT /:username/:path/_perms make the :path public.
  • DELETE /:username/:path/_perms make :path private.
  • GET /:username/:path/_perms check permissions of :path.

Public endpoints accept GET requests without the authorization header.

Example usage

You can use jsonbin as a shared clipboard across machines. Creating an alias to upload STDIN via curl could be posted to a public URL:

alias jsonbin="curl -X 'POST' \
      -H'authorization: token abcd-xyz-123' \
      -F'content=@-' \
      https://jsonbin.org/remy/clipboard"
echo "foo" | jsonbin

BUGS

This project lives at github/jsonbin. Please report bugs to github/jsonbin/issues.

AUTHOR

Remy Sharp <[email protected]>

LICENSE

MIT

More Repositories

1

nodemon

Monitor for any changes in your node.js application and automatically restart the server - perfect for development
JavaScript
25,505
star
2

html5demos

Collection of hacks and demos showing capability of HTML5 apps
HTML
4,692
star
3

mit-license

Hosted MIT License with details controlled through this repo
CSS
2,258
star
4

jsconsole

Web based console - for presentations and workshops
JavaScript
1,867
star
5

min.js

Super minimal selector and event library
JavaScript
1,096
star
6

inliner

Node utility to inline images, CSS and JavaScript for a web page - useful for mobile sites
JavaScript
1,074
star
7

polyfills

Collection of polyfills that I've written
JavaScript
1,070
star
8

bind.js

bind.js - simple two way data binding to HTML and callbacks
JavaScript
697
star
9

twitterlib

Twitter JavaScript API library
JavaScript
302
star
10

5minutefork

A 5 minute fork of a github project for a quick play and test
JavaScript
202
star
11

responsivepx

Helps you find the break point to help with responsive design
JavaScript
120
star
12

check

Checks the status of a list of urls
Shell
116
star
13

remysharp.com

My b:log and all its content in plain (unabashed) text
JavaScript
114
star
14

wm

webmention check service
HTML
101
star
15

snap

Creates a static snapshot of a website. Sort of like wget's mirror mode, but with nice urls
JavaScript
98
star
16

retrobot

🤖 A slack bot for retrospectives
JavaScript
95
star
17

servedir

Creates a simple node based web server for a directory
JavaScript
91
star
18

PhoneGap-Plugin-WebSocket

WebSocket support for PhoneGap (iPhone)
Objective-C
84
star
19

twivatar

Twitter RESTful avatar API
HTML
74
star
20

jsconsole-iphone

The iPhone native version of JS Console (with WebSocket support)
Objective-C
71
star
21

undefsafe

Simple *function* for retrieving deep object properties without getting "Cannot read property 'X' of undefined"
JavaScript
70
star
22

geo

Returns JSON(P) with country of visitor
JavaScript
69
star
23

libraries

Dumping ground for my little libraries
JavaScript
65
star
24

eventsource-h5d

EventSource HTML5 Doctor demo
JavaScript
65
star
25

cssprefix

A tool to help developers include the right vendor prefixes in their sites
JavaScript
52
star
26

feature-gateway

Simple, memory and JS based feature testing with express support.
JavaScript
48
star
27

memfetch

Caches fetch responses and promises for faster development
JavaScript
46
star
28

server-timings

Server-Timings header for express
JavaScript
45
star
29

next-http

Send and recieve http requests into banks - for the Spectrum Next
Assembly
45
star
30

read-body

A simple site to pull the body of the post out and reformat for readability
JavaScript
43
star
31

zx-tools

A collection of ZX web based tools and libraries
JavaScript
41
star
32

track

Interaction tracker library (mouse, touch, keyboard)
JavaScript
41
star
33

password-policy

A single resource for the best approach to password policies from all the great minds across the web
39
star
34

jqterm

A jq as a service (a different take on the the existing playground)
JavaScript
38
star
35

remote-tilt

Remotely send device orientation and motion events
JavaScript
38
star
36

now-realias

now realias will re-alias now deployments
JavaScript
35
star
37

next-training

Next.js training course material
JavaScript
34
star
38

dotfiles

My dotfiles (definitely a WIP)
Shell
33
star
39

denomon

Port of nodemon to deno
32
star
40

Socket.io-node-client

Client library for Socket.IO for running scripts from node, i.e. introduces io.Socket object
32
star
41

end-of-days

End of Days, a Digital Wellness app - to stop using the computer at night!
JavaScript
32
star
42

clite

Lite framework for node CLI utils. Pronounced: "slight".
JavaScript
27
star
43

unrot.link

Un-rot your links using the archive.org
JavaScript
26
star
44

present

A(nother) JavaScript Presentation Library
JavaScript
25
star
45

cloud-worker

Service Workers, but in "the cloud" ala CloudFlare workers
JavaScript
24
star
46

inlinerapp

Web version of the inline script (to inline your entire site)
JavaScript
23
star
47

tinnitus

Tinitus experiment to find and notch music
JavaScript
23
star
48

favs

Tool for capturing all your twitter favs
JavaScript
21
star
49

twitter-search-js

JavaScript based search filter for Twitter, matching the syntax of Twitter's existing search
20
star
50

changelog

JavaScript
20
star
51

twitpic-json

Twitpic JSON API to *get* images back out
Python
20
star
52

txt2bas

ZX Spectrum BASIC conversion tooling (specific support for NextBASIC)
JavaScript
19
star
53

marbles2

Marbles Squared game source
JavaScript
19
star
54

transform

transform globs of text into json
JavaScript
19
star
55

advent-of-code-solved

My advent of code, in jq…
jq
18
star
56

now-no-alias

CLI tool for now to list idle deploys (with no active aliases)
JavaScript
18
star
57

ps2-remote

A PS/2 keyboard remote adapter
C++
18
star
58

inline-log

Tiny module for capturing stdout/err in the browser.
HTML
17
star
59

light-dark-switcher

Light/Dark theme switcher for Firefox
JavaScript
16
star
60

stripe-tutorial

JavaScript
16
star
61

no-more-scroll-jacking

This extension prevents scroll jacking whilst holding a meta key
JavaScript
16
star
62

mdn-will-it-miss

Demo project for MDN toolchain article
JavaScript
15
star
63

autocache

Memorisation back by a persistent store
JavaScript
15
star
64

permalink

Creates permalinks on existing sites and jumps to them
JavaScript
14
star
65

nice-ls

My nice ls styles, but without messing with ls
JavaScript
14
star
66

harp-static

Simple harp.js static server (for heroku, etc)
JavaScript
14
star
67

jquery-api-browser

jQuery API browser backend and source database
JavaScript
14
star
68

gina

A Glitch CLI deploy tool
JavaScript
13
star
69

proxy

Simple http proxy reading a config (uses node-http-proxy)
JavaScript
13
star
70

tweed

Twitter feed processor for PHP with plugable modules
PHP
13
star
71

arduino

My arduino sketches
C
13
star
72

rest

Super simple Pebble app for rest intervals (like in the gym or pomodoro)
C
12
star
73

introducinghtml5

Code examples to accompany the book: Introducing HTML5
HTML
12
star
74

bins

All remy's bins
HTML
12
star
75

doesitmutate

JavaScript
11
star
76

next-ayfx

AYFX Driver for NextBASIC
Assembly
11
star
77

renvy

The create-react-app environment loader for consistent reuse in other projects with additions for command line usage.
JavaScript
10
star
78

twitter_avatars

JavaScript
10
star
79

nextbasic-procs

A mixed bag of NextBASIC procedures that I'm using on repeat.
9
star
80

goodreads

A mini project to collect all my Goodreads book reviews in a JSON format
JavaScript
9
star
81

zxdb-specnext-api

Barebones API for zxdb - intended for use on the zx spectrum next
JavaScript
9
star
82

templates

Collection of templates for project starting points (wip)
JavaScript
9
star
83

vscode-nextbasic

VS Code tools for NextBASIC
JavaScript
9
star
84

twists

Simple tool for creating twitter list members
JavaScript
9
star
85

midi-to-ps2

Source code for USB midi to PS/2 (and USB) customised to suit NextDAW
C++
9
star
86

isthe.link

Hosting for my mini side projects
JavaScript
8
star
87

hang

Hangs a web request using a simple node server
JavaScript
8
star
88

tetrisy

https://tetris.isthe.link
JavaScript
8
star
89

node-api-search

Quick (read: quick 'n dirty), inline Node API search tool
JavaScript
8
star
90

pstree

Cross platform ps-tree (including unix flavours without ps)
JavaScript
8
star
91

next-go-mummy

Oh Mummy clone in NextBASIC
JavaScript
8
star
92

brighton-buses

A simple site to get Brighton bus times and locations
JavaScript
7
star
93

jq-for-web-developers

jq for web developers series
JavaScript
7
star
94

eert

Takes tree text output and generates a directory structure
JavaScript
7
star
95

latest-tweet

Gets the latest tweet for a user
JavaScript
7
star
96

til

TIL
HTML
7
star
97

CordovaBin

Where PhoneGap and JS Bin made love, and it came out okay looking.
JavaScript
7
star
98

j4d-book

jQuery for Designers book examples
6
star
99

vectors

Dumping ground for my personal drawing utils
JavaScript
6
star
100

tentoring

Tentoring: mentoring in 10 minutes
JavaScript
6
star