{"id":26178422,"url":"https://github.com/aspizu/astro-gemtext","last_synced_at":"2026-04-29T05:02:39.129Z","repository":{"id":281555610,"uuid":"945632906","full_name":"aspizu/astro-gemtext","owner":"aspizu","description":"gemtext integration for Astro","archived":false,"fork":false,"pushed_at":"2025-03-09T22:15:05.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-09T22:25:55.321Z","etag":null,"topics":["astro","gemini-protocol"],"latest_commit_sha":null,"homepage":"","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/aspizu.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}},"created_at":"2025-03-09T21:28:15.000Z","updated_at":"2025-03-09T22:15:08.000Z","dependencies_parsed_at":"2025-03-09T22:25:58.589Z","dependency_job_id":"d3bf247a-1b91-47b3-8134-83c85aa935fb","html_url":"https://github.com/aspizu/astro-gemtext","commit_stats":null,"previous_names":["aspizu/astro-gemtext"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aspizu%2Fastro-gemtext","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aspizu%2Fastro-gemtext/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aspizu%2Fastro-gemtext/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aspizu%2Fastro-gemtext/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aspizu","download_url":"https://codeload.github.com/aspizu/astro-gemtext/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243114656,"owners_count":20238632,"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":["astro","gemini-protocol"],"created_at":"2025-03-11T21:28:26.567Z","updated_at":"2025-12-25T05:32:28.946Z","avatar_url":"https://github.com/aspizu.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `astro-gemtext`\n\n![https://www.npmjs.com/package/astro-gemtext](https://img.shields.io/npm/dm/astro-gemtext)\n\n`astro-gemtext` is the Astro integration for [gemtext](https://geminiprotocol.net/)\ndocuments. gemtext is a hypertext markup language used in the Gemini protocol. This\nintegration allows you to use `.gmi` files as pages in your Astro site. Just install\nthe integration and `.gmi` files in `/src/pages` will be rendered as HTML.\n\n## Installation\n\n```shell\nnpm install astro-gemtext\n```\n\nAdd to `astro.config.mjs`\n\n```ts\nimport gemtext from \"astro-gemtext\"\n\nexport default defineConfig({\n    integrations: [gemtext({layout: \"/src/layouts/Layout.astro\"})],\n})\n```\n\n\u003e [!IMPORTANT]\n\u003e If you do not provide a layout option, Astro's HMR (Hot Module Reloading) and toolbar\n\u003e will not work.\n\n## Usage\n\nCreate a .gmi file in your project, for example:\n\n```gmi\n# Hello World\n\nThis is a gemtext file.\n\n=\u003e gemtext.gemini README.md\n```\n\n## Configuration\n\n### `layout`\n\nThe layout to use for the page. Set to an absolute import path such as\n`/src/layouts/Layout.astro`.\nWill be provided the `title` prop.\nIf you do not provide a layout option, Astro's HMR (Hot Module Reloading) and toolbar\nwill not work.\n\n### `titleFormat`\n\nThe format to use for the page title. Can be one of:\n\n- `first-heading`: The first heading in the document will be used as the title. (default)\n- `filename`: The filename of the document will be used as the title.\n\nThe title is passed to the layout as the `title` prop.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faspizu%2Fastro-gemtext","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faspizu%2Fastro-gemtext","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faspizu%2Fastro-gemtext/lists"}