{"_id":"@brewn-beer/auto-repo-docs","_rev":"3-70dac91edef8220b2faa952f6c1636be","name":"@brewn-beer/auto-repo-docs","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"@brewn-beer/auto-repo-docs","version":"0.0.1","keywords":["ai","cli","npm","auto-repo-docs","repository","docs"],"author":{"name":"Amey Muke, Aditya Sutar"},"license":"MIT","_id":"@brewn-beer/auto-repo-docs@0.0.1","maintainers":[{"name":"ameymuke","email":"ameymuke252003@gmail.com"},{"name":"adityasutar","email":"aditya.sutar305@gmail.com"}],"bin":{"auto-repo-docs":"index.js"},"dist":{"shasum":"b7ad9a20dd7d7080cc7103fabeade21bf57af262","tarball":"https://registry.npmjs.org/@brewn-beer/auto-repo-docs/-/auto-repo-docs-0.0.1.tgz","fileCount":10,"integrity":"sha512-kmrFB1EO8ts9t5noOwpzKP+gwyTDtoOuy6Z57PVF2IfjjZgzatVOhJAhQdjV63PjCOb6AXo/EHC6U3rlC+BZug==","signatures":[{"sig":"MEYCIQDJKZZswXQmi/FjPMpXL5la28SNA4yJjsFz0gbuj3spzwIhAM1NJ/u1PrtzrodX6TKk4KviiMjtQEjeDR6/bK5WnUiQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28309},"main":"index.js","type":"module","gitHead":"405ddc2b3fce7df9e3c7097b69dbbc4fb4e5985b","scripts":{"start":"node index.js"},"_npmUser":{"name":"adityasutar","email":"aditya.sutar305@gmail.com"},"_npmVersion":"10.8.3","description":"![Project Logo](https://raw.githubusercontent.com/Brewnbeer/AutoRepoDocs/refs/heads/main/assets/autorepodocs-logo.png)","directories":{},"_nodeVersion":"20.16.0","dependencies":{"ora":"^8.1.0","chalk":"^5.3.0","openai":"^4.65.0","chalk-animation":"^2.0.3","@anthropic-ai/sdk":"^0.27.3","@google/generative-ai":"^0.20.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/auto-repo-docs_0.0.1_1727684380214_0.6637171642034634","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@brewn-beer/auto-repo-docs","version":"0.0.2","description":"![Project Logo](https://raw.githubusercontent.com/Brewnbeer/AutoRepoDocs/refs/heads/main/assets/autorepodocs-logo.png)","main":"index.js","type":"module","bin":{"auto-repo-docs":"index.js"},"scripts":{"start":"node index.js"},"keywords":["ai","cli","npm","auto-repo-docs","repository","docs"],"author":{"name":"Amey Muke, Aditya Sutar"},"license":"MIT","dependencies":{"@anthropic-ai/sdk":"^0.27.3","@google/generative-ai":"^0.20.0","chalk":"^5.3.0","chalk-animation":"^2.0.3","openai":"^4.65.0","ora":"^8.1.0"},"_id":"@brewn-beer/auto-repo-docs@0.0.2","gitHead":"5c32ddda7fe678b5bdd6170d3ae7a4dbb852c1f4","_nodeVersion":"20.9.0","_npmVersion":"10.2.5","dist":{"integrity":"sha512-h2yOa3f1jPGAqYPgYMJ25/GlKdcp2z9OCe7XyktuVEv8I4aiwB8/oD/xW4AWGjRHxxhkc9TtQGhlTFL3yiz2Cw==","shasum":"b9ebe3d5954977bd59797189ae8d1aec656ca4f1","tarball":"https://registry.npmjs.org/@brewn-beer/auto-repo-docs/-/auto-repo-docs-0.0.2.tgz","fileCount":10,"unpackedSize":28585,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC0wwAh37rsh/e9cANBbmXoQqa3FLrTM5Cug/HsN7xXywIgO1Z7KxfnJXC1wL78dCrfh664y4/xUG7Vmpyr2uBgaGM="}]},"_npmUser":{"name":"ameymuke","email":"ameymuke252003@gmail.com"},"directories":{},"maintainers":[{"name":"ameymuke","email":"ameymuke252003@gmail.com"},{"name":"adityasutar","email":"aditya.sutar305@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/auto-repo-docs_0.0.2_1727689766847_0.24392585256152288"},"_hasShrinkwrap":false}},"time":{"created":"2024-09-30T08:19:40.125Z","modified":"2024-09-30T09:49:27.208Z","0.0.1":"2024-09-30T08:19:40.436Z","0.0.3":"2024-09-30T09:44:28.313Z","0.0.2":"2024-09-30T09:49:26.996Z"},"author":{"name":"Amey Muke, Aditya Sutar"},"license":"MIT","keywords":["ai","cli","npm","auto-repo-docs","repository","docs"],"description":"![Project Logo](https://raw.githubusercontent.com/Brewnbeer/AutoRepoDocs/refs/heads/main/assets/autorepodocs-logo.png)","maintainers":[{"name":"ameymuke","email":"ameymuke252003@gmail.com"},{"name":"adityasutar","email":"aditya.sutar305@gmail.com"}],"readme":"\r\n# AI-Powered Community Health File Generator\r\n\r\n![Project Logo](https://raw.githubusercontent.com/Brewnbeer/AutoRepoDocs/refs/heads/main/assets/autorepodocs-logo.png)\r\n\r\nThis project is an AI-powered tool designed to generate community health files for repositories. It supports multiple AI platforms including OpenAI (GPT-4), Google Gemini, and Anthropic's Claude. Using the selected platform, it generates various repository templates such as issue templates, pull request templates, and more.\r\n\r\n## Features\r\n\r\n- **Multi-platform AI support**: Choose between OpenAI, Google Gemini, and Anthropic Claude for content generation.\r\n- **Automated file generation**: Automatically generates essential community health files, including:\r\n  - Issue templates (e.g., Bug Reports, Feature Requests)\r\n  - Discussion templates (e.g., Announcements, Ideas)\r\n  - Pull Request templates\r\n  - Funding information\r\n  - Security policy\r\n  - Contribution guidelines\r\n  - Governance documents\r\n  - Code of Conduct\r\n- **Interactive CLI**: A user-friendly, interactive command-line interface that prompts for necessary inputs.\r\n- **Parallel AI requests**: Speed up content generation using concurrent API requests.\r\n- **Customizable**: Supports user-defined fields like assignees for issues and feature requests, license information, and more.\r\n\r\n## Table of Contents\r\n\r\n- [Installation](#installation)\r\n- [Requirements](#requirements)\r\n- [Setup](#setup)\r\n- [Usage](#usage)\r\n- [Available AI Platforms](#available-ai-platforms)\r\n- [Generated Files](#generated-files)\r\n- [License](#license)\r\n\r\n## Installation\r\n\r\n1. Clone the repository:\r\n\r\n   ```bash\r\n   git clone https://github.com/Brewnbeer/AutoRepoDocs\r\n   cd AutoRepoDocs\r\n\r\n2. Install the dependencies:\r\n\r\n   ```bash\r\n   npm install\r\n\r\n## Requirements\r\n  - Node.js (v14 or above)\r\n  - NPM (or Yarn)\r\n  - API keys from any of the supported platforms:\r\n    - OpenAI API Key\r\n    - Google Gemini API Key\r\n    - Anthropic Claude API Key\r\n   \r\n\r\n## Setup\r\nBefore you start using the tool, ensure that you have an API key from one of the supported platforms. When prompted by the CLI, you will need to provide the key.\r\n\r\nIf you wish to set up the key as an environment variable (optional), you can do so as follows:\r\n\r\n      ```bash\r\n      export OPENAI_API_KEY=\"your_actual_openai_api_key\"\r\n      export GEMINI_API_KEY=\"your_actual_gemini_api_key\"\r\n      export CLAUDE_API_KEY=\"your_actual_claude_api_key\"\r\n\r\nAlternatively, the CLI will prompt you for the API key during runtime.\r\n\r\n\r\n## Usage\r\nTo run the project and start generating the community health files, follow these steps:\r\n\r\n1. Start the CLI tool:\r\n   ```bash\r\n   node index.js\r\n\r\n2. You will be prompted to select one of the AI platforms:\r\n    - OpenAI \r\n    - Google Gemini\r\n    - Anthropic Claude\r\n       \r\n3. Enter your API key for the selected platform when prompted.\r\n4. Answer the subsequent questions about your repository (e.g., owner name, license type, assignees for issue templates, etc.).\r\n5. The tool will generate the following files within the appropriate directories of your repository.\r\nOnce completed, the generated files will be available in the `.github` and `docs` directories.\r\n\r\n## Available AI Platforms\r\nThis tool supports three major AI platforms for generating content:\r\n\r\n## 1. OpenAI (GPT 4o)\r\n  - Requires an OpenAI API key.\r\n  - Generates content using the GPT-4 model.\r\n    \r\n## 2. Google Gemini (1.5 Flash)\r\n  - Requires a Google Gemini API key.\r\n  - Utilizes Google's generative AI services with customizable safety settings.\r\n\r\n## 3. Anthropic Claude (3.5 Sonnet)\r\n  - Requires a Claude API key from Anthropic.\r\n  - Claude is designed to generate safe and useful AI content.\r\n\r\n## Generated Files\r\nThe tool generates the following community health files:\r\n## - Issue Templates\r\n  - `BUG_REPORT.yml`: Template for users to report bugs.\r\n  - `FEATURE_REQUEST.md`: Template for feature requests.\r\n  - `ENHANCEMENT_REQUEST.yml`: Template for enhancements.\r\n  - `QUESTION.md`: Template for general questions.\r\n  - `config.yml`: Configuration for issue templates.\r\n## - Discussion Templates\r\n  - `ANNOUNCEMENTS.yml`: Template for announcements.\r\n  - `IDEAS.yml`: Template for idea submissions.\r\n## Pull Request Template\r\n  - `PULL_REQUEST_TEMPLATE.md`: A markdown template for creating pull requests.\r\n## Funding Information\r\n  - `FUNDING.yml`: Information about funding sources (e.g., GitHub Sponsors, Patreon).\r\n## Security Policy\r\n  - `SECURITY.md`: Guidelines and policies for handling security vulnerabilities.\r\n## Contribution Guidelines\r\n  - `CONTRIBUTING.md`: Guidelines for contributing to the repository.\r\n## Governance\r\n  - `GOVERNANCE.md`: Information about the governance structure of the project.\r\n## Support Information\r\n  - `SUPPORT.md`: Details about how to seek support or ask questions.\r\n## Code of Conduct\r\n  - `CODE_OF_CONDUCT.md`: A code of conduct for contributors to the project.\r\n\r\n## License\r\nThis project is licensed under the MIT License. See the `LICENSE` file for details.\r\n\r\n## Contributing\r\nWe welcome contributions! Please feel free to submit a pull request or open an issue to help improve this tool.\r\n\r\n## Support\r\nIf you have any questions, feel free to open an issue or reach out through GitHub Discussions.\r\n\r\n    ```bash\r\n    You can copy and paste this directly into your project’s `README.md` file. Be sure to replace `yourusername` with your actual GitHub username       in the links!\r\n\r\n## License\r\n\r\nThis project is licensed under the MIT License - see the [LICENSE](./LICENSE) file for details.\r\n\r\n","readmeFilename":"README.md"}