{"id":13453470,"url":"https://github.com/minlearn/discuss","last_synced_at":"2025-03-24T01:31:38.278Z","repository":{"id":229199156,"uuid":"772912205","full_name":"minlearn/appp","owner":"minlearn","description":"省事一键云机商店(apps of pve)🚀🎉","archived":false,"fork":false,"pushed_at":"2025-01-04T19:18:30.000Z","size":15176,"stargazers_count":42,"open_issues_count":0,"forks_count":31,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-04T20:19:19.033Z","etag":null,"topics":["bbs","blog","cloudflare","community","forum","lxc","serverless","social"],"latest_commit_sha":null,"homepage":"https://appp.st","language":"CSS","has_issues":false,"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/minlearn.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}},"created_at":"2024-03-16T08:07:17.000Z","updated_at":"2025-01-04T19:18:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"59cfac8d-d2c7-4df5-9be5-81530da97779","html_url":"https://github.com/minlearn/appp","commit_stats":null,"previous_names":["minlearn/locnode","minlearn/mujj","minlearn/discuss","minlearn/appp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minlearn%2Fappp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minlearn%2Fappp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minlearn%2Fappp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minlearn%2Fappp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/minlearn","download_url":"https://codeload.github.com/minlearn/appp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245194243,"owners_count":20575727,"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":["bbs","blog","cloudflare","community","forum","lxc","serverless","social"],"created_at":"2024-07-31T08:00:40.559Z","updated_at":"2025-03-24T01:31:33.246Z","avatar_url":"https://github.com/minlearn.png","language":"CSS","funding_links":[],"categories":["其他"],"sub_categories":[],"readme":"[演示与特性](#演示与特性) | [下载安装及用法](#下载安装及用法) | [服务及支持](#服务及支持)\n\ndiscuss: 以pve为baas的轻量可联合社交化平台(可cf部署)🚀🎉\n=====\n\n\n鉴于现在的主机论很难玩又融入奇特化\n发布这个新的创新选择小玩具\n可作为论坛+PVE前端\n\n\u003e 全称为discuss,以pve为baas，进行管理/部署和开发的，轻量可联合社交化平台 ..  \n\n项目地址：[https://github.com/minlearn/discuss](https://github.com/minlearn/discuss)\n\n演示与特性✨\n-----\n\n\n![](https://github.com/minlearn/discuss/raw/master/_build/assets/discuss.png)\n\n\n\n下载安装及用法📄\n-----\n\n共3步\n\n### 第一步. Fork本仓库到你的GitHub帐号\n\n登你的github，然后点击 https://github.com/minlearn/discuss/fork 把仓库fork到你的github帐号\n\n### 第二步. 在你fork到的仓库里面加几个部署相关的密码变量\n\n进入你fork到的仓库的 [Settings -\u003e Secrets -\u003e Actions](../../settings/secrets/actions), 创建几个部署相关的密码变量，共3个（最后2个r2相关的不需要），如何获取这些变量及如何复制为变量(请展开查看细节)：  \n\n![](https://user-images.githubusercontent.com/1719237/205524410-268abf92-af61-467a-8883-78b8d4de3c56.png)\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cb\u003e如何获得CLOUDFLARE_ACCOUNT_ID变量\u003c/b\u003e\u003c/summary\u003e\n登录cf面板会自动跳到:https://dash.cloudflare.com/[你的帐号id]  ，比如这样：https://dash.cloudflare.com/fff88980eeeeedcc3ffffd4f555f4999，  后面的 * fff88980eeeeedcc3ffffd4f555f4999 * 就是帐号id  \n将其复制到仓库的[Settings -\u003e Secrets -\u003e Actions](../../settings/secrets/actions) 处即可，注意复制到不要有多余字符，会显示为星号，\n\u003cIMG src=\"https://user-images.githubusercontent.com/1719237/208216752-56f00f51-29cb-43ea-b720-75244719898d.png\"/\u003e\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cb\u003e如何获得CLOUDFLARE_API_TOKEN变量\u003c/b\u003e\u003c/summary\u003e\n登录cf，定位到: https://dash.cloudflare.com/profile/api-tokens  创建一个custom token:  \n\u003cIMG src=\"https://user-images.githubusercontent.com/1719237/205525627-14da54ae-1733-4db5-b65d-94f5ec48f360.png\"/\u003e\n修改token的权限，放行Cloudflare Pages 和 D1:\n\u003cIMG src=\"https://user-images.githubusercontent.com/1719237/205525675-4c8a6bce-21a8-45e3-bf0c-28981f123da3.png\"/\u003e\n像复制帐号id一样复制为仓库的对应名字变量\n\u003c/details\u003e\n\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cb\u003e给要部署到cf的整套应用取一个名字前缀CLOUDFLARE_PROJECT_NAME\u003c/b\u003e\u003c/summary\u003e\n随便都可以，就是不要带._等特殊符号，比如你取名为discuss，或discussmyxxxdomain都可以\n像复制帐号id一样复制为仓库的对应名字变量\n\u003c/details\u003e\n\n\n### 第三步. 在你fork到的仓库里面运行部署\n\n前往 [Actions -\u003e Deploy to Cloudflare Pages](../../actions/workflows/deploy.yml) 运行deploy  \n![](https://user-images.githubusercontent.com/1719237/205526856-05ea0ff4-703a-4d08-bc7f-4ae2dfc07cfe.png)\n\n\n### 最后，检查结果\n\n等部署完毕, 绿点表示成功. 你可以在 [Cloudflare dashboard](https://dash.cloudflare.com/sign-up/pages) 处看到已生成形式为 CLOUDFLARE_PROJECT_NAME变量.pages.dev 的pages应用，点击即可访问\n\n\n### 更新/修改设置：\n\n在fork的git仓库里编辑dist/_workers.js源码，找到以下并修改，注意格式，比如，invite后面的on改成off可关闭邀请\n\n```\n{\"sitetitle\":\"Discuss\",\"dismissmessage\":\"第一款能在cf上运行的自建轻量联合主机社区程序,自带主机管理前端https://github.com/minlearn/discuss, 相关咨询联系tg：https://t.me/minlearn_1keydd\",\"invite\":\"on\"}\n```\n\n然后覆盖部署即可\n\n常规操作在论坛界面上即可操作。其它的将用户设为仲裁员和增加注册码的工作，请直接在d1数据库中操作。\n\nregcodes:  \n\n| body            | isredeemed | redeemedto |\n| :------:        | :-:        | :-: |\n| 你要发放的邀请码   |  0         | 留空，邀请码被使用时会自动变成1 |\n\nusers:  \n\n| ...            | roletags |\n| :------:       | :-:        |\n| ...            |  admin为超管,mod为仲裁,留空为普通成员         |\n\n\n服务及支持👀\n-----\n\n项目及项目关联(见文尾)，可为分免费部分和服务性收费部分  \n\n| 项目                      | 是否免费 | 说明 |\n| :------:                 | :-:     | :-: |\n| inst.sh                  |  √      | 拥有常见vps和独服机型上DD常见系统能力，可解决你DD中大部分问题，提供常见内建镜像 |\n| 1kdd                     |  √      | 已经开放的1kdd全部功能 |\n| discuss                  |  √      | 在cf上运行的自建轻量联合主机社区程序，可免费克隆源码自建节点 |\n| DD服务/DD镜像定制          |  ×      | 本人长期接有偿付费dd/定制镜像服务，解决疑难机型DD问题并总结DD方案1次60元/10U起，定制镜像服务1次60元/10U起，可送加群服务 |\n| 1kdd定制                 |  ×      | 定制1kdd增加功能，可送加群服务 |\n| discuss定制              |  ×      | 定制discuss增加功能，可送加群服务 |\n| 加内部群和社区             |  ×      | 本人维护有一个tg群和一个内部论坛，直接捐赠打赏60元/10U起加群,可终身免费咨询inst+1kdd技术支持+给discuss提issue+更多不定期福利 |\n| 项目买断                  |  ×      | 10000u = inst+1kdd+discuss全套ci构建源码+github帐号及仓库, 全部协助转让 |\n| ...                      | ...     | ... |\n\n项目和社区维护需要长期付出大量精力，请捐助或付费支持作者  \n\n如何支持：\n\n * 本人长期接有偿付费dd含解决疑难机型DD问题和定制镜像服务，价格各60元起：  \n`怎么联系: 点击如下作者个人tg地址，简单说明需求或说明来意即可，不要说你好，在吗。直接说事`  \n[minlearn_1keydd](https://t.me/minlearn_1keydd)\n\n * 或任意捐助打赏我任意数值虚拟币，直接打赏60rmb/10u可送加群服务：  \n`怎么捐助/付款: 用支持tron链的钱包或交易所APP扫描下列钱包地址(走链将u转成trx手续费最低，交易所内转0手续)，将支付截图或交易HASH发送到上面tg地址后，等待作者将你tg邀入群和内部社区`  \nBINA: [TTdYbcFMBLHSsw9yrrdRn8jMAFFC7U4Byp](https://tronscan.io/#/address/TTdYbcFMBLHSsw9yrrdRn8jMAFFC7U4Byp)，内部id：878248518  \nOKEX: [TPvrETkN21H8fagFjyYAECihyRhrRAMCTR](https://tronscan.io/#/address/TPvrETkN21H8fagFjyYAECihyRhrRAMCTR)，内部id：292251340602744832  \n![](https://github.com/minlearn/minlearnprogramming/raw/master/_build/assets/donate.png)\n\n-----\n\n此项目关联 https://github.com/minlearn/ 下所有项目，主体为 https://github.com/minlearn/minlearnprogramming/ 和 https://github.com/minlearn/1kdd ，这是一套为配合我在《minlearnprogramming》最小编程/统一开发的想法的综合项目。\n本项目长期保存\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminlearn%2Fdiscuss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fminlearn%2Fdiscuss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminlearn%2Fdiscuss/lists"}