Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lukaszkorecki/pasta
Ephemeral (copy) pasta
https://github.com/lukaszkorecki/pasta
Last synced: 20 days ago
JSON representation
Ephemeral (copy) pasta
- Host: GitHub
- URL: https://github.com/lukaszkorecki/pasta
- Owner: lukaszkorecki
- License: other
- Created: 2014-01-26T13:44:39.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-26T16:50:50.000Z (almost 11 years ago)
- Last Synced: 2024-10-24T02:56:20.288Z (2 months ago)
- Size: 832 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Ephemeral (copy) pasta :spaghetti:
Quick and dirty pastebin in which all pastes expire after 5 minutes.
Not sure why.
### Building
`go install github.com/lukaszkorecki/pasta`
### Example
```bash
id=$(curl -X POST -d'body="lol"' localhost:3000/paste)
curl localhost:3000/$id # => lol
# wait 5 minutes
curl localhost:3000/$id # => Gone, 404
```# Licence
GPLv3