{"id":21942590,"url":"https://github.com/alleycat1/nextjs-with-flask-server-pro","last_synced_at":"2025-04-22T18:34:29.874Z","repository":{"id":185862692,"uuid":"674177854","full_name":"alleycat1/nextjs-with-flask-server-pro","owner":"alleycat1","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-03T12:42:30.000Z","size":235,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-05-21T05:09:11.795Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/alleycat1.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}},"created_at":"2023-08-03T10:14:13.000Z","updated_at":"2024-01-29T09:50:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"540aa171-017a-42d3-80da-0a1ed4b79cb3","html_url":"https://github.com/alleycat1/nextjs-with-flask-server-pro","commit_stats":null,"previous_names":["alleycat1/nextjs-with-flask-server-pro"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alleycat1%2Fnextjs-with-flask-server-pro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alleycat1%2Fnextjs-with-flask-server-pro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alleycat1%2Fnextjs-with-flask-server-pro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alleycat1%2Fnextjs-with-flask-server-pro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alleycat1","download_url":"https://codeload.github.com/alleycat1/nextjs-with-flask-server-pro/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227034418,"owners_count":17720845,"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":"2024-11-29T03:25:36.869Z","updated_at":"2024-11-29T03:25:37.489Z","avatar_url":"https://github.com/alleycat1.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# File Q\u0026A with Next.js and Flask\n\nFile Q\u0026A is a web app that lets you find answers in your files. You can upload files and ask questions related to their content, and the app will use embeddings and GPT to generate answers from the most relevant files. \\\n\n## Requirements\n\nTo run the app, you need:\n\n- An OpenAI API key. You can create a new API key [here](https://beta.openai.com/account/api-keys).\n- A Pinecone API key and index name. You can create a new account and index [here](https://www.pinecone.io/).\n- Python 3.7 or higher and pipenv for the Flask server.\n- Node.js and npm for the Next.js client.\n\n## Set-Up and Development\n\n### Server\n\nFill out the config.yaml file with your Pinecone API key, index name and environment.\n\nRun the Flask server:\n\n```\ncd server\nbash script/start \"\u003cyour OPENAI_API_KEY\u003e\"\n```\n\n### Client\n\nNavigate to the client directory and install Node dependencies:\n\n```\ncd client\nnpm install\n```\n\nRun the Next.js client:\n\n```\ncd client\nnpm run dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the app.\n\n## Limitations\n\nThe app may sometimes generate answers that are not in the files, or hallucinate about the existence of files that are not uploaded.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falleycat1%2Fnextjs-with-flask-server-pro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falleycat1%2Fnextjs-with-flask-server-pro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falleycat1%2Fnextjs-with-flask-server-pro/lists"}