{"id":22694485,"url":"https://github.com/forloopcodes/twegion","last_synced_at":"2025-03-29T17:26:19.530Z","repository":{"id":266212902,"uuid":"897709490","full_name":"ForLoopCodes/Twegion","owner":"ForLoopCodes","description":"Twegion is an AI-powered tool that generates attractive Twitter threads focused on business topics. Generate engaging content quickly and easily.","archived":false,"fork":false,"pushed_at":"2024-12-03T05:28:43.000Z","size":1353,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-04T18:41:46.451Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/ForLoopCodes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"forloopcodes","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":null,"thanks_dev":null,"custom":null}},"created_at":"2024-12-03T05:15:59.000Z","updated_at":"2024-12-03T05:29:52.000Z","dependencies_parsed_at":"2024-12-03T06:26:48.054Z","dependency_job_id":"1bbd7367-b7b4-4831-921a-cb1a9101b951","html_url":"https://github.com/ForLoopCodes/Twegion","commit_stats":null,"previous_names":["forloopcodes/twegion"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ForLoopCodes%2FTwegion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ForLoopCodes%2FTwegion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ForLoopCodes%2FTwegion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ForLoopCodes%2FTwegion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ForLoopCodes","download_url":"https://codeload.github.com/ForLoopCodes/Twegion/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246217887,"owners_count":20742281,"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-12-10T03:08:21.945Z","updated_at":"2025-03-29T17:26:19.510Z","avatar_url":"https://github.com/ForLoopCodes.png","language":"TypeScript","funding_links":["https://github.com/sponsors/forloopcodes"],"categories":[],"sub_categories":[],"readme":"# Twegion\n\n**Twegion** is a React-based Twitter thread generator leveraging advanced AI models to create engaging and concise threads tailored to your preferences.\n\n---\n\n## Features\n\n- Generate high-quality Twitter threads with minimal effort.\n- Customize tone and style for a unique voice.\n- Supports interactive and intuitive user input for real-time responses.\n\n---\n\n## Getting Started\n\n### Prerequisites\n\n- [Node.js](https://nodejs.org/) (version 14 or higher)\n- [npm](https://www.npmjs.com/) or [yarn](https://yarnpkg.com/)\n- A valid [Mistral API key](https://mistral.ai/)\n\n### Installation\n\n1. Clone this repository:\n   ```bash\n   git clone https://github.com/forloopcodes/twegion.git\n   cd twegion\n   ```\n\n2. Install dependencies:\n   ```bash\n   npm install\n   ```\n   or\n   ```bash\n   yarn install\n   ```\n\n---\n\n## Usage\n\n### Set Up API Key\n\n1. Navigate to `./src/App.tsx`.\n\n2. Locate the following code block:\n   ```javascript\n   const config = {\n       method: \"post\",\n       maxBodyLength: Infinity,\n       url: \"https://api.mistral.ai/v1/chat/completions\",\n       headers: {\n           \"Content-Type\": \"application/json\",\n           Authorization: `Bearer ${apiKey}`, // Replace this\n           Accept: \"application/json\",\n       },\n       data: data,\n   };\n   ```\n\n3. Replace the API key with your own Mistral API key.\n\n---\n\n### Run the Application\n\n1. Start the development server:\n   ```bash\n   npm run dev\n   ```\n\n2. Open your browser and navigate to `http://localhost:5173`.\n\n---\n\n## Contributing\n\n1. Fork the repository.\n2. Create a new branch for your feature:\n   ```bash\n   git checkout -b feature-name\n   ```\n3. Commit your changes and push them to your fork.\n4. Submit a pull request.\n\n---\n\n## License\n\nThis project is licensed under the MIT License.\n\n---\n\nBy customizing the API key and deploying **Twegion**, you're all set to generate compelling threads. 🚀\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforloopcodes%2Ftwegion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fforloopcodes%2Ftwegion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforloopcodes%2Ftwegion/lists"}