https://github.com/iliafrenkel/go-pb
Pastebin alternative written in Go
https://github.com/iliafrenkel/go-pb
golang learning-by-doing learning-go learning-golang pastebin self-hosted
Last synced: 4 months ago
JSON representation
Pastebin alternative written in Go
- Host: GitHub
- URL: https://github.com/iliafrenkel/go-pb
- Owner: iliafrenkel
- License: mit
- Created: 2021-06-13T02:08:18.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2026-01-13T15:16:50.000Z (5 months ago)
- Last Synced: 2026-01-13T18:09:49.593Z (5 months ago)
- Topics: golang, learning-by-doing, learning-go, learning-golang, pastebin, self-hosted
- Language: Go
- Homepage:
- Size: 1.05 MB
- Stars: 14
- Watchers: 2
- Forks: 2
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Contributing: docs/CONTRIBUTING.md
- License: LICENSE.txt
- Code of conduct: docs/CODE_OF_CONDUCT.md
- Codeowners: docs/CODEOWNERS
Awesome Lists containing this project
- awesome-starred - iliafrenkel/go-pb - Pastebin alternative written in Go (golang)
README
Go PB - Pastebin alternative, written in Go
[](./LICENSE.txt)
[](http://makeapullrequest.com)
[](./docs/CODE_OF_CONDUCT.md)

[](https://coveralls.io/github/iliafrenkel/go-pb?branch=main)
[](https://github.com/iliafrenkel/go-pb/actions/workflows/test.yml)
[](https://goreportcard.com/report/github.com/iliafrenkel/go-pb)
Go PB is paste service similar to [Pastebin](https://pastebin.com) that you can
host yourself. All it does is it allows you to share snippets of text with
others. You paste your text, press the "Paste" button and get a short URL that
you can share with anybody. This is the gist. But there is more!
⚠**Warning**: this project is very much a work in progress. A lot of changes are
made regularly, including breaking changes. This is not a usable product yet!

## Features
- ✔ Share text snippets.
- ✔ Syntax highlighting for over 250 languages.
- ✔ Burner pastes - paste will be deleted after the first read.
- ⏳ Set expiration time on a paste.
- ✔ Password protection.
- ✔ Paste anonymously, no need to login.
- ✔ Register and you will be able to see the list of pastes you created.
- ✔ Create private pastes. Once logged in, you can create pastes that no one can see.
- ⏳ Public API to create pastes from command line and 3rd party applications.
- ⏳ Admin interface to manage users, pastes and other settings.
✔ - already implemented,
⏳ - work in progress
---
You can see the progress in our [Roadmap](https://github.com/iliafrenkel/go-pb/projects/1).
If you'd like to contribute, please have a look at the [contribution guide](https://github.com/iliafrenkel/go-pb/blob/4d827459e11965778f8608b97936576bd81b55f6/docs/CONTRIBUTING.md).
As always, if you want to learn together, ask a question, offer help or get in
touch for any other reason, please don't hesitate to participate in
[Discussions](https://github.com/iliafrenkel/go-pb/discussions) or to contact
me directly at [frenkel.ilia@gmail.com](mailto:frenkel.ilia@gmail.com).