{"id":28376694,"url":"https://github.com/sarvamm/brainbrew","last_synced_at":"2026-05-11T07:52:01.975Z","repository":{"id":294804952,"uuid":"988130468","full_name":"Sarvamm/Brainbrew","owner":"Sarvamm","description":"AI powered study partner that can generate notes, qnas and quizes.","archived":false,"fork":false,"pushed_at":"2025-05-22T05:57:33.000Z","size":95,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-30T00:07:35.740Z","etag":null,"topics":["ai","generative-ai","langchain","llms","python","streamlit"],"latest_commit_sha":null,"homepage":"https://brain-brew.streamlit.app/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sarvamm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null},"funding":{"github":"sarvamm","buy_me_a_coffee":"astrayn"}},"created_at":"2025-05-22T05:20:25.000Z","updated_at":"2025-05-22T05:59:22.000Z","dependencies_parsed_at":"2025-05-22T06:38:29.270Z","dependency_job_id":null,"html_url":"https://github.com/Sarvamm/Brainbrew","commit_stats":null,"previous_names":["sarvamm/brainbrew"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Sarvamm/Brainbrew","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sarvamm%2FBrainbrew","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sarvamm%2FBrainbrew/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sarvamm%2FBrainbrew/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sarvamm%2FBrainbrew/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sarvamm","download_url":"https://codeload.github.com/Sarvamm/Brainbrew/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sarvamm%2FBrainbrew/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260827322,"owners_count":23068940,"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":["ai","generative-ai","langchain","llms","python","streamlit"],"created_at":"2025-05-30T00:07:35.624Z","updated_at":"2026-05-11T07:52:01.969Z","avatar_url":"https://github.com/Sarvamm.png","language":"Python","funding_links":["https://github.com/sponsors/sarvamm","https://buymeacoffee.com/astrayn"],"categories":[],"sub_categories":[],"readme":" ![🧠Brainbrew logo](assets/logo.png)\n\n\n[BrainBrew](\"https://brain-brew.streamlit.app/\") is a Streamlit application that uses **AI** (Large Language Models) to help users learn.\nIt takes user-provided *topics* and an *API key* to generate **detailed notes**, **question/answer pairs**, and **interactive multiple-choice quizzes**.\nThe app manages user data and progress using *session state* across different features.\n\n\n\n## Visual Overview\n\n```mermaid\nflowchart TD\n    A0[\"Streamlit Application Structure\n\"]\n    A1[\"Session State Management\n\"]\n    A2[\"LLM Communication Layer\n\"]\n    A3[\"Prompt Engineering\n\"]\n    A4[\"Structured Output Handling\n\"]\n    A5[\"Content Generation Pipelines (LangChain Chains)\n\"]\n    A6[\"Interactive Quiz Logic\n\"]\n    A7[\"User Configuration \u0026 Input\n\"]\n    A0 -- \"Manages State\" --\u003e A1\n    A0 -- \"Provides UI for Input\" --\u003e A7\n    A7 -- \"Stores Configuration\" --\u003e A1\n    A7 -- \"Supplies Topics\" --\u003e A5\n    A7 -- \"Supplies API Key\" --\u003e A2\n    A5 -- \"Interacts with LLM\" --\u003e A2\n    A5 -- \"Applies Prompting\" --\u003e A3\n    A5 -- \"Enforces Structure\" --\u003e A4\n    A5 -- \"Saves Generated Content\" --\u003e A1\n    A5 -- \"Generates Quiz Data for\" --\u003e A6\n    A6 -- \"Updates Progress State\" --\u003e A1\n```\n\n## Chapters\n\n1. [Streamlit Application Structure\n](tutorial/01_streamlit_application_structure_.md)\n2. [User Configuration \u0026 Input\n](tutorial/02_user_configuration___input_.md)\n3. [Session State Management\n](tutorial/03_session_state_management_.md)\n4. [LLM Communication Layer\n](tutorial/04_llm_communication_layer_.md)\n5. [Content Generation Pipelines (LangChain Chains)\n](tutorial/05_content_generation_pipelines__langchain_chains__.md)\n6. [Prompt Engineering\n](tutorial/06_prompt_engineering_.md)\n7. [Structured Output Handling\n](tutorial/07_structured_output_handling_.md)\n8. [Interactive Quiz Logic\n](tutorial/08_interactive_quiz_logic_.md)\n\n\n---","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsarvamm%2Fbrainbrew","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsarvamm%2Fbrainbrew","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsarvamm%2Fbrainbrew/lists"}