Snaggle is A Requestbin clone that collects, inspects and debugs HTTP requests and webhooks.
Snaggle generates a unique URL that can be used to collects and display webhook messages.
Clone of the basic functionality at v1.requestbin.net
View Snaggle's frontend: https://github.com/katarinarosiak/snaggl_frontend
Try Snaggle at: https://trysnaggl.corkboard.dev/
- Install dependencies:
$ npm install
- Start:
$ npm start
$ psql postgres
postgres=# CREATE DATABASE requestbin;
$ psql requestbin
requestbin=# \i ./sql/teardown.sql
requestbin=# \i ./sql/schema.sql
requestbin=# \i ./sql/test_data.sql
$ sudo -u postgres psql
postgres=# CREATE DATABASE requestbin;
$ psql requestbin
ORpostgres=# \c requestbin
requestbin=# \i ./sql/teardown.sql
requestbin=# \i ./sql/schema.sql
requestbin=# \i ./sql/test_data.sql
- full instructions
- create file in
/etc/nginx/sites-available
with domain - create symlink between ^ and
/etc/nginx/sites-enabled/requestbin.scttgrhm.dev
$ sudo ln -s /etc/nginx/sites-available/requestbin.scttgrhm.dev /etc/nginx/sites-enabled/
- obtain SSL certificate
$ sudo certbot --nginx -d requestbin.scttgrhm.dev -d www.requestbin.scttgrhm.dev
$ pm2 start index.js --name requestbin