{"id":15713986,"url":"https://github.com/hashnuke/heroku-buildpack-zero","last_synced_at":"2025-03-30T19:24:57.693Z","repository":{"id":15894557,"uuid":"18635895","full_name":"HashNuke/heroku-buildpack-zero","owner":"HashNuke","description":"My attempt at writing the smallest buildpack (112 chars)","archived":false,"fork":false,"pushed_at":"2014-04-10T12:53:27.000Z","size":132,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-05T21:58:39.688Z","etag":null,"topics":["heroku-buildpack"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HashNuke.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-04-10T12:39:31.000Z","updated_at":"2014-04-10T12:53:27.000Z","dependencies_parsed_at":"2022-09-24T05:21:17.188Z","dependency_job_id":null,"html_url":"https://github.com/HashNuke/heroku-buildpack-zero","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/HashNuke%2Fheroku-buildpack-zero","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HashNuke%2Fheroku-buildpack-zero/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HashNuke%2Fheroku-buildpack-zero/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HashNuke%2Fheroku-buildpack-zero/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HashNuke","download_url":"https://codeload.github.com/HashNuke/heroku-buildpack-zero/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246367178,"owners_count":20765836,"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":["heroku-buildpack"],"created_at":"2024-10-03T21:34:25.527Z","updated_at":"2025-03-30T19:24:57.654Z","avatar_url":"https://github.com/HashNuke.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Heroku Buildpack Zero (for static sites)\n\nMy attempt at writing the smallest buildpack. The goal was to stay within the 150 chars limit. The whole buildpack is 112 characters. And it [fits in a tweet](https://twitter.com/HashNuke/status/454238654446043136).\n\nI also [tweeted](https://twitter.com/HashNuke/status/454239536642400257) about it.\n\n```\n$ wc -m bin/*\n       0 bin/compile\n      21 bin/detect\n      91 bin/release\n     112 total\n```\n\nThis uses a single threaded web server. I'm trying very hard to crack a joke. Please do not host anything serious with this buildpack :)\n\n\n## Usage\n\n#### Create a Heroku app with this buildpack\n\n```\nheroku create --buildpack \"https://github.com/HashNuke/heroku-buildpack-zero.git\"\n```\n\n#### Set the buildpack of an existing Heroku app\n\n```\nheroku config:add BUILDPACK_URL=\"https://github.com/HashNuke/heroku-buildpack-zero.git\"\n```\n\n\n## Notes\n\n#### Other stuff I tried to do to fit in 150 chars\n\nI wrote the following, which writes a buildpack on your local workstation (creating a repo for the buildpack was left to the user). But it was 152 chars. 2 extra.\n  \n```\nmkdir bin;cd bin;echo 'echo 0'\u003edetect;touch compile;printf -- \"printf -- '---\\\\ndefault_process_types:\\\\n  web:python -m SimpleHTTPServer \\\\$PORT'\"\u003erelease\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashnuke%2Fheroku-buildpack-zero","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhashnuke%2Fheroku-buildpack-zero","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashnuke%2Fheroku-buildpack-zero/lists"}