{"id":29253493,"url":"https://github.com/kelwynoliveira/loki","last_synced_at":"2025-07-04T02:06:38.918Z","repository":{"id":302166550,"uuid":"1010897465","full_name":"kelwynOliveira/loki","owner":"kelwynOliveira","description":"AI-powered content assistant built with Streamlit + Gemini. Generate scripts, SEO titles, descriptions, tags, and thumbnails for YouTube — ready to expand to Instagram, TikTok \u0026 LinkedIn.","archived":false,"fork":false,"pushed_at":"2025-06-30T23:16:11.000Z","size":152,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-30T23:33:45.096Z","etag":null,"topics":["ai-tools","gemini","generative-ai","python","streamlit"],"latest_commit_sha":null,"homepage":"","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/kelwynOliveira.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-30T02:19:21.000Z","updated_at":"2025-06-30T23:16:13.000Z","dependencies_parsed_at":"2025-07-01T17:45:38.514Z","dependency_job_id":null,"html_url":"https://github.com/kelwynOliveira/loki","commit_stats":null,"previous_names":["kelwynoliveira/loki"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kelwynOliveira/loki","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kelwynOliveira%2Floki","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kelwynOliveira%2Floki/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kelwynOliveira%2Floki/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kelwynOliveira%2Floki/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kelwynOliveira","download_url":"https://codeload.github.com/kelwynOliveira/loki/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kelwynOliveira%2Floki/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263432282,"owners_count":23465576,"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-tools","gemini","generative-ai","python","streamlit"],"created_at":"2025-07-04T02:02:53.649Z","updated_at":"2025-07-04T02:06:38.900Z","avatar_url":"https://github.com/kelwynOliveira.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Python](https://img.shields.io/badge/python-3670A0?style=for-the-badge\u0026logo=python\u0026logoColor=ffdd54) [![Streamlit](https://img.shields.io/badge/Built%20with-Streamlit-FF4B4B?logo=streamlit\u0026logoColor=white)](https://streamlit.io/) ![Google Gemini](https://img.shields.io/badge/google%20gemini-8E75B2?style=for-the-badge\u0026logo=google%20gemini\u0026logoColor=white)\n\n# 🎬 Loki - Social Media Content Generator with Gemini + Streamlit\n\nAn interactive AI-powered content assistant for creators who want to ideate, write, design, and optimize content for platforms like **YouTube**, **Instagram**, **TikTok**, and **LinkedIn** — all in one streamlined app.\n\nBuilt with **Streamlit**, this app uses **Gemini (Google Generative AI)** to generate:\n\n- 📜 Full video scripts with hook, intro, body, and CTA\n- 🧠 SEO-optimized video titles with justification\n- ✍️ Descriptions and tags tailored for reach\n- 🖼️ AI-generated thumbnails based on custom prompts\n- 💾 Saved audience/context info to personalize generation\n\n\u003e Currently focused on **YouTube**, but structured to support multi-platform expansion soon.\n\n---\n\n## 🖼️ Preview\n\n![Loki](./assets/loki.png)\n\n---\n\n## ✨ Features\n\n### 📺 YouTube Tools\n\n- Generate detailed video scripts with structure and flow\n- Create multiple SEO titles and auto-select the best\n- AI-assisted description and keyword/tag generation\n- Generate up to 3 unique thumbnail images using Gemini\n- Copy entire output to clipboard for publishing\n\n### 🧠 Personalized AI Context\n\n- Save information about your content style and audience\n- Reuse context to generate better results across sessions\n\n### 🛠️ Modular Architecture\n\n- Each platform (YouTube, Instagram, etc.) lives in its own file under `pages/`\n- Easy to expand: just add a new `.py` page and link it in `main.py`\n\n---\n\n## 🧩 Project Structure\n\n```bash\nstreamlit/\n├── main.py                  # Entry point with Streamlit navigation\n├── aux.py                   # Shared utility functions (AI, image, info)\n├── pages/\n│   ├── home.py              # Home screen (basic welcome/info)\n│   ├── youtube.py           # YouTube content generator\n│   └── saved_info.py        # Save your creator info \u0026 audience profile\n```\n\n---\n\n## 💡 How it Works\n\n### 🧠 Powered by:\n\n- [Google Gemini 2.5](https://deepmind.google/technologies/gemini/) (text generation)\n- [Gemini image generation](https://ai.google.dev/docs/gemini/generate_images)\n- [Streamlit](https://streamlit.io/) (UI and interactivity)\n- [Python](https://www.python.org/) (clean, modular backend)\n- `dotenv`, `pyperclip`, `Pillow`, and more\n\n---\n\n## 🚀 Running Locally\n\n### 🧱 Prerequisites:\n\n- Python 3.10+\n- A `.env` file with your Gemini API key:\n\n```env\nGOOGLE_API_KEY=your-key-here\n```\n\n### 🧪 Install dependencies:\n\n```bash\npip install -r requirements.txt\n```\n\n### ▶️ Launch the app:\n\n```bash\nstreamlit run main.py\n```\n\n---\n\n## 🧠 Planned Platforms\n\nThis project is structured to easily support additional social platforms:\n\n| Platform  | Status     | Features (planned)                                  |\n| --------- | ---------- | --------------------------------------------------- |\n| YouTube   | ✅ Done    | Scripts, SEO titles, descriptions, tags, thumbnails |\n| Instagram | 🟡 Planned | Carousel, image prompts                             |\n| TikTok    | 🟡 Planned | Script outline, hook generator, timing optimization |\n| LinkedIn  | 🟡 Planned | Thought-leadership posts, carousel scripts, titles  |\n\n---\n\n## 📌 Tip\n\nIf you're working on content consistently, consider saving your:\n\n- Bio, product, or channel details\n- Target audience\n- Writing tone or reference examples\n\n\u003e Just go to the **“saved_infos”** page in the app and store them securely for AI reuse.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkelwynoliveira%2Floki","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkelwynoliveira%2Floki","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkelwynoliveira%2Floki/lists"}