{"id":19599959,"url":"https://github.com/apsinghanalytics/streamlit_venturegen","last_synced_at":"2026-05-05T14:31:44.649Z","repository":{"id":214571813,"uuid":"736536925","full_name":"apsinghAnalytics/streamlit_VentureGen","owner":"apsinghAnalytics","description":"A LangChain and OpenAI GPT 3.5 powered app to brainstorm Startup name and pitch","archived":false,"fork":false,"pushed_at":"2024-02-04T03:31:07.000Z","size":3033,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T15:27:47.177Z","etag":null,"topics":["aws-ec2","langchain","large-language-models","openai","streamlit"],"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/apsinghAnalytics.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}},"created_at":"2023-12-28T07:07:51.000Z","updated_at":"2024-01-29T21:11:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"75a63f0d-5265-4282-8b6b-44414bd63875","html_url":"https://github.com/apsinghAnalytics/streamlit_VentureGen","commit_stats":null,"previous_names":["apsinghanalytics/venturegen"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/apsinghAnalytics/streamlit_VentureGen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apsinghAnalytics%2Fstreamlit_VentureGen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apsinghAnalytics%2Fstreamlit_VentureGen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apsinghAnalytics%2Fstreamlit_VentureGen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apsinghAnalytics%2Fstreamlit_VentureGen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apsinghAnalytics","download_url":"https://codeload.github.com/apsinghAnalytics/streamlit_VentureGen/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apsinghAnalytics%2Fstreamlit_VentureGen/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32653476,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"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":["aws-ec2","langchain","large-language-models","openai","streamlit"],"created_at":"2024-11-11T09:13:04.919Z","updated_at":"2026-05-05T14:31:44.423Z","avatar_url":"https://github.com/apsinghAnalytics.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VentureGen\nA LangChain and OpenAI GPT 3.5 powered app to brainstorm Startup name and pitch\n\nCheckout the deployed app in action: [http://ec2-40-176-10-24.ca-west-1.compute.amazonaws.com:8501](http://ec2-40-176-10-24.ca-west-1.compute.amazonaws.com:8501)\n\nThis readme will focus only on the **app deployment instructions**. For more details, please read the blog for this app [here](https://apsinghanalytics.github.io/2023/12/23/VentureForge_A_LangchainApp/)\n\nThis streamlit app was deployed to an ec2 instance following the instructions in Rahul Agarwal's blog, which you can find [here](https://towardsdatascience.com/how-to-deploy-a-streamlit-app-using-an-amazon-free-ec2-instance-416a41f69dc3)\n\nThere were additonal changes required, which are listed below:\n\n### Install Additional Libraries\n\nThe command pip install plotly_express is not required. However, the following libraries should be installed on your EC2 instance:\n\npip install streamlit\n\npip install st-annotated-text\n\npip install langchain\n\npip install openai\n\n### Error Connecting by SSH \n\nIf you start getting the following error, especially when using a WSL (Windows Subsystem for Linux)\n\n**\"It is required that your private key files are NOT accessible by others. This private key will be ignored\"**\n\nthen copy the pem file from the folder in which it was placed to the root of the WSH by the following command:\n\n**cp /mnt/c/AWS/streamlitapp.pem ~/** \n\nNote: In my case, the PEM file for Windows was located at 'C:\\AWS\\streamlitapp.pem'. Additionally, the file was named 'streamlitapp.pem'.\n\nthen move to the root directory of the WSL by: \n\n**cd ~**\n\nthen apply:\n\n**chmod 400 streamlitapp.pem**\n\nThe idea is to restrict the permissions of the pem file by making it read-only for security reasons. This should allow the private keys in this file to work via the SSH protocol. Then simply continue with the next steps listed in the blog: \n\n**ssh -i \"streamlitapp.pem\" ubuntu@ec2-instance-public-ip**\n\n### Transfering the API Credentials File to the EC2 Instance\n\nOnce the git clone of the repo is done, the **creds.py** file with the API key will be required to run the app. Cloning will not copy this file because it is listed in  the.gitignore file\n\ncopy paste your creds.py file in a folder in c drive in Windows (say \"C:\\AWS\\\") and then use the following command to copy it to the root directory of your WSL\n\n**cp /mnt/c/aws/creds.py ~/**\n\nThen use scp protocol to do a **secure copy**:\n\n**scp -i /path/to/your-key.pem /path/to/local/file ubuntu@ec2-instance-public-ip:~/path/to/remote/directory**\n\nwhich translate to the following in my case (use your instance's public ip):\n\n**scp -i streamlitapp.pem creds.py ubuntu@ec2-instance-public-ip:~/streamlit_VentureGen/**\n\n### Generate the requirements.txt\n\nonce logged in to the ec2 instance session, move to the streamlit_VentureGen using:\n\n**cd streamlit_VentureGen**\n\nand then do the following:\n\n**pip freeze \u003e requirements.txt**\n\nwhich should create a requirements.txt inside the streamlit_VentureGen folder. This can then be transferred back to WSL by SCP protocol.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapsinghanalytics%2Fstreamlit_venturegen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapsinghanalytics%2Fstreamlit_venturegen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapsinghanalytics%2Fstreamlit_venturegen/lists"}