{"id":24535596,"url":"https://github.com/wilsonneto-dev/ai-tools-hub","last_synced_at":"2025-04-14T23:10:19.877Z","repository":{"id":272210215,"uuid":"915739054","full_name":"wilsonneto-dev/ai-tools-hub","owner":"wilsonneto-dev","description":":rocket: A local, easy-to-use platform for leveraging AI-powered tools (Backed by Open AI APIs)","archived":false,"fork":false,"pushed_at":"2025-03-05T13:11:32.000Z","size":225,"stargazers_count":13,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-14T23:09:59.936Z","etag":null,"topics":["ai","artificial-intelligence","flask","openai","tts"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wilsonneto-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-01-12T17:15:03.000Z","updated_at":"2025-03-10T12:33:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"15d8f19d-2926-4f89-acc3-49ce99cd183a","html_url":"https://github.com/wilsonneto-dev/ai-tools-hub","commit_stats":null,"previous_names":["wilsonneto-dev/ai-tools-hub","ia-tools-hub/ai-tools-hub"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilsonneto-dev%2Fai-tools-hub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilsonneto-dev%2Fai-tools-hub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilsonneto-dev%2Fai-tools-hub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilsonneto-dev%2Fai-tools-hub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wilsonneto-dev","download_url":"https://codeload.github.com/wilsonneto-dev/ai-tools-hub/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248975316,"owners_count":21192210,"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":["ai","artificial-intelligence","flask","openai","tts"],"created_at":"2025-01-22T12:18:59.143Z","updated_at":"2025-04-14T23:10:19.871Z","avatar_url":"https://github.com/wilsonneto-dev.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AI Tools Hub\n\nA tool that provides various AI-powered tools on your localhost, using an OpenAI API key. \nCurrently featuring Text-to-Speech conversion with translation capabilities, with plans to expand to more AI tools in the future, such as image generation, text summarization, and more.\n\n## Current Features\n\n### Text-to-Speech Converter\n- Convert text to natural-sounding speech using OpenAI's TTS API.\n- Support for multiple voices with different characteristics.\n- Built-in translation to multiple languages before speech conversion.\n- Real-time cost estimation and token usage tracking.\n- Modern, responsive UI.\n- History of conversions with playback capability.\n- Support for long texts with automatic chunking.\n\n## Tool Preview\n\n![Tool Interface](./docs/image.png)\n\n![Conversion History](./docs/image-1.png)\n\n## Getting Started\n\n### 🐳 Running with Docker (Recommended)\n\n#### 1. Clone the Repository\nClone the repository to your local machine:\n```bash\ngit clone https://github.com/wilsonneto-dev/ai-tools-hub.git\ncd ai-tools-hub\n```\n\n#### 2. Build the Docker Image\nBuild the Docker image for the application:\n```bash\ndocker build -t ai-tools-hub .\n```\n\n#### 3. Run the Docker Container\nRun the container using the following command:\n```bash\ndocker run -d -p 5000:5000 -e OPENAI_API_KEY=your_api_key_here --name ai-tools-hub ai-tools-hub\n```\nReplace `your_api_key_here` with your actual OpenAI API key.\n\n#### 4. Access the Application\nOpen your browser and navigate to:\n[http://localhost:5000](http://localhost:5000)\n\n---\n\n### Prerequisites (Running without Docker)\n\n- Python 3.8 or higher.\n- OpenAI API key.\n- Virtual environment (recommended).\n- FFMPEG (for audio handling).\n\n### Installation (Without Docker)\n\n#### 1. Clone the repository\n```bash\ngit clone https://github.com/wilsonneto-dev/ai-tools-hub.git\ncd ai-tools-hub/src\n```\n\n#### 2. Create and activate a virtual environment\n```bash\n# Windows\npython -m venv .venv\n.\\.venv\\Scripts\\activate\n\n# Linux/Mac\npython -m venv .venv\nsource .venv/bin/activate\n```\n\n#### 3. Install dependencies\n```bash\npip install -r requirements.txt\n```\n\n#### 4. Set up environment variables\n```bash\n# Windows\nset OPENAI_API_KEY=your_api_key_here\n\n# Linux/Mac\nexport OPENAI_API_KEY=your_api_key_here\n```\n\n#### 5. Run the Application\nStart the Flask development server:\n```bash\npython ./app.py\n```\n\nNavigate to `http://localhost:5000` in your browser.\n\n## Cost Information\n\nThe application uses OpenAI's APIs with the following pricing:\n- **Text-to-Speech**: $15.00 per 1 million characters.\n- **Translation (GPT-3.5 Turbo)**: $6.00 per 1 million tokens.\n\nCosts are calculated and displayed in real-time for each conversion.\n\n## Project Structure\n\n```\nai-tools-hub/\n├── app.py                 # Main Flask application\n├── lib/                   # Core functionality\n│   ├── text_to_speech.py # Text-to-speech conversion logic\n│   └── translations.py   # Translation handling\n├── static/               # Static files (CSS, JS, audio files)\n│   └── audio/            # Generated audio files\n└── templates/            # HTML templates\n    ├── base.html         # Base template\n    ├── home.html         # Homepage\n    └── text-to-speech.html # Text-to-speech interface\n```\n\n## Roadmap\n\n### New Text-to-Speech Features\n- [ ] Add support for file uploads (PDF, DOCX, TXT).\n- [ ] Enable URL processing for article conversion.\n\n### Additional AI Tools\n- [ ] Image generation tool.\n- [ ] Text summarization.\n\n## Contributing\n\nContributions are welcome! Feel free to submit a Pull Request.\n\n## License\n\nThis project is licensed under the MIT License. See the LICENSE file for details.\n\n## Acknowledgments\n\n- OpenAI for their powerful APIs.\n- Flask framework.\n- Bootstrap for the UI components.\n- All contributors and users of this project.\n\n## Support\n\nIf you encounter any issues or have questions, please file an issue on the GitHub repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilsonneto-dev%2Fai-tools-hub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwilsonneto-dev%2Fai-tools-hub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilsonneto-dev%2Fai-tools-hub/lists"}