{"id":28430457,"url":"https://github.com/hulloitskai/junior","last_synced_at":"2026-05-17T03:02:36.939Z","repository":{"id":113880028,"uuid":"151198729","full_name":"hulloitskai/junior","owner":"hulloitskai","description":"A fast, minimalist HTTP server for serving static content.","archived":false,"fork":false,"pushed_at":"2018-10-02T18:51:11.000Z","size":94,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-16T15:05:53.531Z","etag":null,"topics":["docker-image","go","golang","http-server","static-file-server"],"latest_commit_sha":null,"homepage":"","language":"Makefile","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/hulloitskai.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-02T04:11:03.000Z","updated_at":"2018-12-21T00:06:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"90aa4979-010a-458e-bba8-60f036b786f6","html_url":"https://github.com/hulloitskai/junior","commit_stats":null,"previous_names":["steven-xie/junior","stevenxie/junior"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/hulloitskai/junior","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hulloitskai%2Fjunior","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hulloitskai%2Fjunior/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hulloitskai%2Fjunior/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hulloitskai%2Fjunior/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hulloitskai","download_url":"https://codeload.github.com/hulloitskai/junior/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hulloitskai%2Fjunior/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32312196,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T19:15:34.056Z","status":"ssl_error","status_checked_at":"2026-04-26T19:15:15.467Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["docker-image","go","golang","http-server","static-file-server"],"created_at":"2025-06-05T14:07:09.572Z","updated_at":"2026-04-26T20:31:30.966Z","avatar_url":"https://github.com/hulloitskai.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# junior\n\n_A fast, minimalist HTTP server for serving static content._\n\n[![Travis CI: build status][travis-img]][travis]\n[![Go Report Card][grc-img]][grc]\n[![Docker Hub][docker-img]][docker]\n[![MicroBadger][mb-img]][mb]\n\n## Usage\n\n### Docker\n\n```bash\n## Run server listening on port 3000, serving locally from \"./local/www\".\ndk run stevenxie/junior -p 3000:80 -v ./local/www:/www/\n```\n\n### Standalone\n\nDownload executable from\n[releases](https://github.com/steven-xie/junior/releases), then run:\n\n```bash\n## Run HTTP server on port 4200, serving from \"/var/www\".\n./junior -p 4200 --root /var/www\n\n## For more details:\n./junior --help\n```\n\n## Implementation\n\n`junior` uses [`valyala/fasthttp`](https://github.com/valyala/fasthttp) behind\nthe scenes to give itself that extra edge, and is bootstrapped with\n[`urfave/cli`](https://github.com/urfave/cli).\n\nThe Docker image [`stevenxie/junior`][docker] features a version of `junior`\nautomatically built with [Travis](https://travis-ci.com) and compressed using\n[UPX](https://upx.github.io) to keep it extra light.\n\n## Purpose\n\nI made `junior` because I wanted a really fast, lightweight way of running\na static site behind the [`traefik`](https://traefik.io) reverse proxy.\n\nI had tried [`lighttpd`](https://www.lighttpd.net), but it proved to be\ndifficult to configure without trailing slashes, and although it was small, it\nstill felt too complicated and bloated for my use case.\n\nSo, I set out to build a custom solution, and this is the result of that:\n\n\u003cbr /\u003e\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./assets/screenshot.png\" width=\"300px\"\u003e\n\u003c/p\u003e\n\n[travis]: https://travis-ci.com/steven-xie/junior\n[travis-img]: https://travis-ci.com/steven-xie/junior.svg?branch=master\n[grc]: https://goreportcard.com/report/github.com/steven-xie/junior\n[grc-img]: https://goreportcard.com/badge/github.com/steven-xie/junior\n[mb]: https://microbadger.com/images/stevenxie/junior\n[mb-img]: https://images.microbadger.com/badges/image/stevenxie/junior.svg\n[docker]: https://hub.docker.com/r/stevenxie/junior\n[docker-img]: https://img.shields.io/docker/pulls/stevenxie/junior.svg\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhulloitskai%2Fjunior","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhulloitskai%2Fjunior","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhulloitskai%2Fjunior/lists"}