[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-81447":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":13,"contributorsCount":13,"subscribersCount":13,"size":13,"stars1d":13,"stars7d":15,"stars30d":16,"stars90d":13,"forks30d":13,"starsTrendScore":13,"compositeScore":17,"rankGlobal":10,"rankLanguage":10,"license":10,"archived":18,"fork":18,"defaultBranch":19,"hasWiki":20,"hasPages":18,"topics":21,"createdAt":10,"pushedAt":10,"updatedAt":22,"readmeContent":23,"aiSummary":24,"trendingCount":13,"starSnapshotCount":13,"syncStatus":16,"lastSyncTime":25,"discoverSource":26},81447,"hugo-flow","arashThr\u002Fhugo-flow","arashThr","Simple rich-text CMS for Hugo weblogs. Try at https:\u002F\u002Fhugo-flow.arashtaher.com","",null,"TypeScript",34,0,32,1,2,37.7,false,"main",true,[],"2026-06-12 04:01:33","# Hugo-Flow: Front-end interface for Hugo blogs on GitHub\n\nA web-based front-end interface for Hugo static blogs hosted on GitHub.\n\n**Start writing blog posts:** [hugo-flow.arashtaher.com\u002F](https:\u002F\u002Fhugo-flow.arashtaher.com\u002F)\n\n## Features\n- **GitHub Integration:** Commit files directly to your repository via the GitHub API.\n- **Dynamic Configuration:** Select your repository and paths dynamically via the UI.\n- **Dual Editor Mode:** Switch seamlessly between a WYSIWYG Rich Text editor and a raw Markdown editor.\n- **Image Uploads:** Upload images and have them automatically pushed as base64 blobs alongside your markdown post.\n\n## Philosophy & Niche\n\nThere are several established alternatives in the Git CMS space (like Decap CMS, Sveltia CMS, Pages CMS, and Quiqr). However, they generally require you to trade simplicity for flexibility. For example:\n- **Decap CMS \u002F Sveltia CMS:** You must install and configure the CMS directly inside your repository.\n- **Pages CMS:** Requires you to install a GitHub App on your account\u002Forganization and manage a config file.\n- **Quiqr:** Requires downloading a desktop app.\n\n**Hugo-Flow is different.** The goal is total **zero-setup simplicity**. \n\nBy exclusively supporting GitHub repositories and interacting entirely through the GitHub API, the application remains completely stateless, secure, and configuration-free. There are no extra files added to your repo and no intrusive permission scopes required. \n\nYou are literally two clicks away from editing a post: just **Sign in with GitHub**, select your repository, and start writing.\n\n## Local Development\n\n1. Set up your `.env.local` file:\n```env\nNEXTAUTH_URL=http:\u002F\u002Flocalhost:3000\nNEXTAUTH_SECRET=your_random_secret_here\nGITHUB_ID=your_github_oauth_id\nGITHUB_SECRET=your_github_oauth_secret\n```\n\n2. Run the development server:\n```bash\nnpm install\nnpm run dev\n```\n\n## Production Deployment (Standard Node.js)\n\nIf you are not using Docker, you can run the application directly using Node.js:\n\n1. Ensure your `.env.local` is configured with your production keys and URL.\n2. Build the optimized production bundle:\n```bash\nnpm run build\n```\n3. Start the production server:\n```bash\nnpm start\n```\nThe application will be running on `http:\u002F\u002Flocalhost:3000`.\n\n## Production Deployment (Docker + Caddy)\n\nThis application is ready to be deployed using Docker and Docker Compose. It leverages Next.js standalone output for a highly optimized, minimal container size.\n\n### 1. Update GitHub OAuth App\nUpdate your GitHub OAuth App's \"Authorization callback URL\" to your production domain:\n`https:\u002F\u002Fyour-domain.com\u002Fapi\u002Fauth\u002Fcallback\u002Fgithub`\n\n### 2. Set Production Environment Variables\nCreate a `.env` file on your server in the same directory as `docker-compose.yml`:\n```env\nNEXTAUTH_URL=https:\u002F\u002Fyour-domain.com\nNEXTAUTH_SECRET=your_secure_random_string (generate via: openssl rand -base64 32)\nGITHUB_ID=your_production_github_id\nGITHUB_SECRET=your_production_github_secret\n```\n\n### 3. Run with Docker Compose\nStart the application in the background:\n```bash\ndocker-compose up -d --build\n```\nThis will expose the app on port `3000` of your host machine.\n\n### 4. Setup Caddy Reverse Proxy\nIf you are using Caddy to serve your domain, simply add this block to your `Caddyfile`:\n\n```caddyfile\nyour-domain.com {\n    reverse_proxy localhost:3000\n}\n```\n\nReload Caddy (`caddy reload`), and your application will be securely available over HTTPS!\n\n+++","Hugo-Flow 是一个为 Hugo 静态博客提供基于 Web 的前端界面的简单富文本 CMS。其核心功能包括通过 GitHub API 直接提交文件到仓库、动态配置仓库路径、支持 WYSIWYG 富文本编辑器和原始 Markdown 编辑器之间的无缝切换，以及图片上传并自动推送到 Markdown 文档中。该项目使用 TypeScript 开发，旨在为用户提供零设置的简便性，特别适合那些希望在 GitHub 上托管 Hugo 博客且不希望进行复杂配置的用户。与其他 Git CMS 解决方案相比，Hugo-Flow 无需安装额外应用或管理配置文件，只需通过 GitHub 登录即可开始编辑，极大简化了博客写作流程。","2026-06-11 04:05:06","CREATED_QUERY"]