{"id":31679243,"url":"https://github.com/ipfans/genkit-go-llmstxt","last_synced_at":"2026-07-21T21:34:44.903Z","repository":{"id":303242682,"uuid":"1014826641","full_name":"ipfans/genkit-go-llmstxt","owner":"ipfans","description":"a CLI tool to generate llms-full.txt from https://genkit.dev","archived":false,"fork":false,"pushed_at":"2025-07-06T14:19:36.000Z","size":56,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-08T06:47:21.715Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/ipfans.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}},"created_at":"2025-07-06T13:48:03.000Z","updated_at":"2025-07-06T14:19:40.000Z","dependencies_parsed_at":"2025-07-06T15:32:56.551Z","dependency_job_id":"516430d1-fe36-45b6-bb24-8d41dc266b57","html_url":"https://github.com/ipfans/genkit-go-llmstxt","commit_stats":null,"previous_names":["ipfans/genkit-go-llmstxt"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ipfans/genkit-go-llmstxt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipfans%2Fgenkit-go-llmstxt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipfans%2Fgenkit-go-llmstxt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipfans%2Fgenkit-go-llmstxt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipfans%2Fgenkit-go-llmstxt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ipfans","download_url":"https://codeload.github.com/ipfans/genkit-go-llmstxt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipfans%2Fgenkit-go-llmstxt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35738474,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-21T02:00:06.728Z","response_time":109,"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":[],"created_at":"2025-10-08T06:47:19.396Z","updated_at":"2026-07-21T21:34:44.874Z","avatar_url":"https://github.com/ipfans.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# genkit-go-llmstxt\n\nA Go tool that scrapes the [Firebase Genkit Go](https://genkit.dev) documentation and converts it to [llms-txt](https://llmstxt.org/).\n\n## Overview\n\nThis tool fetches the main Genkit documentation page, extracts all documentation URLs, and converts each page to clean llms-txt. The output is aggregated into a single file that can be used as context for Large Language Models. (~47k tokens)\n\n## Features\n\n- Fetches content from https://genkit.dev\n- Automatically discovers documentation URLs using regex pattern matching\n- Converts HTML pages to clean llms-txt using readability extraction\n- Outputs consolidated documentation to a single file\n- Concurrent processing for efficient scraping\n\n## Installation\n\n```bash\ngo mod download\n```\n\n## Usage\n\n### Using Task (recommended)\n\n```bash\ntask\n```\n\n### Using Go directly\n\n```bash\ngo run main.go \u003e llms-full.txt\n```\n\nThe tool will:\n\n1. Fetch the main Genkit documentation page\n2. Extract all documentation URLs matching the pattern `/go/docs/*`\n3. Process each page to extract readable content\n4. Output markdown-formatted content to stdout (or redirect to file)\n\n## Dependencies\n\n- [go-readability](https://github.com/mackee/go-readability) - For HTML content extraction and markdown conversion\n\n## License\n\nMIT License - see [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipfans%2Fgenkit-go-llmstxt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fipfans%2Fgenkit-go-llmstxt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipfans%2Fgenkit-go-llmstxt/lists"}