{"id":13587167,"url":"https://github.com/w4/bin","last_synced_at":"2025-05-15T15:09:14.388Z","repository":{"id":39260390,"uuid":"170029673","full_name":"w4/bin","owner":"w4","description":":wastebasket: a paste bin.","archived":false,"fork":false,"pushed_at":"2024-10-29T17:22:37.000Z","size":229,"stargazers_count":507,"open_issues_count":23,"forks_count":47,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-31T21:43:43.254Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/w4.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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":"2019-02-10T21:31:36.000Z","updated_at":"2025-03-30T07:19:37.000Z","dependencies_parsed_at":"2023-12-24T09:19:25.981Z","dependency_job_id":"73dc1ae8-9add-42c4-a5f4-bac1766f1053","html_url":"https://github.com/w4/bin","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w4%2Fbin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w4%2Fbin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w4%2Fbin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w4%2Fbin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/w4","download_url":"https://codeload.github.com/w4/bin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247737771,"owners_count":20987718,"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-01T15:06:03.604Z","updated_at":"2025-04-07T22:03:57.574Z","avatar_url":"https://github.com/w4.png","language":"Rust","funding_links":[],"categories":["Install from Source","Rust","Software","Pastebins"],"sub_categories":["Pastebins","Video Streaming"],"readme":"# bin\na paste bin.\n\nA paste bin that's actually minimalist. No database requirement, no commenting functionality, no self-destructing or time bomb messages and no social media integration—just an application to quickly send snippets of text to people.\n\n[bin](https://bin.gy/) is written in Rust in around 300 lines of code. It's fast, it's simple, there's code highlighting and you can ⌘+A without going to the 'plain' page. It's revolutionary in the paste bin industry, disrupting markets and pushing boundaries never seen before.\n\n##### so how do you get bin?\n\nDownload the latest version from the [releases](https://github.com/w4/bin/releases) page, extract it and run the `./bin` executable. You can also compile it from source using Cargo if you swing that way:\n\n```bash\n# nix-shell provides an environment with rust/cargo installed\n$ nix-shell\n\n[nix-shell:~/Code/bin]$ cargo build --release\n   Compiling bin v1.0.0 (/Users/jordanjd/Code/bin)\n    Finished release [optimized] target(s) in 3.61s\n\n[nix-shell:~/Code/bin]$ ./target/release/bin\n    ...\n```\n\n##### how do you run it?\n\n```bash\n$ ./bin\n```\n\n##### funny, what settings are there?\n\n```\n$ ./bin\n\nUsage: bin [\u003cbind_addr\u003e] [--buffer-size \u003cbuffer-size\u003e] [--max-paste-size \u003cmax-paste-size\u003e]\n\na pastebin.\n\nPositional Arguments:\n  bind_addr         socket address to bind to (default: 127.0.0.1:8820)\n\nOptions:\n  --buffer-size     maximum amount of pastes to store before rotating (default:\n                    1000)\n  --max-paste-size  maximum paste size in bytes (default. 32kB)\n  --help            display usage information\n```\n\n##### is there curl support?\n\n```bash\n$ curl -X PUT --data 'hello world' https://bin.gy\nhttps://bin.gy/cateettary\n$ curl https://bin.gy/cateettary\nhello world\n```\n\n##### how does syntax highlighting work?\n\nTo get syntax highlighting you need to add the file extension at the end of your paste URL.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fw4%2Fbin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fw4%2Fbin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fw4%2Fbin/lists"}