{"id":36454119,"url":"https://github.com/giucal/abserve","last_synced_at":"2026-01-11T23:01:06.317Z","repository":{"id":37786734,"uuid":"500094610","full_name":"giucal/abserve","owner":"giucal","description":"Serve a file from memory.","archived":false,"fork":false,"pushed_at":"2025-01-16T11:28:26.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-16T12:54:43.406Z","etag":null,"topics":["server"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/giucal.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}},"created_at":"2022-06-05T12:42:14.000Z","updated_at":"2025-01-16T11:28:28.000Z","dependencies_parsed_at":"2022-08-18T15:00:56.690Z","dependency_job_id":null,"html_url":"https://github.com/giucal/abserve","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/giucal/abserve","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giucal%2Fabserve","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giucal%2Fabserve/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giucal%2Fabserve/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giucal%2Fabserve/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/giucal","download_url":"https://codeload.github.com/giucal/abserve/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giucal%2Fabserve/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28326166,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T22:11:01.104Z","status":"ssl_error","status_checked_at":"2026-01-11T22:10:58.990Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["server"],"created_at":"2026-01-11T23:01:05.613Z","updated_at":"2026-01-11T23:01:06.294Z","avatar_url":"https://github.com/giucal.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [abserve(1)]\n\n[abserve(1)]: man.pod\n\nMinimal HTTP server that serves a *virtual* resource directly from\nmemory.\n\n    % echo '\u003cp\u003eHello, world!\u003c/p\u003e' | abserve /index.html \u0026\n    [1] 56382\n    % curl http://localhost:8080/index.html\n    \u003cp\u003eHello, world!\u003c/p\u003e\n\n## Overview\n\nThe resource is read either once and for all from standard input or, with the\n`--poll` option, repeatedly from a FIFO:\n\n    % mkfifo resource.fifo\n    % abserve --poll resource.fifo \u0026\n    [1] 56385\n    % echo A \u003e resource.fifo\n    % curl http://localhost:8080\n    A\n\nWriting to the FIFO causes abserve to update the resource:\n\n    % echo B \u003e resource.fifo      # update\n    % curl http://localhost:8080\n    B\n    % curl http://localhost:8080  # the resource is cached\n    B\n\nIt's also possible to serve *concrete* resources from a given\ndirectory. The virtual resource takes precedence over anything else.\n\n\u003cpre\u003e\u003ccode\u003e% ls\ncat.jpg   dog.jpg   index.html\n% cat index.html                            # index.html on disk\n\u0026lt;img src=\"dog.jpg\"\u0026gt;\n% echo '\u0026lt;img src=\"cat.jpg\"\u0026gt;' | abserve --directory . /index.html \u0026amp;\n[1] 56388\n% curl http://localhost:8080/index.html     # virtual index.html\n\u0026lt;img src=\"cat.jpg\"\u0026gt;\n% curl http://localhost:8080/cat.jpg | catimg\n\u003cimg alt=\"cat.jpg\"\n     src=\"https://gist.githubusercontent.com/giucal/282bf150c6001ae1028bcd92ac3f5f5c/raw/cat.jpg\"\n     title=\"Copyright 2006 Giuseppe Calabrese. All Rights Reserved.\"\n     height=100\u003e\n\u003c/code\u003e\u003c/pre\u003e\n\nEnough with cats. For details, see the [man page][abserve(1)].\n\n## Installation\n\n    go install github.com/giucal/abserve@latest\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiucal%2Fabserve","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgiucal%2Fabserve","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiucal%2Fabserve/lists"}