{"id":15555959,"url":"https://github.com/ananya2001-an/term-chat","last_synced_at":"2026-01-07T12:40:25.051Z","repository":{"id":170229128,"uuid":"646222831","full_name":"Ananya2001-an/term-chat","owner":"Ananya2001-an","description":"A simple CLI chat application.","archived":false,"fork":false,"pushed_at":"2023-06-07T16:56:58.000Z","size":98,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-03T12:54:09.326Z","etag":null,"topics":["appwrite","chat","poetry","python","terminal"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ananya2001-an.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-27T17:21:10.000Z","updated_at":"2024-10-01T05:56:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"5973870e-a172-43f1-a6d0-8f46c28dfd7d","html_url":"https://github.com/Ananya2001-an/term-chat","commit_stats":null,"previous_names":["ananya2001-an/term-chat"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ananya2001-an%2Fterm-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ananya2001-an%2Fterm-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ananya2001-an%2Fterm-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ananya2001-an%2Fterm-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ananya2001-an","download_url":"https://codeload.github.com/Ananya2001-an/term-chat/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246131326,"owners_count":20728303,"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":["appwrite","chat","poetry","python","terminal"],"created_at":"2024-10-02T15:11:12.092Z","updated_at":"2026-01-07T12:40:24.986Z","avatar_url":"https://github.com/Ananya2001-an.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# term-chat\n\n[![License: GPL-3.0](https://img.shields.io/badge/License-GPL-yellow.svg)](https://opensource.org/license/gpl-3-0/) \n[![Code style: Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![GitHub release (latest by date)](https://img.shields.io/github/v/release/Ananya2001-an/term-chat)](https://github.com/Ananya2001-an/term-chat/releases)\n![GitHub repo size](https://img.shields.io/github/repo-size/Ananya2001-an/term-chat)\n\n**term-chat** is a simple command-line chat 💬 application written in Python🐍. It allows users to communicate with each other through a terminal interface.\n\n\u003e You can read my hashnode article here to get an overview of the project: [TERM-CHAT: A simple command-line chat application](https://ananyacodes.hashnode.dev/term-chat-a-command-line-chat-application)\n\n![gif](https://github.com/gis-ops/gtfs-fetcher/assets/55504616/95e29232-7800-40c6-aee7-39f8f83f1d2e)\n\n## Commands 🎮\n\nIt's a Typer application, so you can use the `--help` flag to get a list of all the available commands.\nIn development mode, you can run the application using `python -m term_chat`. \n\n- Auth commands \n\n    - `auth create-user`: Register a new user\n    - `auth login`: Login as an existing user (creates a pickle file in the current directory)\n    - `auth logout`: Logout the current user\n    - `auth whoami`: Display the current user\n    - `auth delete-user`: Delete the current logged-in user from the database\n\n- Room commands\n    \n    - `room create`: Create a new chat room\n    - `room join`: Join an existing chat room\n    - `room leave`: Leave a room that you have joined\n    - `room info`: Get information about a chat room\n    - `room list-all`: List all the chat rooms made by you\n    - `room delete`: Delete a chat room that you have created\n\n- Chat commands\n    \n    - `chat start`: Send a message to a chat room\n\n## Features 💫\n\n- Real-time chat: Users can send and receive messages in real-time.\n- Multiple chat rooms: Users can join different chat rooms and interact with other users in each room.\n- Simple and intuitive interface: The chat interface is designed to be user-friendly and easy to navigate.\n\n## Requirements ✅\n\n- Python 3.8 or higher\n- [Poetry](https://python-poetry.org/)\n\n## Development/Installation 👩‍💻\n\n1. Clone the repository:\n\n   ```bash\n    git clone https://github.com/Ananya2001-an/term-chat.git\n\n    cd term-chat\n    ```\n\n2. Activate the virtual environment(optional but recommended):\n\n   ```bash\n   python -m venv venv\n   venv/Scripts/activate\n   ```\n\n3. Install the dependencies:\n\n   ```bash\n   poetry install\n   ```\n\n4. Create dotenv file and add necessary environment variables for the database connection:\n\n   ```bash\n   cp .env.example .env\n   ```\n\n5. Run the tests to make sure everything is working as expected:\n\n   ```bash\n    poetry run pytest -v\n    ```\n\n6. Run the application:\n\n   ```bash\n   python -m term_chat --help\n   ```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fananya2001-an%2Fterm-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fananya2001-an%2Fterm-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fananya2001-an%2Fterm-chat/lists"}