{"id":27452172,"url":"https://github.com/emperor42/veni","last_synced_at":"2026-04-19T13:32:45.052Z","repository":{"id":248439733,"uuid":"650206894","full_name":"emperor42/veni","owner":"emperor42","description":"Veni (Latin for \"I come\") is a lightweight, zero-dependency Go middleware designed to automatically discover and inject vanilla JavaScript web components into HTML templates served via the standard net/http FileServer.","archived":false,"fork":false,"pushed_at":"2026-03-26T18:04:26.000Z","size":73,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-27T07:42:31.843Z","etag":null,"topics":["componets","foss","javascript","web"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emperor42.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-06-06T15:12:42.000Z","updated_at":"2026-03-26T18:21:00.000Z","dependencies_parsed_at":"2025-04-15T11:51:35.651Z","dependency_job_id":null,"html_url":"https://github.com/emperor42/veni","commit_stats":null,"previous_names":["emperor42/veni"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/emperor42/veni","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emperor42%2Fveni","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emperor42%2Fveni/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emperor42%2Fveni/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emperor42%2Fveni/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emperor42","download_url":"https://codeload.github.com/emperor42/veni/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emperor42%2Fveni/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32009136,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["componets","foss","javascript","web"],"created_at":"2025-04-15T11:41:26.704Z","updated_at":"2026-04-19T13:32:45.030Z","avatar_url":"https://github.com/emperor42.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VENI\n\n**Veni** (Latin for \"I come\") is a lightweight, zero-dependency Go middleware designed to automatically discover and inject vanilla JavaScript web components into HTML templates served via the standard `net/http` FileServer.\n\nBuilt strictly with the Go standard library, VENI bridges the gap between static XML/HTML templates and dynamic web components without requiring a build step or external templating engine.\n\n## Features\n\n- **Zero Dependencies**: Uses only `net/http`, `os`, `path/filepath`, and `regexp`.\n- **Automatic Discovery**: Scans a designated directory for `.js` files and registers custom elements.\n- **Smart Injection**: Detects custom element usage in templates and injects the necessary `\u003cscript\u003e` tags before `\u003c/head\u003e` or `\u003c/body\u003e`.\n- **Composable**: Designed to be layered with other middlewares (e.g., VIDI for data, VICI for context).\n- **Standard Library Only**: No external imports.\n\n## Installation\n\n```bash\ngo get github.com/Emperor42/veni","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femperor42%2Fveni","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femperor42%2Fveni","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femperor42%2Fveni/lists"}