{"id":44416979,"url":"https://github.com/asadbek064/bincode","last_synced_at":"2026-02-12T08:36:57.508Z","repository":{"id":273139898,"uuid":"918391526","full_name":"asadbek064/bincode","owner":"asadbek064","description":"A Complete Self-Hostable JSFiddle Alternative","archived":false,"fork":false,"pushed_at":"2025-11-13T21:38:14.000Z","size":3251,"stargazers_count":10,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-13T22:23:46.028Z","etag":null,"topics":["codesandbox","js-playground","jsbin-clone"],"latest_commit_sha":null,"homepage":"https://bincode.asadk.dev/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/asadbek064.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,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-01-17T20:46:30.000Z","updated_at":"2025-11-13T21:33:48.000Z","dependencies_parsed_at":"2025-03-02T16:27:58.582Z","dependency_job_id":"ff88a595-6d86-49b6-adba-89fd42591b41","html_url":"https://github.com/asadbek064/bincode","commit_stats":null,"previous_names":["asadbek064/bincode"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/asadbek064/bincode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asadbek064%2Fbincode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asadbek064%2Fbincode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asadbek064%2Fbincode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asadbek064%2Fbincode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asadbek064","download_url":"https://codeload.github.com/asadbek064/bincode/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asadbek064%2Fbincode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29361819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T01:03:07.613Z","status":"online","status_checked_at":"2026-02-12T02:00:06.911Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["codesandbox","js-playground","jsbin-clone"],"created_at":"2026-02-12T08:36:56.960Z","updated_at":"2026-02-12T08:36:57.503Z","avatar_url":"https://github.com/asadbek064.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [BinCode](https://bincode.asadk.dev) - A Complete Self-Hostable JSFiddle Alternative\n\n## Overview\nBinCode is a minimalist platform for managing and sharing code snippets, built with Vue.js and SQLite. It runs entirely on your own infrastructure, giving you full control over your data and workflow.\n\n### [DEMO](https://bincode.asadk.dev)\n### [Org-Repo](https://git.sheetjs.com/asadbek064/BinCode)\n\n## Key Features\n- **Self-Contained:** No external dependencies required.\n- **Modern Stack:** Vue.js frontend and SQLite database.\n- **JWT Authentication:** Secure, simple user management.\n- **Instant Sharing:** Generate unique URLs for snippets.\n- **Minimal Setup:** Create users manually to start sharing.\n- **Performance-Focused:** Lightweight and fast.\n\n## Architecture\n- **Frontend:** Vue.js\n- **Database:** SQLite\n- **Authentication:** JWT\n- **Deployment:** Single self-contained server.\n\nThere is no signups its by design just create users manually and they can start commit snippets to share\n\n## Why BinCode?\n\nBinCode is a lightweight, self-hostable tool for teams and individuals needing a simple, reliable solution for code sharing without relying on external services.\n\n## Design Choices\n- **No Signups:** Admins manually create user accounts for simplicity and security.\n- **Self-Hosted:** Ensures privacy and control over your data.\n\n\n## Contributing\nContributions are welcome, as long as the tool remains lightweight and self-contained.\n\n## Getting Started\n\n### 1. Clone and Install Dependencies\n\n```bash\ngit clone https://git.sheetjs.com/asadbek064/BinCode.git\ncd BinCode\npnpm install\n```\n\n### 2. Set Up Environment Variables\nCreate a .env file in the project root and define the following variables:\n```env\nNODE_ENV=development\nPORT=3000\nJWT_SECRET=your-secure-secret-here\nJWT_EXPIRES_IN=7d\n```\n\n### 3. Adding user \n\n```bash\nnode addUser.js \"user@email.com\" \"password\"\n```\n\n### 4. Development server\nBefore starting the development server, ensure you change the Vue.js library import from `_prod` to `_dev` in [`index.html`](https://git.sheetjs.com/asadbek064/BinCode/src/commit/3e35da0118e8e6b44863b3fee12c1e2dff96b02e/public/index.html#L129).\n\n```bash\npnpm dev\n```\n\n### 5. Production\nCopy .env.example to .env and generate unique secret and change NODE_ENV=production\n1. Copy .env.example to .env:\n```bash\ncp .env.example .env\n```\n\n2. Generate a unique secret and set NODE_ENV=production in the .env file.\n\n3. Start the production server\n```\npnpm start\n````\n\n\n### 5. Production\n- For development, using the `_dev` version of Vue.js (vue.global.js) is recommended as it includes debugging tools and warnings.\n\n- For production, switch to the `_prod` version (vue.global.prod.js) to optimize performance.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasadbek064%2Fbincode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasadbek064%2Fbincode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasadbek064%2Fbincode/lists"}