All Projects → pawelmalak → snippet-box

pawelmalak / snippet-box

Licence: MIT License
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.

Programming Languages

typescript
32286 projects
SCSS
7915 projects

Projects that are alternatives of or similar to snippet-box

Snippet2
A simple Code Snippet with user account and share feature
Stars: ✭ 20 (-95.42%)
Mutual labels:  snippets, self-hosted, snippets-library
30 Seconds Of React
Short React code snippets for all your development needs
Stars: ✭ 3,991 (+813.27%)
Mutual labels:  snippets, snippets-library
Snibox
Self-hosted snippet manager
Stars: ✭ 1,247 (+185.35%)
Mutual labels:  snippets, self-hosted
30 Seconds Of Php
Short PHP code snippets for all your development needs
Stars: ✭ 2,461 (+463.16%)
Mutual labels:  snippets, snippets-library
Java Design Patterns
Design patterns implemented in Java
Stars: ✭ 71,923 (+16358.35%)
Mutual labels:  snippets, snippets-library
ee-code-snippet-library
EE Code Snippet Library
Stars: ✭ 27 (-93.82%)
Mutual labels:  snippets, snippets-library
Masscode
A free and open source code snippets manager for developers.
Stars: ✭ 1,878 (+329.75%)
Mutual labels:  snippets, snippets-manager
30-seconds-of-python
Short Python code snippets for all your development needs
Stars: ✭ 8,452 (+1834.1%)
Mutual labels:  snippets, snippets-library
code-examples-manager
Software tool to manage your notes and code examples, to publish them as gists or snippets
Stars: ✭ 26 (-94.05%)
Mutual labels:  snippets, snippets-manager
macos-snippets
Snip is a lightweight snippets manager app for macOS
Stars: ✭ 238 (-45.54%)
Mutual labels:  snippets, snippets-manager
30-seconds-of-code-texteditorsnippets
Files to import the 30-seconds-of-code snippets into VSCode, Atom and Sublime.
Stars: ✭ 35 (-91.99%)
Mutual labels:  snippets, snippets-library
homepage
Custom Start/home page (multi LIVE search) with live animated weather and news ticker - written in HTML/JS. Minimal, self-hosted, and dope.
Stars: ✭ 35 (-91.99%)
Mutual labels:  self-hosted
java-design-patterns-web
Java Design Patterns website at https://java-design-patterns.com
Stars: ✭ 81 (-81.46%)
Mutual labels:  snippets
unitscss
UNITS is a simple and beautiful CSS component set.
Stars: ✭ 13 (-97.03%)
Mutual labels:  snippets
mobly-bundled-snippets
Snippets to allow Mobly tests to control Android devices by exposing a simplified Android API.
Stars: ✭ 25 (-94.28%)
Mutual labels:  snippets
ant-design-snippets
ant-design-snippets
Stars: ✭ 18 (-95.88%)
Mutual labels:  snippets
trailarr
A self hosted manager for movie and tv show trailers.
Stars: ✭ 13 (-97.03%)
Mutual labels:  self-hosted
matterless
Self-hosted serverless
Stars: ✭ 23 (-94.74%)
Mutual labels:  self-hosted
castopod-host
Castopod is an open-source hosting platform made for podcasters who want engage and interact with their audience. Synchronized read-only mirror of https://code.castopod.org/adaures/castopod
Stars: ✭ 81 (-81.46%)
Mutual labels:  self-hosted
snippets
VSCode extension which lets you manage your code snippets without quitting your editor.
Stars: ✭ 55 (-87.41%)
Mutual labels:  snippets-manager

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].