{"id":15542067,"url":"https://github.com/lifeart/code2prompt","last_synced_at":"2026-01-19T08:03:28.793Z","repository":{"id":240020083,"uuid":"801427018","full_name":"lifeart/code2prompt","owner":"lifeart","description":"Code to Prompt generator","archived":false,"fork":false,"pushed_at":"2024-05-20T13:05:38.000Z","size":232,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-02T12:21:10.374Z","etag":null,"topics":["code-prompting","code2prompt","llm","prompt-engineering","prompt-toolkit"],"latest_commit_sha":null,"homepage":"https://lifeart.github.io/code2prompt/","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/lifeart.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":"2024-05-16T07:58:24.000Z","updated_at":"2024-09-03T12:07:25.000Z","dependencies_parsed_at":"2024-05-16T09:51:26.242Z","dependency_job_id":"987dd64d-5f77-4225-9493-29df938ad36c","html_url":"https://github.com/lifeart/code2prompt","commit_stats":null,"previous_names":["lifeart/code2prompt"],"tags_count":0,"template":false,"template_full_name":"lifeart/template-gxt","purl":"pkg:github/lifeart/code2prompt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lifeart%2Fcode2prompt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lifeart%2Fcode2prompt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lifeart%2Fcode2prompt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lifeart%2Fcode2prompt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lifeart","download_url":"https://codeload.github.com/lifeart/code2prompt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lifeart%2Fcode2prompt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28563233,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T03:31:16.861Z","status":"ssl_error","status_checked_at":"2026-01-19T03:31:15.069Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["code-prompting","code2prompt","llm","prompt-engineering","prompt-toolkit"],"created_at":"2024-10-02T12:20:35.731Z","updated_at":"2026-01-19T08:03:28.758Z","avatar_url":"https://github.com/lifeart.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Code2Prompt\n\nThis is a simple web application that allows you to generate a prompt for a large language model (LLM) based on the contents of a GitHub repository.\n\n## Usage\n\n1. Enter your GitHub personal access token. This is required to access private repositories.\n2. Enter the URL of the GitHub repository you want to use.\n\nThe application will then fetch the contents of the repository and generate a prompt that you can use with an LLM.\n\n## Example\n\n**Input:**\n\n* GitHub URL: https://github.com/lifeart/glimmerx-workshop/tree/master\n\n**Output:**\n\n```\nI have a GitHub repository with the following file structure:\n```\n\n```html\n\u003cDIRECTORY_TREE\u003e\nreadme.md\n[public/]\n    favicon.ico\n[src/]\n    App.gts\n\u003c/DIRECTORY_TREE\u003e\n```\n\n```\nHere are the contents of each file:\n```\n\n```hbs\n\u003cFILE path=\"index.html\"\u003e\u003c!doctype html\u003e\n\u003chtml lang=\"en\"\u003e\n  \u003chead\u003e\n    \u003ctitle\u003eCode2Prompt\u003c/title\u003e\n    \u003clink rel=\"manifest\" href=\"./site.webmanifest\" /\u003e\n  \u003c/head\u003e\n  \u003cbody\u003e\n    \u003cdiv id=\"app\"\u003e\u003c/div\u003e\n    \u003cscript type=\"module\" src=\"./src/main.ts\"\u003e\u003c/script\u003e\n  \u003c/body\u003e\n\u003c/html\u003e\n\u003c/FILE\u003e\n\n```\n\n## Development\n\n### Prerequisites\n\n* Node.js\n* pnpm\n\n### Installation\n\n```\npnpm install\n```\n\n### Development Server\n\n```\npnpm dev\n```\n\n### Building\n\n```\npnpm build\n```\n\n### Testing\n\n```\npnpm test\n```\n\n## Contributing\n\nContributions are welcome! Please open an issue or submit a pull request.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flifeart%2Fcode2prompt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flifeart%2Fcode2prompt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flifeart%2Fcode2prompt/lists"}