Snippet Box logo

Snippet Box

  •  0 ratings
In category: Pastebins

About Snippet Box

Snippet Box is a simple self-hosted app for organizing your code snippets. It allows you to easily create, edit, browse and manage your snippets in various languages.

  •   754  
  •   0  
  •   0  
  •   0  
Github stats:
  •  Commits: N/A  
  •   N/A  
  •   N/A  
  •  Latest commit: N/A  

Self-host this app for $0.99/mo only!

Languages/Platforms/Technologies:
Lincenses:

More about Snippet Box

Snippet Box

Snippet library screenshot

Description

Snippet Box is a simple self-hosted app for organizing your code snippets. It allows you to easily create, edit, browse and manage your snippets in various languages. With built-in Markdown support, Snippet Box makes it very easy to add notes or simple documentation to your code.

Technology

  • Backend
  • Node.js
  • Typescript
  • Express.js
  • Sequelize ORM + SQLite
  • Frontend
  • React
  • TypeScript
  • Bootstrap
  • Deployment
  • Docker

Development

# clone repository
git clone https://github.com/pawelmalak/snippet-box
cd snippet-box

# install dependencies (run only once)
npm run init

# start backend and frontend development servers
npm run dev

Installation

With Docker

Docker Hub

Docker Hub image link. For arm platforms use :arm tag.

Building image

# Building image for Linux
docker build -t snippet-box .

# Build image for ARM
docker buildx build \
  --platform linux/arm/v7,linux/arm64 \
  -f Dockerfile.arm \
  -t snippet-box:arm .

Deployment

# run container
# for ARM use snippet-box:arm tag
docker run -p 5000:5000 -v /path/to/data:/app/data snippet-box

Docker Compose

version: '3'
services:
  snippet-box:
    image: pawelmalak/snippet-box:latest
    container_name: snippet-box
    volumes:
      - /path/to/host/data:/app/data
    ports:
      - 5000:5000
    restart: unless-stopped

Without Docker

Follow instructions from wiki - Installation without Docker

Functionality

  • Search
  • Search your snippets with built-in tags and language filters
  • Pinned snippets
  • Pin your favorite / important snippets to home screen for easy and quick access

Homescreen screenshot

  • Snippet library
  • Manage your snippets through snippet library
  • Easily filter and access your code using tags

Snippet library screenshot

  • Snippet
  • View your code, snippet details and documentation
  • Built-in syntax highlighting
  • Easily perform snippet actions like edit, pin or delete from a single place

Snippet screenshot

  • Editor
  • Create and edit your snippets from simple and easy to use editor

Editor screenshot

Usage

Search functionality

Visit wiki for search functionality and available filters reference: Search functionality

Comments (0)

Please login to join the discussion on this project.

Snippet Box Reviews (0)

Overall Rating

None

based on 0 ratings

Please login to review this project.

No reviews for this project yet.

↑ back to top

RackNerd Medium Rectangle Banner

Popular Projects

FluxBB

in Social Networks and Forums
 45k    0    0    0  

Nextcloud

in File Transfer & Synchronization
 36k    1    1    0  

Dashboard

in Personal Dashboards
 14k    0    0    0  

Libre Translate

in Miscellaneous
 14k    0    0    0  

Libreddit

in Social Networks and Forums
 12k    0    1    0  

Audiobookshelf

in Audio Streaming
 12k    0    1    0  

Mediagoblin

in Photo and Video Galleries
 10k    0    0    0  

Most Discussed

Nextcloud

in File Transfer & Synchronization
 36k    1    1    0  

Tube Archivist

in Automation
 6k    0    1    0  

OneDev

in Project Management
 4k    0    0    0  

iodine

in Proxy
 4k    0    0    0  

Alf.io

in Booking and Scheduling
 4k    0    0    0  

sysPass

in Password Managers
 2k    0    0    0  

Misskey

in Social Networks and Forums
 4k    0    0    0  
pCloud Lifetime

Top Rated Projects

Gitea

 1 rating
in Project Management

Bagisto

 1 rating
in E-commerce

LinkAce

 1 rating
in Bookmarks and Link Sharing

Pydio

 1 rating
in File Transfer & Synchronization

Audiobookshelf

 1 rating
in Audio Streaming

Nextcloud

 1 rating
in File Transfer & Synchronization

Seafile

 1 rating
in File Transfer & Synchronization

Categories

You May Also Be Interested In

Sup3rS3cretMes5age logo
Sup3rS3cretMes5age cover

Sup3rS3cretMes5age

Very simple (to deploy and to use) secret message service u…

Hasty Paste logo
Hasty Paste cover

Hasty Paste

A place to quickly paste some text and share it. Mostly use…

wantguns/bin logo
wantguns/bin cover

wantguns/bin

Minimal pastebin for both textual and binary files shipped …