https://github.com/abhi-g80/chipku
A simple pastebin in Golang
https://github.com/abhi-g80/chipku
golang pastebin pastebin-service
Last synced: 7 months ago
JSON representation
A simple pastebin in Golang
- Host: GitHub
- URL: https://github.com/abhi-g80/chipku
- Owner: abhi-g80
- License: mit
- Created: 2021-08-24T19:09:50.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-08-07T06:31:20.000Z (12 months ago)
- Last Synced: 2025-08-07T08:29:12.828Z (12 months ago)
- Topics: golang, pastebin, pastebin-service
- Language: Go
- Homepage:
- Size: 900 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README


[](https://goreportcard.com/report/github.com/abhi-g80/chipku)
Chipku - a no frill pastebin 🗑️
==============================
Pastebin in Golang.
This is an in-memory paste bin which tries to be extremely minimal and doesn't get in the way. Simply a tool to quickly share snippets. No backend databases, no code formatting or code commenting, no self-destructing messages.
If you restart the application, you **will lose** your snippets.
Installation
------------
You may download the standalone binary from the [releases](https://github.com/abhi-g80/chipku/releases) section and run it as,
./chipku serve
By default the binary starts listening on port `8080`. To change this, please set the port using `--port` flag.
./chipku serve --port=8081
Or you may download the project and build (or run) from source,
go build -o chipku && ./chipku serve
# or
go install && chipku serve
Usage
-----
Simply visit the homepage and paste your text that you would like to share.
Or you can simply use command-line to `PUT` your text, using `httpie`

To get your snippet in command-line, set the `X-No-Html` HTTP header,

Development
------------
To run tests, use
make test
Building the docker image and running it using docker-compose (serves over port 8090)
make up
Checking the logs
```bash
docker compose logs # or docker-compose logs
```

Structured logs for easy parsing in tools like Datadog.
For linting and local builds
make lint
make build
Credits
-------
This app was inspired by [bin](https://github.com/w4/bin), a pastebin in rust.