{"id":31965148,"url":"https://github.com/bniladridas/path","last_synced_at":"2026-02-27T21:45:38.749Z","repository":{"id":297770851,"uuid":"991727328","full_name":"bniladridas/path","owner":"bniladridas","description":"Intelligent discovery tool with Flask","archived":false,"fork":false,"pushed_at":"2025-10-08T11:34:13.000Z","size":1900,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-08T13:26:38.442Z","etag":null,"topics":["flask","html","web"],"latest_commit_sha":null,"homepage":"https://path-harper.vercel.app","language":"HTML","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/bniladridas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-28T04:17:47.000Z","updated_at":"2025-10-08T11:33:40.000Z","dependencies_parsed_at":"2025-07-11T19:14:28.535Z","dependency_job_id":"f53a784d-1e79-41eb-b6fa-9702c4e0d7af","html_url":"https://github.com/bniladridas/path","commit_stats":null,"previous_names":["bniladridas/path"],"tags_count":1,"template":true,"template_full_name":null,"purl":"pkg:github/bniladridas/path","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bniladridas%2Fpath","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bniladridas%2Fpath/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bniladridas%2Fpath/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bniladridas%2Fpath/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bniladridas","download_url":"https://codeload.github.com/bniladridas/path/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bniladridas%2Fpath/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279020081,"owners_count":26086806,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["flask","html","web"],"created_at":"2025-10-14T17:41:10.646Z","updated_at":"2026-02-27T21:45:38.743Z","avatar_url":"https://github.com/bniladridas.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"left\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Python-3.8%2B-blue\" alt=\"Python 3.8+\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Rust-1.75%2B-orange\" alt=\"Rust 1.75+\"\u003e\n    \u003ca href=\"/LICENSE\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/License-CC%20BY%204.0-blue.svg\" alt=\"License: CC BY 4.0\"/\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"left\"\u003e\n    \u003ca href=\"https://discord.gg/J8DetsWcqU\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/Join-Discord-blue?logo=discord\" alt=\"Discord Server\"/\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n\u003e [!NOTE]\n\u003e\n\u003e Need help? Join the [Discord Server](https://discord.gg/J8DetsWcqU) and get help with setup and usage.\n\nAn AI-powered media exploration application using Flask and Google Gemini.\n\n## Why did I make this?\n\nI wanted to create a media exploration tool that combines the power of Google's Gemini AI with an intuitive interface. Existing solutions were either too complex or lacked the features I needed.\n\nThe main goal was to provide two ways to interact with Gemini AI:\n1. A web application for browser-based exploration\n2. A CLI for terminal-based workflows\n\nHarper brings both together in a single, easy-to-use package.\n\n## Features\n\n- AI-powered search using Google Gemini models\n- Image generation with Gemini 2.5 Flash Image\n- Interactive TUI for terminal-based workflows\n- Email verification flow\n- Responsive design with theme support\n- OpenAI compatible API endpoints\n- Dual interfaces: Web (Flask) and CLI (Rust)\n\n## Getting Started\n\n### Prerequisites\n\n- Python 3.8+\n- Node.js 16+\n- npm\n- Rust 1.75+ (for CLI)\n\n### Web Application\n\n```bash\n# Clone the repository\ngit clone https://github.com/bniladridas/path.git\ncd path\n\n# Install dependencies\npip install -r requirements.txt\nnpm install\n\n# Set up environment\ncp .env.example .env\n# Edit .env with your GEMINI_API_KEY\n\n# Run the app\npython run.py\n```\n\nOpen your browser and navigate to `http://localhost:8000`\n\n### CLI\n\n```bash\n# Build the Rust CLI\ncd rust\ncargo build --release\ncp target/release/harper ~/.local/bin/harper\n\n# Set up environment\ncp .env.example .env\n# Edit .env with your GEMINI_API_KEY\n```\n\n### Usage\n\n```bash\n# Web app - open http://localhost:8000\n\n# CLI\nharper tui           # Interactive TUI\nharper search \"query\" # Command line search\nharper image --prompt \"a sunset\" # Generate image\n```\n\n### Demo\n\nhttps://github.com/user-attachments/assets/6e577b8c-4902-4c47-a161-e44ed56fc1e2\n\n### TUI Controls\n\n| Key | Action |\n|:---|:---|\n| Type | Start searching |\n| Enter | Submit query |\n| Esc | Clear or quit |\n\n## API Reference\n\n### Google Gemini\n\nGeneral: [Overview](https://ai.google.dev/docs) | [API Docs](https://ai.google.dev/api) | [Pricing](https://ai.google.dev/pricing)\n\nPython: [PyPI](https://pypi.org/project/google-genai/) | [SDK Docs](https://googleapis.github.io/python-genai/)\n\nJavaScript: [NPM](https://www.npmjs.com/package/@google/genai) | [Node](https://github.com/googleapis/js-genai)\n\n### Supported Models\n\n- Gemini 2.5 Flash\n- Gemini 2.5 Flash Image\n\n## Tech Stack\n\n### Web Application\n- Flask 3.1.2 - Web framework\n- Google GenAI SDK - AI integration\n- Gunicorn - WSGI server\n- Playwright - E2E testing\n- Vercel - Deployment\n\n### CLI\n- Rust - Programming language\n- Crossterm - Terminal UI\n- Ratatui - TUI library\n- Reqwest - HTTP client\n\n## API Key Setup\n\nGet your API key from [Google AI Studio](https://aistudio.google.com/app/apikey):\n\n```bash\ncurl \"https://generativelanguage.googleapis.com/v1beta/models?key=YOUR_API_KEY\"\n```\n\n## License\n\nThis work is licensed under a [Creative Commons Attribution 4.0 International License](https://creativecommons.org/licenses/by/4.0/).\n\n---\n\nContributions are welcome! Please feel free to submit a Pull Request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbniladridas%2Fpath","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbniladridas%2Fpath","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbniladridas%2Fpath/lists"}