{"id":18421027,"url":"https://github.com/thunderbug1/thirdwheeler","last_synced_at":"2025-04-13T11:20:19.314Z","repository":{"id":255877300,"uuid":"850422228","full_name":"thunderbug1/ThirdWheeler","owner":"thunderbug1","description":"A Telegram Bot for couples to remind them about what their partner would like","archived":false,"fork":false,"pushed_at":"2024-09-09T09:07:29.000Z","size":67,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-16T07:17:27.710Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/thunderbug1.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":"2024-08-31T18:14:55.000Z","updated_at":"2024-09-09T09:07:32.000Z","dependencies_parsed_at":"2024-11-06T04:37:04.710Z","dependency_job_id":null,"html_url":"https://github.com/thunderbug1/ThirdWheeler","commit_stats":null,"previous_names":["thunderbug1/thirdwheeler"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thunderbug1%2FThirdWheeler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thunderbug1%2FThirdWheeler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thunderbug1%2FThirdWheeler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thunderbug1%2FThirdWheeler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thunderbug1","download_url":"https://codeload.github.com/thunderbug1/ThirdWheeler/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248703625,"owners_count":21148193,"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-11-06T04:24:01.223Z","updated_at":"2025-04-13T11:20:19.283Z","avatar_url":"https://github.com/thunderbug1.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ThirdWheeler\r\n\r\nThirdWheeler is a Telegram bot designed to improve communication between couples. The bot acts as a helpful assistant, offering reminders and suggestions based on what each partner would like to see more or less often. The bot stores conversations and user information in a PostgreSQL database, and it’s powered by a locally hosted Llama 3.1 language model using Ollama.\r\n\r\n## Features\r\n\r\n- **Partner Linking**: Users can link with their partners via a username or invite link.\r\n- **Scheduled Reminders**: The bot can schedule reminders and actions based on user input and stored preferences.\r\n- **Localized Communication**: The bot detects the user's preferred language and translates system messages accordingly.\r\n- **Data Privacy**: Users can delete all their data or unlink from their partner at any time, with confirmations to prevent accidental actions.\r\n\r\n## Tech Stack\r\n\r\n- **Python 3.12**\r\n- **Telegram Bot API**: Using `python-telegram-bot` library.\r\n- **PostgreSQL**: Database to store user information, conversations, and scheduled actions.\r\n- **SQLAlchemy**: ORM for interacting with the PostgreSQL database.\r\n- **Alembic**: Database migration tool (optional, but recommended).\r\n- **Ollama**: Hosts the Llama 3.1 language model locally.\r\n- **Docker**: For containerization, including a PostgreSQL database and the bot itself.\r\n\r\n## Getting Started\r\n\r\n### Prerequisites\r\n\r\n- **Python 3.12**\r\n- **Docker** and **Docker Compose**\r\n- **PostgreSQL** database or use the Docker setup for PostgreSQL\r\n- **Ollama**: To host the Llama 3.1 model locally\r\n\r\n### Installation\r\n\r\n1. **Clone the Repository**\r\n\r\n   ```bash\r\n   git clone https://github.com/thunderbug1/ThirdWheeler.git\r\n   cd ThirdWheeler\r\n\r\n2. **start olama locally**\r\n\r\n   ```bash \r\n   ollama serve\r\n\r\n3. **start docker compose**\r\n\r\n   ```bash \r\n   docker compose up -d","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthunderbug1%2Fthirdwheeler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthunderbug1%2Fthirdwheeler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthunderbug1%2Fthirdwheeler/lists"}