{"id":15058756,"url":"https://github.com/fedikit/aoba","last_synced_at":"2026-01-02T21:32:38.023Z","repository":{"id":207596076,"uuid":"719634626","full_name":"fedikit/aoba","owner":"fedikit","description":"🍃 Fediverse Integration for Lume \u0026 Hono.","archived":false,"fork":false,"pushed_at":"2024-02-06T14:21:23.000Z","size":37,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-22T02:46:05.494Z","etag":null,"topics":["activitypub","deno","fedikit","fediverse","host-meta","nodeinfo","webfinger"],"latest_commit_sha":null,"homepage":"https://deno.land/x/aoba","language":"TypeScript","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/fedikit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2023-11-16T15:26:53.000Z","updated_at":"2024-06-18T23:03:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"32d3118a-c2bc-43fa-8b92-f6476cf973b6","html_url":"https://github.com/fedikit/aoba","commit_stats":null,"previous_names":["fedikit/aoba"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedikit%2Faoba","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedikit%2Faoba/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedikit%2Faoba/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedikit%2Faoba/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fedikit","download_url":"https://codeload.github.com/fedikit/aoba/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243707382,"owners_count":20334619,"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":["activitypub","deno","fedikit","fediverse","host-meta","nodeinfo","webfinger"],"created_at":"2024-09-24T22:29:24.380Z","updated_at":"2026-01-02T21:32:37.984Z","avatar_url":"https://github.com/fedikit.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Aoba\n\n[![deno.land/x/aoba](https://shield.deno.dev/x/aoba)](https://deno.land/x/aoba)\n![deno compatibility](https://shield.deno.dev/deno/^1.38)\n\n🍃 Fediverse Integration for Lume \u0026 Hono.\n\n\u003c!-- ```bash\ndeno run -r https://deno.land/x/fedikit/scripts/generate_key.ts\n``` --\u003e\n\n## Setup\n\nAdd Aoba to your `deno.json` or `import_map.json` (replace `{{version}}` with\nthe current version):\n\n```json\n{\n  \"imports\": {\n    \"aoba/\": \"https://deno.land/x/aoba@v{{version}}/\"\n  }\n}\n```\n\n## [Lume Integration](/lume/)\n\n### [NodeInfo](/lume/plugins/nodeinfo.ts)\n\nSet up static nodeinfo for your site.\n\n```ts\nimport nodeinfo from 'aoba/lume/plugins/nodeinfo.ts'\nsite.use(nodeinfo())\n```\n\n### [Webfinger](/lume/plugins/webfinger.ts)\n\nSet up static webfinger for your site.\n\n```ts\nimport webfinger from 'aoba/lume/plugins/webfinger.ts'\nsite.use(webfinger())\n```\n\n### [Headers](/lume/plugins/headers.ts)\n\nSet up `_headers` file for your site. (Netlify and Cloudflare Pages)\n\n```ts\nimport headers from 'aoba/lume/plugins/headers.ts'\nsite.use(headers())\n```\n\n### [Redirects](/lume/plugins/redirects.ts)\n\nSet up `_redirects` file for your site. (Netlify and Cloudflare Pages)\n\n```ts\nimport redirects from 'aoba/lume/plugins/redirects.ts'\nsite.use(redirects())\n```\n\n\u003c!-- ## [Hono Integration](/hono/) --\u003e\n\n## Hatsu Integration\n\n\u003e Hatsu Integration is consistent with the latest version of Hatsu, so it does\n\u003e not follow semver.\n\nFor [Hatsu](https://github.com/importantimport/hatsu) users.\n\n### [Lume Plugin](/lume/plugins/hatsu.ts)\n\nCopy the `.well-known/*` file from the Hatsu instance and set the link alternate\nfor matched page.\n\n```ts\nimport hatsuPlugin from 'aoba/lume/plugins/hatsu.ts'\nsite.use(\n  hatsuPlugin({\n    instance: new URL('https://hatsu.local'),\n  }),\n)\n```\n\n### [Lume Server Middleware](/lume/middlewares/hatsu.ts)\n\nRedirecting `.well-known/*` and `activity+json` requests.\n\n```ts\nimport hatsuMiddleware from 'aoba/lume/middlewares/hatsu.ts'\nserver.use(\n  hatsuMiddleware({\n    instance: new URL('https://hatsu.local'),\n    location: site.options.location,\n  }),\n)\n```\n\n### [Hono Server Middleware](/hono/middlewares/hatsu.ts)\n\nRedirecting `.well-known/*` and `activity+json` requests.\n\n```ts\nimport { hatsuObject, hatsuWellKnown } from 'aoba/hono/middlewares/hatsu.ts'\nconst instance = new URL('https://hatsu.local')\napp.use('/.well-known/*', hatsuWellKnown({ instance }))\napp.use('/posts/*', hatsuObject({ instance }))\n```\n\n## License\n\nLicensed under [MIT](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffedikit%2Faoba","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffedikit%2Faoba","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffedikit%2Faoba/lists"}