{"id":15442437,"url":"https://github.com/pratik-codes/ava-bot","last_synced_at":"2026-04-07T08:32:12.786Z","repository":{"id":255997115,"uuid":"854050005","full_name":"pratik-codes/ava-bot","owner":"pratik-codes","description":"An chatbot built on openai and flask (python) ","archived":false,"fork":false,"pushed_at":"2024-09-11T19:53:00.000Z","size":278,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T07:13:40.567Z","etag":null,"topics":["ai","chatbot","flask","langchain","openai","python","react"],"latest_commit_sha":null,"homepage":"https://avaai.vercel.app","language":"TypeScript","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/pratik-codes.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-09-08T09:17:27.000Z","updated_at":"2024-09-11T20:00:07.000Z","dependencies_parsed_at":"2024-09-12T02:57:06.225Z","dependency_job_id":"e8e23eea-ff1d-4662-a0ec-50caf83f2143","html_url":"https://github.com/pratik-codes/ava-bot","commit_stats":null,"previous_names":["pratik-codes/ava-bot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pratik-codes/ava-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratik-codes%2Fava-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratik-codes%2Fava-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratik-codes%2Fava-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratik-codes%2Fava-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pratik-codes","download_url":"https://codeload.github.com/pratik-codes/ava-bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratik-codes%2Fava-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31506562,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ai","chatbot","flask","langchain","openai","python","react"],"created_at":"2024-10-01T19:27:32.326Z","updated_at":"2026-04-07T08:32:12.751Z","avatar_url":"https://github.com/pratik-codes.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ava AI Chatbot\n\n## Overview\n\nThis repository contains a web application with a frontend built using Next.js and React, and a backend developed in Flask. The frontend and backend are organized in separate directories and can be run independently.\n\n## Directory Structure\n```\nroot/\n│\n├── ava-backend/          # Backend (Flask)\n│   ├── __init__.py\n│   ├── app.py\n│   ├── constants.py\n│   ├── handlers.py\n│   ├── llm.py\n│   ├── routes.py\n│   ├── requirements.txt\n│   ├── test/\n│   │   ├── __init__.py\n│   │   ├── test_app.py\n│   │   ├── test_handlers.py\n│   │   ├── test_llm.py\n│   │   └── test_routes.py\n│   └── venv/             # Virtual environment\n│\n└── ava-frontend/         # Frontend (Next.js + React)\n    ├── README.md\n    ├── components.json\n    ├── next-env.d.ts\n    ├── next.config.mjs\n    ├── package-lock.json\n    ├── package.json\n    ├── pnpm-lock.yaml\n    ├── postcss.config.mjs\n    ├── public/\n    ├── src/\n    │   ├── components/\n    │   ├── lib/\n    │   ├── pages/\n    │   ├── styles/\n    │   └── utils/\n    └── tailwind.config.ts\n    └── tsconfig.json\n```\n\n\n## Setup\n\n### Frontend\n\n1. Navigate to the `ava-frontend` directory:\n    ```sh\n    cd ava-frontend\n    ```\n\n2. Install dependencies:\n    ```sh\n    pnpm install\n    ```\n\n3. Start the development server:\n    ```sh\n    pnpm run dev\n    ```\n\n   The frontend will be available at `http://localhost:3000`.\n\n\u003cbr /\u003e\n\n\n### Backend\n\n### Make sure to have `.env` file in you root directory with all the required enviorment variable listed in `.env.sample`\n\n\u003cbr /\u003e\n\n1. Navigate to the `ava-backend` directory:\n    ```sh\n    cd ava-backend\n    ```\n\n2. Create a virtual environment (if not already created):\n    ```sh\n    python -m venv venv\n    ```\n\n3. Activate the virtual environment:\n    - On macOS/Linux:\n        ```sh\n        source venv/bin/activate\n        ```\n    - On Windows:\n        ```sh\n        venv\\Scripts\\activate\n        ```\n\n4. Install dependencies:\n    ```sh\n    pip install -r requirements.txt\n    ```\n\n5. Start the Flask application:\n    ```sh\n    python app.py\n    ```\n\n   The backend will be available at `http://localhost:5000`.\n\n\u003cbr /\u003e\n\n## Testing\n\n### Backend\n\n1. Ensure the virtual environment is activated.\n\n2. Run the tests:\n    ```sh\n    pytest\n    ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpratik-codes%2Fava-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpratik-codes%2Fava-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpratik-codes%2Fava-bot/lists"}