{"id":26692433,"url":"https://github.com/nonk123/vga9x16","last_synced_at":"2026-05-09T16:10:32.394Z","repository":{"id":284545334,"uuid":"955261314","full_name":"nonk123/vga9x16","owner":"nonk123","description":"An API for generating ASCII-art blobs","archived":false,"fork":false,"pushed_at":"2025-03-26T12:19:57.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T13:22:16.859Z","etag":null,"topics":["api","ascii","ascii-art","dwarf-fortress","png","rocket","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nonk123.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":"2025-03-26T11:14:46.000Z","updated_at":"2025-03-26T12:20:00.000Z","dependencies_parsed_at":"2025-03-26T13:22:26.088Z","dependency_job_id":"f4797feb-6932-4fa2-80d3-509253a3d03d","html_url":"https://github.com/nonk123/vga9x16","commit_stats":null,"previous_names":["nonk123/vga9x16"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nonk123%2Fvga9x16","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nonk123%2Fvga9x16/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nonk123%2Fvga9x16/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nonk123%2Fvga9x16/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nonk123","download_url":"https://codeload.github.com/nonk123/vga9x16/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245699263,"owners_count":20657987,"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":["api","ascii","ascii-art","dwarf-fortress","png","rocket","rust"],"created_at":"2025-03-26T17:20:07.526Z","updated_at":"2025-10-27T18:32:47.917Z","avatar_url":"https://github.com/nonk123.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vga9x16\n\n[See the live demo](https://vga9x16.ru).\n\nA simple HTTP API serving a very specific usecase:\n\n- You need a randomly generated blob of Dwarf Fortress styled ASCII-art.\n- It needs to be somewhat unique for each request.\n- It has to be in PNG format so you can use it as a CSS background.\n\n## Usage\n\nRun the development server with `cargo run`.\n\nFor deployment, use this sample `docker-compose.yml`; then point your reverse-proxy ([I recommend caddy](https://caddyserver.com/)) to `vga9x16:8000`:\n\n```yaml\nservices:\n  main:\n    container_name: vga9x16\n    image: ghcr.io/nonk123/vga9x16:release\n    restart: always\n    networks:\n      - add your reverse-proxy network here...\n```\n\nNavigate to `/` for an example background image usage. The `/png` route returns the sought-after ASCII-art blob. Pass `?transparent=true` for a transparent background instead of black.\n\n## Under the hood\n\nHere are some implementation details for the curious:\n\n- The ASCII-art PNG is updated every second. Two users reaching `/png` at around the same time will get duplicate blobs.\n- You can set `VGA9X16_PUBLIC=1` at build time to return [index.public.html](index.public.html) for the `/` route.\n\n## Attribution\n\nLinks to where the assets were borrowed from:\n\n- [9x16.png](https://dwarffortresswiki.org/index.php/Tileset_repository#9.C3.9716).\n- [favicon.avif](favicon.avif) - trimmed from [9x16.png](9x16.png) and reexported to AVIF.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnonk123%2Fvga9x16","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnonk123%2Fvga9x16","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnonk123%2Fvga9x16/lists"}