{"id":27629329,"url":"https://github.com/semanticdata/contacts-tui","last_synced_at":"2025-04-23T15:16:25.299Z","repository":{"id":289354492,"uuid":"970885340","full_name":"semanticdata/contacts-tui","owner":"semanticdata","description":"Super simple TUI app to manage contacts.","archived":false,"fork":false,"pushed_at":"2025-04-22T20:29:42.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-23T15:16:20.013Z","etag":null,"topics":["pydantic","python","textual","tui"],"latest_commit_sha":null,"homepage":"","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/semanticdata.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,"zenodo":null}},"created_at":"2025-04-22T17:23:47.000Z","updated_at":"2025-04-22T20:29:45.000Z","dependencies_parsed_at":"2025-04-22T21:40:36.447Z","dependency_job_id":null,"html_url":"https://github.com/semanticdata/contacts-tui","commit_stats":null,"previous_names":["semanticdata/contacts-tui"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semanticdata%2Fcontacts-tui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semanticdata%2Fcontacts-tui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semanticdata%2Fcontacts-tui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semanticdata%2Fcontacts-tui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/semanticdata","download_url":"https://codeload.github.com/semanticdata/contacts-tui/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250457784,"owners_count":21433734,"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":["pydantic","python","textual","tui"],"created_at":"2025-04-23T15:16:24.749Z","updated_at":"2025-04-23T15:16:25.289Z","avatar_url":"https://github.com/semanticdata.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Contacts TUI\n\nA modern terminal user interface (TUI) application for managing contacts, built with Python, Pydantic, and Textual.\n\n## Features\n\n- Add, view, edit, and delete contacts\n- Clean and intuitive terminal interface\n- Data validation using Pydantic\n- Modern UI components with Textual\n\n## Installation\n\n1. Ensure you have Python 3.12 or later installed\n2. Clone this repository\n3. Install dependencies:\n\n## Usage\n\nRun the application:\n\n```bash\npython main.py\n```\n\nKeyboard shortcuts:\n\n- `a`: Add a new contact\n- `d`: Delete selected contact\n- `e`: Edit selected contact\n- `q`: Quit application\n\n## Implementation Details\n\n### Contact Model\n\nContacts are represented using Pydantic models with the following fields:\n\n- `name`: string (required)\n- `phone`: string (required)\n- `email`: Optional[str]\n- `notes`: Optional[str]\n- `last_contacted`: Optional[datetime]\n\n### Architecture\n\n- **UI Layer**: Built with Textual, providing a responsive and modern terminal interface\n- **Service Layer**: Handles contact management operations\n- **Model Layer**: Uses Pydantic for data validation and type checking\n\n### Key Design Features\n\n- Loose Coupling: UI layer interacts only with the service layer\n- Cross-Platform: Unicode-safe text handling\n- Type Safety: Leverages Python's type hints and Pydantic validation\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsemanticdata%2Fcontacts-tui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsemanticdata%2Fcontacts-tui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsemanticdata%2Fcontacts-tui/lists"}