{"id":22956888,"url":"https://github.com/marketcalls/gptclone","last_synced_at":"2026-04-14T19:32:46.528Z","repository":{"id":254691245,"uuid":"847271756","full_name":"marketcalls/gptclone","owner":"marketcalls","description":"LangChain App with Conversational Memory","archived":false,"fork":false,"pushed_at":"2024-08-26T16:31:30.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-27T02:54:07.616Z","etag":null,"topics":["chatgpt","fastapi","gpt4o-mini","langchain","openai","sqlite-database"],"latest_commit_sha":null,"homepage":"https://www.marketcalls.in","language":"JavaScript","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/marketcalls.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-08-25T10:52:17.000Z","updated_at":"2024-09-02T05:33:34.000Z","dependencies_parsed_at":"2024-08-25T12:23:49.573Z","dependency_job_id":"9e436566-17b0-4777-960c-1b037d60ef71","html_url":"https://github.com/marketcalls/gptclone","commit_stats":null,"previous_names":["marketcalls/gptclone"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/marketcalls/gptclone","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marketcalls%2Fgptclone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marketcalls%2Fgptclone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marketcalls%2Fgptclone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marketcalls%2Fgptclone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marketcalls","download_url":"https://codeload.github.com/marketcalls/gptclone/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marketcalls%2Fgptclone/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270175826,"owners_count":24540093,"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-08-13T02:00:09.904Z","response_time":66,"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":["chatgpt","fastapi","gpt4o-mini","langchain","openai","sqlite-database"],"created_at":"2024-12-14T17:12:58.620Z","updated_at":"2026-04-14T19:32:46.495Z","avatar_url":"https://github.com/marketcalls.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GPTClone\n\nGPTClone is a FastAPI-based chat application that uses langchain for conversation memory and OpenAI's language models to provide intelligent responses.\n\n## Features\n\n- FastAPI backend for efficient API handling\n- Langchain integration for improved conversation memory\n- OpenAI's GPT model for generating responses\n- In-memory chat history storage\n- Markdown formatting for better response presentation\n\n## Prerequisites\n\n- Python 3.7+\n- OpenAI API key\n\n## Installation\n\n1. Clone the repository:\n   ```\n   git clone https://github.com/marketcalls/gptclone.git\n   cd gptclone\n   ```\n\n2. Create a virtual environment and activate it:\n   ```\n   python -m venv venv\n   source venv/bin/activate  # On Windows, use `venv\\Scripts\\activate`\n   ```\n\n3. Install the required packages:\n   ```\n   pip install -r requirements.txt\n   ```\n\n4. Create a `.env` file in the project root:\n   ```\n   cp .sample.env .env\n   ```\n   Then, edit the `.env` file and replace the placeholder values with your actual OpenAI API key and desired model:\n   ```\n   OPENAI_API_KEY=your_api_key_here\n   OPENAI_MODEL=gpt-4o-mini\n   ```\n\n## Usage\n\n1. Start the FastAPI server:\n   ```\n   uvicorn app.main:app --reload\n   ```\n\n2. Open a web browser and navigate to `http://localhost:8000` to use the chat interface.\n\n## Project Structure\n\n- `app/`: Contains the main application code\n  - `main.py`: FastAPI application and route definitions\n  - `models.py`: Database models\n  - `schemas.py`: Pydantic schemas for request/response validation\n  - `database.py`: Database connection and session management\n- `static/`: Static files (CSS, JavaScript)\n- `templates/`: HTML templates\n- `requirements.txt`: List of Python dependencies\n- `.sample.env`: Sample environment file with placeholder values\n- `.env`: (Created by you) Actual environment file with your API key and model name\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarketcalls%2Fgptclone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarketcalls%2Fgptclone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarketcalls%2Fgptclone/lists"}