{"id":30701420,"url":"https://github.com/kanopi/logogeno","last_synced_at":"2025-09-02T13:47:57.353Z","repository":{"id":311776502,"uuid":"990641071","full_name":"kanopi/logogeno","owner":"kanopi","description":"Logogeno is a Python app for generating branded SVG and PNG logos for projects across multiple platforms (like Saplings and Arbor)","archived":false,"fork":false,"pushed_at":"2025-08-26T13:41:15.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-26T18:37:10.389Z","etag":null,"topics":["arbor","internal-tool","saplings"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kanopi.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,"zenodo":null}},"created_at":"2025-05-26T12:17:00.000Z","updated_at":"2025-08-26T13:41:19.000Z","dependencies_parsed_at":"2025-08-26T18:38:24.302Z","dependency_job_id":"bb220f61-45af-4dbc-918c-e936b764beaf","html_url":"https://github.com/kanopi/logogeno","commit_stats":null,"previous_names":["kanopi/logogeno"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/kanopi/logogeno","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanopi%2Flogogeno","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanopi%2Flogogeno/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanopi%2Flogogeno/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanopi%2Flogogeno/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kanopi","download_url":"https://codeload.github.com/kanopi/logogeno/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanopi%2Flogogeno/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273294202,"owners_count":25079893,"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-09-02T02:00:09.530Z","response_time":77,"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":["arbor","internal-tool","saplings"],"created_at":"2025-09-02T13:47:53.698Z","updated_at":"2025-09-02T13:47:57.341Z","avatar_url":"https://github.com/kanopi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌱 Logogeno\n\n**Logogeno** is a Python script for generating branded SVG and PNG logos for\nprojects across multiple platforms (like *Saplings* and *Arbor*). It supports\ndynamic text placement, scalable layout, custom gradients, and embedded font\nstyling using system-installed Playfair Display.\n\n---\n\n## ✨ Features\n\n* Generates 512×512 logos with:\n\n  * Branded background gradients\n  * Platform-specific SVG icon\n  * Stylized platform and repo names (with smart font scaling)\n* Outputs both `.svg` and `.png`\n* Uses **Playfair Display Bold** from your system's installed fonts\n\n---\n\n## 👷️ Prerequisites\n\n### 1. Python\n\nEnsure you have **Python 3.8+** installed.\nCheck with:\n\n```bash\npython3 --version\n```\n\n### 2. Install Python Dependencies\n\nInstall the required Python packages:\n\n```bash\npip install cairosvg\n```\n\n\u003e **Note:** `cairosvg` also requires system-level libraries, including Cairo,\nPango, and GDK-PixBuf. On macOS:\n\u003e\n\u003e ```bash\n\u003e brew install cairo pango gdk-pixbuf\n\u003e ```\n\n### 3. System Font: Playfair Display\n\nYou must have **Playfair Display Bold** installed on your system.\nDownload it from [Google Fonts](https://fonts.google.com/specimen/Playfair+Display)\nand install it manually before running the script.\n\n---\n\n## 📅 Usage\n\n```bash\npython logogeno.py --platform Saplings --repo-name \"Content types\"\npython logogeno.py --platform Arbor --repo-name \"Theme\"\npython logogeno.py --platform \"Drupal AI\" --repo-name \"AI SEO Optimizer\"\n```\n\nThis generates:\n\n* `generated_logos/Saplings-content-types.svg`\n* `generated_logos/Saplings-content-types.png`\n* `generated_logos/Arbor-theme.svg`\n* `generated_logos/Arbor-theme.png`\n\n### Platform-only logo\n\nYou can also just create a platform logo.\n\n```bash\npython logogeno.py --platform Arbor\n```\n\nThis omits the repository name.\n\n### Excluding platform name\n\nUse the `--no-platform-name` flag to generate logos without the platform name:\n\n```bash\npython logogeno.py --platform Saplings --repo-name \"My Project\" --no-platform-name\n```\n\nThis generates a logo showing only \"My Project\" without \"Saplings\" below the icon.\n\n---\n\n## ➕ Adding New Platforms\n\nTo add a new branded platform:\n\n1. Open the `CONFIG` dictionary at the top of the script.\n2. Add a new entry following this format:\n\n```python\n\"MyPlatform\": {\n    \"background_gradient_1\": \"#hex1\",\n    \"background_gradient_2\": \"#hex2\",\n    \"background_gradient_3\": \"#hex3\",\n    \"background_color\": \"#hexFallback\",\n    \"foreground_color\": \"#hexText\",\n    \"gradient_1\": \"0%\",\n    \"gradient_2\": \"30%\",\n    \"gradient_3\": \"100%\",\n    \"svg_path\": '''\u003csvg\u003e...your platform icon here...\u003c/svg\u003e'''\n}\n```\n\n\u003e **SVG Icon Notes:**\n\u003e\n\u003e * Must be embedded as a string inside triple quotes (`'''`)\n\u003e * Must use a **400×400 coordinate space**\n\u003e * Use `fill` or `stroke` with `foreground_color` to colorize\n\n---\n\n## 🎨 Customization\n\n* Font: Uses **Playfair Display Bold**, which must be installed on your system\n* Font size auto-scales for long names\n* SVG background uses a **4-stop gradient** for custom ramping control\n\n---\n\n## 📂 Output Directory\n\nAll generated logos are saved in:\n\n```\ngenerated_logos/\n  ├— Saplings-example.svg\n  └— Saplings-example.png\n```\n\n---\n\n## ✅ Example\n\n```bash\npython logogeno.py --platform Arbor --repo-name \"VeryLongRepositoryNameThatWillBeScaled\"\n```\n\n## 🧩 Contributing\n\nFeel free to open issues or submit pull requests to improve the script.\nContributions are welcome and encouraged!\n\n## 💼 Sponsorship\n\nDevelopment of Logogeno is proudly sponsored by\n[Kanopi Studios](https://kanopi.com), a digital agency focused on thoughtful\nwebsite design and development.\n\n---\n\n## 📄 License\n\nThis script is available under the GNU General Public License v3.0. See the\nLICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkanopi%2Flogogeno","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkanopi%2Flogogeno","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkanopi%2Flogogeno/lists"}