{"id":13496058,"url":"https://github.com/pawelmalak/snippet-box","last_synced_at":"2026-02-14T08:35:46.540Z","repository":{"id":38043893,"uuid":"407871357","full_name":"pawelmalak/snippet-box","owner":"pawelmalak","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.","archived":false,"fork":false,"pushed_at":"2023-04-05T17:41:54.000Z","size":1138,"stargazers_count":1009,"open_issues_count":40,"forks_count":80,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-28T17:41:52.430Z","etag":null,"topics":["self-hosted","snippets","snippets-library","snippets-manager"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pawelmalak.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-09-18T13:43:15.000Z","updated_at":"2025-03-26T16:53:25.000Z","dependencies_parsed_at":"2024-01-14T04:40:09.162Z","dependency_job_id":"5986f47c-ce1a-4aff-b538-33089ec5ffb8","html_url":"https://github.com/pawelmalak/snippet-box","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pawelmalak/snippet-box","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawelmalak%2Fsnippet-box","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawelmalak%2Fsnippet-box/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawelmalak%2Fsnippet-box/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawelmalak%2Fsnippet-box/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pawelmalak","download_url":"https://codeload.github.com/pawelmalak/snippet-box/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawelmalak%2Fsnippet-box/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29440585,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T07:24:13.446Z","status":"ssl_error","status_checked_at":"2026-02-14T07:23:58.969Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["self-hosted","snippets","snippets-library","snippets-manager"],"created_at":"2024-07-31T19:01:41.634Z","updated_at":"2026-02-14T08:35:46.518Z","avatar_url":"https://github.com/pawelmalak.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","Software","self-hosted"],"sub_categories":["Pastebins"],"readme":"# Snippet Box\n\n![Snippet library screenshot](./.github/img/snippets.png)\n\n## Description\n\nSnippet 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.\n\n## Technology\n\n- Backend\n  - Node.js\n  - Typescript\n  - Express.js\n  - Sequelize ORM + SQLite\n- Frontend\n  - React\n  - TypeScript\n  - Bootstrap\n- Deployment\n  - Docker\n\n## Development\n\n```sh\n# clone repository\ngit clone https://github.com/pawelmalak/snippet-box\ncd snippet-box\n\n# install dependencies (run only once)\nnpm run init\n\n# start backend and frontend development servers\nnpm run dev\n```\n\n## Installation\n\n### With Docker\n\n#### Docker Hub\n\n[Docker Hub image link](https://hub.docker.com/r/pawelmalak/snippet-box).\nFor arm platforms use `:arm` tag.\n\n#### Building image\n\n```sh\n# Building image for Linux\ndocker build -t snippet-box .\n\n# Build image for ARM\ndocker buildx build \\\n  --platform linux/arm/v7,linux/arm64 \\\n  -f Dockerfile.arm \\\n  -t snippet-box:arm .\n```\n\n#### Deployment\n\n```sh\n# run container\n# for ARM use snippet-box:arm tag\ndocker run -p 5000:5000 -v /path/to/data:/app/data snippet-box\n```\n\n#### Docker Compose\n\n```yaml\nversion: '3'\nservices:\n  snippet-box:\n    image: pawelmalak/snippet-box:latest\n    container_name: snippet-box\n    volumes:\n      - /path/to/host/data:/app/data\n    ports:\n      - 5000:5000\n    restart: unless-stopped\n```\n\n### Without Docker\n\nFollow instructions from wiki - [Installation without Docker](https://github.com/pawelmalak/snippet-box/wiki/Installation-without-Docker)\n\n## Functionality\n\n- Search\n  - Search your snippets with built-in tags and language filters\n- Pinned snippets\n  - Pin your favorite / important snippets to home screen for easy and quick access\n\n![Homescreen screenshot](./.github/img/home.png)\n\n- Snippet library\n  - Manage your snippets through snippet library\n  - Easily filter and access your code using tags\n\n![Snippet library screenshot](./.github/img/snippets.png)\n\n- Snippet\n  - View your code, snippet details and documentation\n  - Built-in syntax highlighting\n  - Easily perform snippet actions like edit, pin or delete from a single place\n\n![Snippet screenshot](./.github/img/snippet.png)\n\n- Editor\n  - Create and edit your snippets from simple and easy to use editor\n\n![Editor screenshot](./.github/img/editor.png)\n\n## Usage\n\n### Search functionality\n\nVisit wiki for search functionality and available filters reference: [Search functionality](https://github.com/pawelmalak/snippet-box/wiki/Search-functionality)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpawelmalak%2Fsnippet-box","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpawelmalak%2Fsnippet-box","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpawelmalak%2Fsnippet-box/lists"}