{"id":14988543,"url":"https://github.com/rrmn/chatgpt-anywhere","last_synced_at":"2026-01-04T17:04:04.193Z","repository":{"id":217703836,"uuid":"744608472","full_name":"rrmn/chatgpt-anywhere","owner":"rrmn","description":"This is a flask/bulma boilerplate template for a simple ChatGPT app on PythonAnywhere.com","archived":false,"fork":false,"pushed_at":"2024-02-02T12:47:46.000Z","size":48,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-26T14:22:13.256Z","etag":null,"topics":["boilerplate","boilerplate-template","bulma","chatgpt","chatgpt-api","flask","python","pythonanywhere","template","template-project","templates","webapp"],"latest_commit_sha":null,"homepage":"","language":"Python","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/rrmn.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-01-17T16:41:41.000Z","updated_at":"2024-01-18T20:43:50.000Z","dependencies_parsed_at":"2024-09-19T23:00:38.366Z","dependency_job_id":null,"html_url":"https://github.com/rrmn/chatgpt-anywhere","commit_stats":{"total_commits":17,"total_committers":2,"mean_commits":8.5,"dds":"0.11764705882352944","last_synced_commit":"0112693a339eba44c8d9c6bd4957903170fb7452"},"previous_names":["rrmn/pythonanywhere-chatgpt-boilerplate","rrmn/chatgpt-anywhere"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrmn%2Fchatgpt-anywhere","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrmn%2Fchatgpt-anywhere/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrmn%2Fchatgpt-anywhere/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrmn%2Fchatgpt-anywhere/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rrmn","download_url":"https://codeload.github.com/rrmn/chatgpt-anywhere/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244856974,"owners_count":20521912,"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":["boilerplate","boilerplate-template","bulma","chatgpt","chatgpt-api","flask","python","pythonanywhere","template","template-project","templates","webapp"],"created_at":"2024-09-24T14:16:54.389Z","updated_at":"2026-01-04T17:04:04.132Z","avatar_url":"https://github.com/rrmn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ChatGPT Anywhere\nDeploy a ChatGPT app in 15 minutes. \n\n![chatgpt-anywhere](https://github.com/rrmn/chatgpt-anywhere/assets/14080347/0a73b07e-099c-4369-a2d4-43a77aaa6984)\n\n# Beginner's Guide\nThis is a beginner's guide for deploying a simple ChatGPT app built with Python. \n\n* No complicated toolchains\n* No SASS/SCSS stuff\n* No server administration\n\n**This tutorial will help you set up your own ChatGPT app, even if you're new to programming or web development.**\n\n## Getting Started\n\n### Step 1: Sign Up on PythonAnywhere\n1. **Create a PythonAnywhere Account**: Visit PythonAnywhere.com  and sign up. (You can use this [affiliate link](https://www.pythonanywhere.com/?affiliate_id=00ffc226) if you want to support me). You can start with a free account. \n2. **Note Your Username**: Remember your username. You'll need it for setting up your web app.\n3. **Create a Web App**: Once logged in, use the dashboard to create a new web app. Note down your `webappname`.\n4. **Familiarize with the Dashboard**: Explore the **Consoles** section. You'll use a `bash console` here.\n5. **Key Areas to Focus**: \n    - **Working Directory**: `pythonanywhere.com/user/{username}/files/home/{webappname}`\n    - **Web App Admin Interface**: `pythonanywhere.com/user/{username}/webapps/`\n    - **Bash Console**: Accessible from `pythonanywhere.com/user/{username}/` under **Consoles**.\n\n### Step 2: Set Up Python\n1. **Move Files to Working Directory**: Transfer all necessary files into your working directory.\n2. **Launch a Bash Console**: From the dashboard, open a bash console.\n3. **Create a Virtual Environment**:\n    - Execute `python -m venv myvenv` to create a virtual environment.\n    - Activate it with `source myvenv/bin/activate`. Your console should now show `(myvenv)` prefix.\n    - Check with `which python`. It should display something like `.../myvenv/bin/python`.\n4. **Install Dependencies**: Run `pip install -r requirements.txt` and resolve any installation errors. This usually takes some effort, but most things can be resolved with Googling.\n\n### Step 3: Set Up OpenAI\n\n#### Creating an OpenAI Account\n1. **Register for OpenAI**: Sign up for a paid account on OpenAI (around $20/month).\n\n#### Setting Up Assistant ID\n1. **Create an Assistant on OpenAI**: Visit [OpenAI's platform](https://platform.openai.com), and create a new Assistant. You can use `gpt-4` as the model.\n2. **Note the Assistant ID**: Find the `ID` next to your Assistant’s name, like `asst_AAA...`. Keep this window open.\n3. **Configure `.env` File**:\n    - In your working directory, find or create a `.env` file.\n    - Replace the `OPENAI_ASSISTANT_ID` value with your Assistant's ID.\n\n#### Generating API Keys\n1. **Create API Keys on OpenAI**: Still on [OpenAI's platform](https://platform.openai.com), generate a new set of API keys.\n2. **Secure Your API Key**: Note the key, which looks like `sk-abc123...`. It's shown only once!\n3. **Update `.env` File**:\n    - Return to the `.env` file.\n    - Update `OPENAI_API_KEY` with your new API key.\n\n### Step 4: Launch Your App\n1. **Start Flask**: Use PythonAnywhere's interface to run Flask, usually with `Reload Webapp`.\n2. **Access Your Web App**: Visit `{username}.pythonanywhere.com` to see your app in action.\n3. **Enjoy Your Creation**: Experiment and explore your new ChatGPT app!\n4. **Celebrate 🎉**: You've successfully deployed a ChatGPT app!\n\nFor any issues or questions, feel free to open an issue on this Github repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frrmn%2Fchatgpt-anywhere","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frrmn%2Fchatgpt-anywhere","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frrmn%2Fchatgpt-anywhere/lists"}