{"id":25976809,"url":"https://github.com/thatlinuxguyyouknow/adaptive-textfield","last_synced_at":"2026-05-10T18:02:41.352Z","repository":{"id":280627916,"uuid":"942515511","full_name":"ThatLinuxGuyYouKnow/adaptive-textfield","owner":"ThatLinuxGuyYouKnow","description":"This textfield automatically adapts to your input using AI","archived":false,"fork":false,"pushed_at":"2025-03-04T12:27:16.000Z","size":1295,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T13:24:33.619Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","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/ThatLinuxGuyYouKnow.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":"2025-03-04T08:18:22.000Z","updated_at":"2025-03-04T12:27:20.000Z","dependencies_parsed_at":"2025-03-04T13:24:42.604Z","dependency_job_id":"91e26765-7a80-462c-bb5b-185f88f893be","html_url":"https://github.com/ThatLinuxGuyYouKnow/adaptive-textfield","commit_stats":null,"previous_names":["thatlinuxguyyouknow/adaptive-textfield"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatLinuxGuyYouKnow%2Fadaptive-textfield","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatLinuxGuyYouKnow%2Fadaptive-textfield/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatLinuxGuyYouKnow%2Fadaptive-textfield/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatLinuxGuyYouKnow%2Fadaptive-textfield/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThatLinuxGuyYouKnow","download_url":"https://codeload.github.com/ThatLinuxGuyYouKnow/adaptive-textfield/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241965771,"owners_count":20050313,"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":"2025-03-05T04:29:17.434Z","updated_at":"2026-05-10T18:02:41.282Z","avatar_url":"https://github.com/ThatLinuxGuyYouKnow.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Adaptive TextField\n\n![Flutter](https://img.shields.io/badge/Flutter-3.0+-blue.svg)\n![Dart](https://img.shields.io/badge/Dart-3.0+-blue.svg)\n![License](https://img.shields.io/badge/License-MIT-green.svg)\n![Version](https://img.shields.io/badge/Version-1.0.0-orange.svg)\n\nA smart and adaptive text field for Flutter applications that processes natural language to automatically create events and tasks from user input.\n\n## Features\n\n- **Natural Language Processing**: Converts everyday language into structured data\n- **Adaptive UI**: Changes border color based on detected input type\n- **Preview Cards**: Dynamic rendering of event and task cards\n- **Debounced Input**: Optimized API calls with debounced text input\n\n## Demo\n\n![Adaptive TextField Demo](demo.gif)\n\n## How It Works\n\nThe application uses a text field that monitors user input and sends it to a language model (Gemini) for processing. Based on the response, it identifies whether the input describes:\n\n- **Events**: Social gatherings, meetings, dates (pink UI elements)\n- **Tasks**: Reminders, to-dos, and personal activities (blue UI elements)\n- **Normal text**: Regular input that doesn't fit the above categories\n\n## Input Examples\n\n### Event Examples\n```\n\"schedule lunch for me with Sarah at 9:00 pm, we'll discuss project ideas\"\n\"schedule a date for Jenny and I at Central Park tomorrow at 5pm\"\n```\n\n### Task Examples\n```\n\"remind me to wash my car in the garage at 5pm\"\n\"remind me to call my grandpa at 9am\"\n```\n\n## Installation\n\n```bash\n# Clone this repository\ngit clone https://github.com/thatlinuxguyyouknow/adaptive-textfield.git\n\n# Navigate to the project\ncd adaptive-textfield\n\n# Install dependencies\nflutter pub get\n\n# Run the app\nflutter run\n```\n\n## Configuration\n\nTo use the natural language processing features, you need to:\n\n1. Obtain an API key from Google's Generative AI (Gemini)\n2. Add your key to the `apikey` variable in the `checkInputType.dart` file\n\n```dart\nString apikey = \"YOUR_API_KEY_HERE\";\n```\n\n\n## Dependencies\n\n- `flutter`: UI toolkit\n- `http`: Network requests\n- `google_fonts`: Typography\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthatlinuxguyyouknow%2Fadaptive-textfield","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthatlinuxguyyouknow%2Fadaptive-textfield","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthatlinuxguyyouknow%2Fadaptive-textfield/lists"}