ByteStash

ByteStash

Self-hosted web app for storing and organizing code snippets

2.1kstars
102forks
Last commit: 8d ago
Repo age: 2y old
ByteStash screenshot

ByteStash is a self-hosted web application for storing, organizing, and managing code snippets in a central place. It provides a simple UI for creating, editing, and searching snippets, with data stored in a local database.

Key Features

  • Create, edit, and manage code snippets from a web interface
  • Filter and search snippets by programming language and content keywords
  • Secure snippet storage backed by a SQLite database
  • Optional authentication and configuration via environment variables (including JWT-based sessions)
  • API endpoints with built-in Swagger UI documentation
  • Docker-based deployment support (including docker-compose)

Use Cases

  • Personal or team snippet library for frequently reused code patterns
  • Centralized reference for scripts, commands, and configuration fragments
  • Lightweight internal tool for organizing language-specific examples

Limitations and Considerations

  • SQLite is optimized for lightweight and moderate concurrency; very high write concurrency may require careful usage patterns

ByteStash is a pragmatic choice for individuals or small teams that want a straightforward, self-hosted snippet vault. Its filtering/search and API documentation make it practical for both day-to-day browsing and basic integrations.

Categories:

Tags:

Tech Stack:

Share:

Similar Services

asciinema

asciinema

Command-line terminal session recorder and web player

16.9k
1k
Last commit: 8d ago

Open-source CLI for recording, replaying and live-streaming terminal sessions using lightweight asciicast files and an embeddable web player.

Alternative to:
Screen Studio
Screen Studio
+1
PrivateBin

PrivateBin

Zero-knowledge encrypted pastebin with browser-side AES encryption

8k
962
Last commit: 14h ago

PrivateBin is a minimalist zero-knowledge pastebin that encrypts and decrypts pastes in the browser, with optional passwords, expiration, discussions, and file uploads.

Alternative to:
Pastebin
Pastebin
+5
MicroBin

MicroBin

Secure pastebin for text and file sharing with URL shortening

4.1k
265
Last commit: 2d ago

MicroBin is a lightweight, secure pastebin for sharing text, files, and short URLs with optional encryption, expiration controls, and raw file serving.

Alternative to:
Pastebin
Pastebin
+17
Opengist

Opengist

Self-hosted Git-backed pastebin and Gist-compatible code snippet manager

3k
156
Last commit: 8h ago

Self-hosted pastebin powered by Git. Create, share and manage public, unlisted or private code snippets with syntax highlighting, Git push/pull, OAuth logins and Docker/H...

Alternative to:
Pastebin
Pastebin
+6
Onetime Secret

Onetime Secret

Self-destructing service for sharing single-use encrypted secrets

2.7k
427
Last commit: 13h ago

Open-source web and API service to create encrypted, single-view links for sharing secrets with configurable expiry and optional passphrase protection.

Alternative to:
Onetime Secret
Onetime Secret
+6
Enclosed

Enclosed

Minimal app for sharing end-to-end encrypted notes and files

1.9k
158
Last commit: 7mo ago

Self-hostable, end-to-end encrypted note and file sharing with zero-knowledge storage, optional passwords, expiration (TTL), and delete-after-reading links.

Alternative to:
Privnote
Privnote
+13