{"id":16728259,"url":"https://github.com/tmc/mkprog","last_synced_at":"2025-04-10T11:07:27.320Z","repository":{"id":245568215,"uuid":"818637908","full_name":"tmc/mkprog","owner":"tmc","description":"mkprog is a program to create programs","archived":false,"fork":false,"pushed_at":"2024-11-07T02:22:26.000Z","size":6856,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T09:52:48.688Z","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/tmc.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-06-22T12:11:26.000Z","updated_at":"2025-02-21T15:59:16.000Z","dependencies_parsed_at":"2024-06-22T20:53:36.073Z","dependency_job_id":"7398d897-60d6-40d5-ae4a-ca9612145cf5","html_url":"https://github.com/tmc/mkprog","commit_stats":null,"previous_names":["tmc/mkprog"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmc%2Fmkprog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmc%2Fmkprog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmc%2Fmkprog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmc%2Fmkprog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tmc","download_url":"https://codeload.github.com/tmc/mkprog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248208254,"owners_count":21065199,"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":[],"created_at":"2024-10-12T23:09:25.063Z","updated_at":"2025-04-10T11:07:27.303Z","avatar_url":"https://github.com/tmc.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mkprog\n\n`mkprog` is a Go program that generates other Go programs using AI. It utilizes the `langchaingo` library to interact with an AI language model and create structured Go projects based on user input.\n\n## Installation\n\nTo install `mkprog`, you need Go installed on your machine. If you don't have Go installed, you can download and install it from [https://go.dev/dl/](https://go.dev/dl/).\n\nOnce Go is installed, you can set up `mkprog` by running:\n\n```bash\ngo install github.com/tmc/mkprog@latest\n```\n\n## Usage\n\nTo use `mkprog`, run the following command:\n\n```shell\nmkprog \u003coutput directory\u003e \"description of the program you want to create\"\n```\n\nFor example:\n\n```shell\nmkprog haikuify \"Create a program that generates haiku poems based on user input\"\n```\n\nThe generated program will be designed to use the `langchaingo` library to interact with AI models and process user input according to the specified description.\n\n## Options\n\n- `-temp`: Set the temperature for AI generation (typically 0.0 to 1.0). Default is 0.1.\n\nExample:\n\n```shell\nmkprog -temp 0.7 my_project \"Create a program that generates jokes\"\n```\n\n## Features\n\n- Generates complete, functional Go programs\n- Uses the `langchaingo` library for AI model interaction\n- Follows Go best practices\n- Provides clear usage instructions and documentation\n\n## Requirements\n\n- Go 1.22 or later\n- An Anthropic API key set in the `ANTHROPIC_API_KEY` environment variable\n\n## License\n\nmkprog is open-source software licensed under the MIT license.\n\n## Contributing\n\nContributions to mkprog are welcome! Please feel free to submit a Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmc%2Fmkprog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftmc%2Fmkprog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmc%2Fmkprog/lists"}