{"id":30109133,"url":"https://github.com/monkeywie/typix","last_synced_at":"2026-06-09T14:31:43.072Z","repository":{"id":308336188,"uuid":"990142496","full_name":"monkeyWie/typix","owner":"monkeyWie","description":"开源AI生图工具，免登录畅玩 FLUX2、SDXL，支持 cloudflare workers 一键部署自托管，并集成各大主流AI提供商，提供一站式的创作体验。 ","archived":false,"fork":false,"pushed_at":"2026-02-06T10:34:22.000Z","size":1380,"stargazers_count":98,"open_issues_count":0,"forks_count":22,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-31T06:32:00.532Z","etag":null,"topics":["ai","cloudflare-workers","flux","gpt-image-1","image-generation","nanobanana","qwen"],"latest_commit_sha":null,"homepage":"https://typix.art/home","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/monkeyWie.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-25T15:35:21.000Z","updated_at":"2026-03-24T09:36:35.000Z","dependencies_parsed_at":"2025-08-05T12:28:38.018Z","dependency_job_id":"2230231e-cf0f-4723-a241-957ef0b42789","html_url":"https://github.com/monkeyWie/typix","commit_stats":null,"previous_names":["monkeywie/typix"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/monkeyWie/typix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monkeyWie%2Ftypix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monkeyWie%2Ftypix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monkeyWie%2Ftypix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monkeyWie%2Ftypix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/monkeyWie","download_url":"https://codeload.github.com/monkeyWie/typix/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monkeyWie%2Ftypix/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34112225,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"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":["ai","cloudflare-workers","flux","gpt-image-1","image-generation","nanobanana","qwen"],"created_at":"2025-08-10T03:40:37.953Z","updated_at":"2026-06-09T14:31:43.066Z","avatar_url":"https://github.com/monkeyWie.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Typix - 输入即图像\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/monkeyWie/typix/releases\"\u003e\u003cimg src=\"https://img.shields.io/github/release/monkeyWie/typix.svg\" alt=\"Version\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://hub.docker.com/r/liwei2633/typix\"\u003e\u003cimg src=\"https://img.shields.io/docker/v/liwei2633/typix?label=Docker\u0026color=blue\" alt=\"Docker\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.apache.org/licenses/LICENSE-2.0\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-Apache%202.0-green.svg\" alt=\"License\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e简体中文 | \u003ca href=\"README_en-US.md\"\u003eEnglish\u003c/a\u003e\u003c/p\u003e\n\nTypix 是一款现代化、开源、易用、隐私安全的 AI 工具，专注于媒体内容生成领域，为广大 AI 创作者提供一站式的生成体验，支持一键部署到 Cloudflare Workers 并且免费使用 Cloudflare Workers AI 模型。\n\n![](docs/public/images/demo/preview.png)\n\n## 🎯 快速使用\n\n无需注册登录，即刻体验 AI 生图服务，涵盖 Flux、SDXL 等模型（每日免费额度有限，先到先得）。\n\n- [https://typix.art](https://typix.art)\n  生产级稳定版本，支持云同步\n- [https://preview.typix.art](https://preview.typix.art)\n  抢先体验最新功能和改进\n\n## ✨ 核心特性\n\n专注 AI 图像生成，让创意瞬间成为视觉艺术\n\n- 📱 **本地优先** - 优先使用本地存储和离线功能\n- 🏠 **自托管部署** - 完全掌控您的数据和隐私\n- 🎁 **免费生图** - 免费使用 Cloudflare Workers AI 生图\n- ☁️ **一键部署** - Docker 和 Cloudflare Workers 快速上线\n- 🤖 **多模型支持** - 支持多种 AI 模型和服务提供商\n- 🔄 **云同步** - 在所有设备间无缝同步您的内容\n\n## 🔒 数据安全\n\nTypix 将您的数据安全和隐私保护放在首位：\n\n- **🛡️ 浏览器本地存储** - 基于 WASM SQLite 技术，所有数据完全存储在您的浏览器上\n- **🔐 零数据上传** - 您的创作内容、设置信息等敏感数据从不离开您的设备\n- **🚫 无服务器依赖** - 客户端模式无需依赖外部服务器，保障数据主权\n- **🔄 可选云同步** - 支持可选的云同步功能\n\n您的创意和隐私，我们一并守护。\n\n## ⚡ 领先 AI 模型驱动\n\n集成最先进的 AI 模型和服务，为您提供最佳的图像生成体验：\n\n- **Google** - 先进的 AI 模型，具备前沿的图像生成能力\n- **OpenAI** - 业界领先的 AI 技术\n- **Flux** - 高质量图像生成模型\n- **Fal** - 快速 AI 推理服务\n- **Cloudflare** - 免费 AI 模型支持\n\n更多服务商和模型正在持续接入中。\n\n## 🚀 快速部署\n\n### Cloudflare Workers 一键部署（推荐）\n\n[![Deploy to Cloudflare](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/monkeyWie/typix)\n\nCloudflare Workers 部署可以免费享受 Cloudflare AI 提供的图像生成服务。\n\n\u003e 部署成功后，您将获得一个 `typix.xxx.workers.dev` 域名，即可开始使用！\n\n### Docker 部署\n\n```bash\ndocker run --name typix -d -p 9999:9999 liwei2633/typix\n```\n\n### Node.js 部署\n\n#### 前置要求\n\n- Node.js 20+\n- pnpm 或 npm\n\n#### 部署步骤\n\n1. **克隆并安装**\n\n```bash\ngit clone https://github.com/monkeyWie/typix.git\ncd typix\npnpm install\n```\n\n2. **配置环境变量**\n\n```bash\ncp .env.node.example .env\n# 编辑 .env 文件配置必要参数\n```\n\n3. **数据库初始化**\n\n```bash\npnpm db:generate\npnpm db:migrate\n```\n\n4. **构建项目**\n\n```bash\npnpm build:node\n```\n\n5. **启动服务**\n\n```bash\nnode .bin/node.js\n```\n\n## 🛠️ 开发文档\n\n### 技术栈\n\n**前端框架：**\n\n- **React 18** - 现代化 UI 框架\n- **TypeScript** - 类型安全的 JavaScript\n- **Tailwind CSS** - 原子化 CSS 框架\n- **shadcn/ui** - 高质量 UI 组件库\n- **Tanstack Router** - 类型安全的路由管理\n- **Zustand** - 轻量级状态管理\n- **BetterAuth** - 现代化认证解决方案\n\n**后端框架：**\n\n- **Hono.js** - 轻量级 Web 框架\n- **SQLite** - 嵌入式数据库\n- **Drizzle ORM** - 类型安全的 ORM\n\n**开发工具：**\n\n- **Vite** - 快速构建工具\n- **Biome** - 代码格式化和检查\n- **pnpm** - 包管理器\n\n### 本地开发指引\n\n#### 环境准备\n\n1. **安装 Node.js 20+**\n2. **安装 pnpm**\n\n```bash\nnpm install -g pnpm\n```\n\n#### 开发流程\n\n1. **克隆项目**\n\n```bash\ngit clone https://github.com/monkeyWie/typix.git\ncd typix\n```\n\n2. **安装依赖**\n\n```bash\npnpm install\n```\n\n3. **数据库初始化**\n\n```bash\n# 生成数据库迁移文件\npnpm db:generate\n\n# 执行迁移\npnpm db:migrate\n```\n\n4. **启动开发服务器**\n\n```bash\n# 启动前端开发服务器\npnpm dev\n```\n\n#### 项目结构\n\n```\nsrc/\n├── app/                    # 前端应用\n│   ├── components/         # React 组件\n│   ├── hooks/             # 自定义 Hooks\n│   ├── routes/            # 路由页面\n│   ├── stores/            # 状态管理\n│   └── lib/               # 工具库\n├── server/                # 后端服务\n│   ├── api/               # API 路由\n│   ├── ai/                # AI 提供商集成\n│   ├── db/                # 数据库模式\n│   └── service/           # 业务逻辑\n```\n\n## 📄 开源协议\n\n本项目采用 [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0) 开源协议。\n\n您可以自由地：\n\n- ✅ 商业使用\n- ✅ 修改代码\n- ✅ 分发项目\n- ✅ 私人使用\n\n但需要：\n\n- 📝 保留版权声明\n- 📝 包含许可证文件\n- 📝 声明重大更改\n\n---\n\n如果这个项目对您有帮助，请考虑给我们一个 ⭐ Star！\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonkeywie%2Ftypix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmonkeywie%2Ftypix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonkeywie%2Ftypix/lists"}