{"id":13622398,"url":"https://github.com/Erisa/starbin","last_synced_at":"2025-04-15T06:30:24.302Z","repository":{"id":50710660,"uuid":"489783231","full_name":"Erisa/starbin","owner":"Erisa","description":"A hastebin-compatible paste site running on Cloudflare Pages.","archived":false,"fork":true,"pushed_at":"2024-07-04T02:44:18.000Z","size":211,"stargazers_count":12,"open_issues_count":1,"forks_count":6,"subscribers_count":0,"default_branch":"stardust","last_synced_at":"2024-11-08T09:43:22.333Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://haste.erisa.uk","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"LostLuma/starbin","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Erisa.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}},"created_at":"2022-05-07T21:15:43.000Z","updated_at":"2024-07-04T02:44:22.000Z","dependencies_parsed_at":"2023-01-23T10:49:09.348Z","dependency_job_id":null,"html_url":"https://github.com/Erisa/starbin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erisa%2Fstarbin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erisa%2Fstarbin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erisa%2Fstarbin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erisa%2Fstarbin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Erisa","download_url":"https://codeload.github.com/Erisa/starbin/tar.gz/refs/heads/stardust","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249020568,"owners_count":21199581,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-08-01T21:01:18.646Z","updated_at":"2025-04-15T06:30:24.296Z","avatar_url":"https://github.com/Erisa.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Starbin\n\nA hastebin-compatible paste site running on Cloudflare Workers / Pages.\n\n# Deployment\n\nTo deploy as a Pages project you will need to follow these steps:\n\n- Fork this repo to an account where you can install GitHub Apps\n- Create an empty KV namespace to store pastes in on the Workers dashboard\n- Create a new Pages project using the Git integration and your forked repo\n  - Set an empty ``echo`` command as the build command - no actual build is performed\n  - Set the build output directory to ``/static/`` to allow Pages to find the website\n- Under the project's settings in the Functions tab set up a new KV namespace binding\n  - Set the variable name to ``STORAGE``, the namespace to the namespace from earlier\n- Under the project's Environment Variables settings set up the following variables:\n  - ``DOCUMENT_KEY_SIZE``: Number of digits to use for document URLs\n  - ``MAX_DOCUMENT_SIZE``: Maximum number of characters allowed per paste\n  - ``DOCUMENT_EXPIRE_TTL``: Number of seconds until documents expire\n\nAnd that's it! You may now set a custom domain if you'd like the site to be available outside of workers.dev\n\n# TODO\n\nI did not invest any time into creating my own frontend yet, all static\nassets are copied from the original [haste-server](https://github.com/seejohnrun/haste-server).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FErisa%2Fstarbin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FErisa%2Fstarbin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FErisa%2Fstarbin/lists"}