{"id":20815990,"url":"https://github.com/orewaee/bytebin","last_synced_at":"2026-04-10T02:04:10.368Z","repository":{"id":238907493,"uuid":"793231759","full_name":"orewaee/bytebin","owner":"orewaee","description":"An app that temporarily stores data as byte arrays","archived":false,"fork":false,"pushed_at":"2024-10-18T19:31:42.000Z","size":55,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-18T15:51:53.541Z","etag":null,"topics":["bytebin","docker","docker-compose","golang","temporal-data"],"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/orewaee.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}},"created_at":"2024-04-28T19:32:31.000Z","updated_at":"2024-10-18T19:31:43.000Z","dependencies_parsed_at":"2024-05-08T20:26:01.957Z","dependency_job_id":"4bb60f3b-3a12-43ea-a35f-9f17cc37282c","html_url":"https://github.com/orewaee/bytebin","commit_stats":null,"previous_names":["orewaee/bytebin"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orewaee%2Fbytebin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orewaee%2Fbytebin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orewaee%2Fbytebin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orewaee%2Fbytebin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orewaee","download_url":"https://codeload.github.com/orewaee/bytebin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243163746,"owners_count":20246582,"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":["bytebin","docker","docker-compose","golang","temporal-data"],"created_at":"2024-11-17T21:27:23.471Z","updated_at":"2025-12-25T02:49:56.553Z","avatar_url":"https://github.com/orewaee.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## About\n\nAn application that temporarily stores data as byte arrays.\n\nAll data is stored as a byte array.\nTo store additional information about bin, json meta-files are used.\nThe application implements a mechanism to clean up files with expired lifetime or missing bin/meta part.\n\n\n## Usage\n\nTo work with the app, you can use the following endpoints:\n\n- `POST /bin` - create a bin.\n  The body should contain the binary data that will be saved.\n  It is also important to specify the `Content-Type` header.\n  If it is not specified, bytebin will try to determine it automatically.\n  If this is not possible, `application/octet-stream` will be used.\n  A unique id will be returned as a response.\n\n- `GET /bin/{id}` - get bin by id.\n  The response will be returned as a byte array and a `Content-Type` header associated with this bin.\n\n\n## Installation\n\n### Docker\n\nWe suggest you deploy your own bytebin using Docker.\n\nThe first step is to clone the project:\n\n```bash\ngit clone https://github.com/orewaee/bytebin.git\ncd bytebin\n```\n\nAfter downloading, take a look at the `deploy/compose.yaml` file.\nYou can customize the Docker Compose config to your liking, or you can start running it right away.\n\nTo run bytebin use the following command:\n\n```bash\ndocker compose -f ./deploy/compose.yaml -p bytebin up -d\n```\n\nOr a `sh` script:\n\n```bash\nsh scripts/compose.sh\n```\n\n### Binary\n\nThis variant requires pre-building the project for your system.\n\nTo do this, as with Docker, you must clone the repository and navigate to the project directory.\nAfter that, you need to build the project into a single binary using the command below:\n\n```bash\ngo build -o bytebin -v cmd/bytebin/main.go\n```\n\nIf necessary, change the `GOOS` environment variable to get a binary that is compatible with your system.\n\nYou can then use the `config/example.yaml` configuration file to configure bytebin.\nIf no configuration file is specified at startup, environment variables will be used.\n\nThe startup command:\n\n```bash\n./bytebin --config=config/example.yaml\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forewaee%2Fbytebin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forewaee%2Fbytebin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forewaee%2Fbytebin/lists"}