# Hastebin

Hastebin is an open-source pastebin web service written in Node.js that lets you share text snippets as short, shareable URLs. It is open source and self-hosted, installable on Docker Hub and Unraid.

Canonical page: https://ourlocalhost.com/app/1588/hastebin

## Description

Hastebin is an open-source pastebin web service written in Node.js that lets you share text snippets as short, shareable URLs. It stores pastes in Redis or a local filesystem and is built to be lightweight and simple to self-host for personal or team use.

## Platform availability

Available on 1 of 10 platforms: Unraid.

## Health score

8/100 (Low), based on 3 of 4 factors.
- Maintained: 0 (last commit 2091 days ago)
- Popular: 0 (0 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)

## Links

- Official website: https://hastebin.com/about.md
- GitHub: https://github.com/nzzane/haste-server
- Docker Hub: https://hub.docker.com/r/flippinturt/hastebin
- Unraid: https://ca.unraid.net/apps/hastebin-0vygvt71yjvfn3?q=hastebin

## Common questions

### What port does Hastebin listen on by default?

It listens on port 7777 by default, and the host default is localhost.

### Where are pastes stored when using file storage?

File storage keeps pastes in the configured path, with ./data as the default.

### Can pastes expire automatically?

File storage does not support paste expiration, but Redis storage can be configured with an expire option in seconds.

### Can I enable rate limiting?

Yes, adding a rateLimits option to config.js enables built-in rate limiting using connect-ratelimit options.

### Can I use a command-line client with a self-hosted Hastebin?

Yes, it works with haste-client, for example by piping cat output to haste to get a shareable URL.

---
Source: Our Local Host (https://ourlocalhost.com/app/1588/hastebin), the self-hosted and open-source app directory.
