{"id":25738867,"url":"https://github.com/husreo/twitter-ai-agent","last_synced_at":"2025-05-08T05:40:15.576Z","repository":{"id":275004857,"uuid":"924769089","full_name":"husreo/Twitter-AI-Agent","owner":"husreo","description":"Twitter AI Tweet bot automatically responds to mentions and tweet replies on Twitter.","archived":false,"fork":false,"pushed_at":"2025-01-30T16:18:00.000Z","size":182,"stargazers_count":10,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-31T17:13:32.072Z","etag":null,"topics":["ai","aiagent","chatbot","eliza","python","solana","twitter-api","twitter-bot"],"latest_commit_sha":null,"homepage":"","language":"Python","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/husreo.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":"2025-01-30T16:12:26.000Z","updated_at":"2025-03-07T16:47:36.000Z","dependencies_parsed_at":"2025-01-30T17:38:21.944Z","dependency_job_id":null,"html_url":"https://github.com/husreo/Twitter-AI-Agent","commit_stats":null,"previous_names":["husreo/twitter-ai-agent"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/husreo%2FTwitter-AI-Agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/husreo%2FTwitter-AI-Agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/husreo%2FTwitter-AI-Agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/husreo%2FTwitter-AI-Agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/husreo","download_url":"https://codeload.github.com/husreo/Twitter-AI-Agent/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253009530,"owners_count":21839711,"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","aiagent","chatbot","eliza","python","solana","twitter-api","twitter-bot"],"created_at":"2025-02-26T07:39:47.653Z","updated_at":"2025-05-08T05:40:15.532Z","avatar_url":"https://github.com/husreo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Twitter Bot\n\nThis bot is an AI assistant that automatically responds to mentions and tweet replies on Twitter.\n\n## Features\n\n- Automatic reply to mentions\n- Automatic reply to comments on tweets\n- Creating smart replies with OpenAI GPT-3.5\n- Rate limiting and daily tweet limit control\n- Detailed logging system\n\n## Installation\n\n1. Install the required packages:\n```bash\npip install -r requirements.txt\n```\n\n2. Create the `.env` file and add the following variables:\n```\nTWITTER_API_KEY=your_api_key\nTWITTER_API_SECRET=your_api_secret\nTWITTER_ACCESS_TOKEN=your_access_token\nTWITTER_ACCESS_TOKEN_SECRET=your_access_token_secret\nTWITTER_BEARER_TOKEN=your_bearer_token\nOPENAI_API_KEY=your_openai_api_key\n```\n\n## Usage\n\nTo start the program:\n```bash\npython main.py\n```\n\nYou can choose between two modes:\n1. Automatically respond to mentions\n2. Automatically respond to comments on tweets\n\n## Project Structure\n\n```\n.\n├── config/\n│   └── config.py         # Konfigürasyon ayarları\n├── src/\n│   ├── twitter_client.py # Twitter API işlemleri\n│   ├── openai_client.py  # OpenAI API işlemleri\n│   └── tweet_handler.py  # Tweet işleme mantığı\n├── utils/\n│   ├── logger.py        # Loglama sistemi\n│   └── rate_limiter.py  # Rate limiting işlemleri\n├── logs/                # Log dosyaları\n├── .env                 # Ortam değişkenleri\n├── main.py             # Ana program\n└── requirements.txt    # Gerekli paketler\n```\n\n## Security\n\n- API keys are securely stored in `.env` file\n- API usage is controlled with rate limiting\n- Excessive usage is prevented with daily tweet limit\n\n## License\n\nMIT \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhusreo%2Ftwitter-ai-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhusreo%2Ftwitter-ai-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhusreo%2Ftwitter-ai-agent/lists"}