{"id":22248653,"url":"https://github.com/semaj87/llm-post-generator","last_synced_at":"2026-04-12T18:21:10.961Z","repository":{"id":209666283,"uuid":"724563519","full_name":"semaj87/llm-post-generator","owner":"semaj87","description":"Using LLMs \u0026 the SERP API to retrieve information on a given topic, which is then used to generate a Reddit post","archived":false,"fork":false,"pushed_at":"2023-11-28T18:27:08.000Z","size":172,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T11:49:43.776Z","etag":null,"topics":["css","generative-ai","gpt-3-5-turbo","langchain","llms","openai","serpapi","streamlit-webapp","transformers"],"latest_commit_sha":null,"homepage":"https://llm-post-generator.streamlit.app/","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/semaj87.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":"2023-11-28T10:38:59.000Z","updated_at":"2024-02-13T06:48:06.000Z","dependencies_parsed_at":"2025-03-25T11:45:10.874Z","dependency_job_id":"90a395d5-dcc9-41c9-a87c-911557156be9","html_url":"https://github.com/semaj87/llm-post-generator","commit_stats":null,"previous_names":["semaj87/llm-post-generator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/semaj87/llm-post-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semaj87%2Fllm-post-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semaj87%2Fllm-post-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semaj87%2Fllm-post-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semaj87%2Fllm-post-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/semaj87","download_url":"https://codeload.github.com/semaj87/llm-post-generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semaj87%2Fllm-post-generator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266922943,"owners_count":24006985,"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-07-24T02:00:09.469Z","response_time":99,"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":["css","generative-ai","gpt-3-5-turbo","langchain","llms","openai","serpapi","streamlit-webapp","transformers"],"created_at":"2024-12-03T06:17:13.769Z","updated_at":"2026-04-12T18:21:05.926Z","avatar_url":"https://github.com/semaj87.png","language":"Python","readme":"# LLM post generator\nAn app that uses the SERP API together with the gpt-3.5-turbo model to generate a Reddit post. This is achieved by using\nLangChain and prompt templates to chain everything together, and generate the desired result.\n\nThe following process underpins the end-to-end app functionality:\n* A topic of choice is entered into the web application which forms the [SERP](https://serper.dev/) query\n* The next step is used to find the best URL using a prompt template and the gpt-3.5-turbo model\n* Once the URL are returned, LangChain is used to fetch the data from the URL\n* Then the process summarises the fetched data, using the gpt-3.5-turbo and prompt template\n* Finally, LangChain and prompt templates are used in tandem with gpt-3.5-turbo to generate a Reddit post\n\n\n## System design\n\n![system-design](img/system-design.drawio.png)\n\n\n## Models\n\n- [gpt-3.5-turbo](https://platform.openai.com/docs/models/gpt-3-5)\n\n\n## Requirements\n\n```bash\npython -m pip install -r requirements.txt\n```\n\n\n## Run App Locally\n\n```bash\nsource build.sh\n```\n\n\n## Run App with Streamlit Cloud\n\n[Launch App](https://llm-post-generator.streamlit.app/)\n\n\n## License\n\nDistributed under the MIT License. See `LICENSE` for more information.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsemaj87%2Fllm-post-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsemaj87%2Fllm-post-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsemaj87%2Fllm-post-generator/lists"}