{"id":21270373,"url":"https://github.com/amdzy/snippet-box","last_synced_at":"2026-01-12T06:32:40.579Z","repository":{"id":213121000,"uuid":"723462112","full_name":"amdzy/snippet-box","owner":"amdzy","description":"Snippetbox is a web-application, which lets people paste and share snippets of text — a bit like Pastebin or GitHub’s Gists.","archived":false,"fork":false,"pushed_at":"2024-04-09T13:57:10.000Z","size":105,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-02T15:46:36.494Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/amdzy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-11-25T18:39:03.000Z","updated_at":"2024-02-12T06:37:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"be1bf7e2-76da-423f-8343-47895bd9f059","html_url":"https://github.com/amdzy/snippet-box","commit_stats":null,"previous_names":["soul-remix/snippet-box","amdzy/snippet-box"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/amdzy/snippet-box","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amdzy%2Fsnippet-box","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amdzy%2Fsnippet-box/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amdzy%2Fsnippet-box/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amdzy%2Fsnippet-box/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amdzy","download_url":"https://codeload.github.com/amdzy/snippet-box/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amdzy%2Fsnippet-box/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28336316,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2024-11-21T08:17:15.210Z","updated_at":"2026-01-12T06:32:40.556Z","avatar_url":"https://github.com/amdzy.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Snippet box\n\nSnippetbox is a web-application, which lets people paste and share snippets of text — a bit like Pastebin or GitHub’s Gists.\n\n\n\u003cimg width=\"500\" src=\"./snippet-box.png\" /\u003e\n\n### Features\n\n- Authentication. Users can register and sign in.\n- Protected endpoints. Only signed-in users can create snippets.\n- RESTful routing.\n- Middleware.\n- MySQL database.\n- SSL/TLS web server using HTTP 2.0.\n- Generated HTML via Golang templates.\n- CRSF protection.\n\n### Development\n\nGenerate a self signed https certificate:\n```\n$ mkdir tls\n$ cd tls\n$ go run /usr/local/go/src/crypto/tls/generate_cert.go --rsa-bits=2048 --host=localhost\n```\n\nRun the app:\n```\ngo run cmd/web\n```\n\nStarts the local web server with HTTPS on port 4000 ([https://localhost:4000](https://localhost:4000))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famdzy%2Fsnippet-box","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famdzy%2Fsnippet-box","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famdzy%2Fsnippet-box/lists"}