Registrati Accedi
n/domains · 2025-11-26 · Modificato · 2,5K visualizzazioni
u/KevinSomeone💬Diamante
n/domainsu/KevinSomeone · 2025-11-26
Vota

用react+nodejs vibe code了一个二级域名注册系统

https://registry.kevsrv.me/
https://github.com/KevvTheGoat/KS-Subdomain-Registrar

暂时还没发布源码 可以先收藏一下网址 完成PRIORITIZED TASKS就开源 bro要发就发功能完全的 :xhj22:
目前还在测试一些edge cases之类的 可能还需要一些时间
用英文写的然后翻译中文 可能有点奇怪看起来 部分提示还没翻译完全

支持pdns了

To-dos

PRIORITIZED TASKS

  • Domain activeness status on domain details page for user - remind user to start using or loosing
  • Need to fix sensitive/active/security check scripts - scan all SSL sub-subdomains for sensitive content scanning, implement google safe browsing API to check if any sub-domain ans sub-subdomains from SSL cert monitor are tagged dangerous.
  • Some type of restriction on multiple accounts per person, (kyc not feasible. mobile - require PAID API + had to cover all country codes: not feasible, US numbers w/ can achieve e-mail to sms but limited and unreliable. email verification: def dupe emails per person. pay a dime to activate account - maybe or credit card verification like oracle cloud - pay nothing, be strict on temp cc issuers or supermarket prepaid cards. DupeIP - already implemented but users may use same proxy causing 20 dupe ips per account: need manual verification).
  • VirusTotal scan complete - still need to verify if API calls (approx. 1 req per domain) would not trigger VT's free rate limit. OR find a better way to reduce API calls while covering all sub-domains
  • If domain suspended, do not allow user to delete the domain: frontend disable delete + backend check stats
  • E-mail domain whitelist/blacklist
  • NEED TO THOROUGHLY TEST OAUTH - require restart backend if oauth added/deleted

NOT UNTIL NEXT UPDATE

  • Implement choice to enable domain expiry date and a way to extend
  • Edit ns records
  • PUSH domains to other user, admin enable/disable
  • User individual domain limit setting (use GLOBAL_LIMIT+-# in db field and do calculation while registering or req individual limits)
  • DNSSEC
  • User individual domain count
  • Payment system integration Paypal, Crypto, Alipay, Wechat pay(ability to purchase premium [specified or regex] sub-domains)
  • System setup script
  • NS server verifier
  • Invitation system: still considering...
  • Whois lookup + if privacy, can provide a form to contact: ext feat: message inbox in dashboard

COMPLETED

  • fix a lot of captchas
  • CANNOT EXIST 2 SAME NS SERVERS
  • Able to change minimum length of subdomains
  • Add email verification for registering, could use approach to send none mysqled hashed link to verify email or use recaptcha
  • Email API: mailjet for now
  • 2FA
  • Extend SSO providers to not just google
  • Add admin domain filter for status
  • Add tos and privacy
  • Remove or link unused buttons and shit
  • Account status: no registering if account disabled: disable account domains
  • Extend to more dns providers + local dns authoritative server
  • fix mobile compatibility
  • try reduce calls to api
  • language switch on hcaptcha
  • only load setting once when site loads
  • Add register domain modal in domain details page

AI TRANSLATED NO ACCURACY GUARANTEED

待办事项(To-dos)

优先任务(PRIORITIZED TASKS)

  • 在域名详情页显示域名活跃状态 – 提醒用户开始使用,否则可能被回收
  • 修复敏感/活跃/安全检查脚本 – 扫描所有 SSL 子子域名的敏感内容;整合 Google Safe Browsing API 检查 SSL 证书监控中所有子域名是否被标记为危险
  • 限制每人多个账户的问题(KYC 不可行;手机验证需付费 API 且需覆盖全球号码,不可行;美国号码可用 email-to-SMS 但不稳定;邮箱验证会导致一人多个邮箱;付费激活账户或信用卡验证可能可行,但需屏蔽临时卡与超市预付卡;重复 IP 已实现但代理共享会造成几十个重复 IP,需要人工审核)
  • VirusTotal 全量扫描已完成 – 仍需确认 API 调用(约每域名 1 调用)不会触发 VT 免费额度限制;或设计更好的方案在覆盖所有子域的同时减少 API 请求
  • 如果域名被封禁,不允许用户删除域名:前端禁用删除按钮 + 后端强制检查状态
  • 邮箱域名白名单 / 黑名单
  • 必须彻底测试 OAuth – 添加或删除 OAuth 配置后需重启后端

下次更新前不处理(NOT UNTIL NEXT UPDATE)

  • 实现域名过期时间与续期功能
  • 可编辑 NS 记录
  • 允许管理员将域名转移给其他用户
  • 用户单独域名数量限制(数据库字段存 GLOBAL_LIMIT±#,注册时计算)
  • DNSSEC
  • 用户域名数量统计
  • 支付系统整合:PayPal、Crypto、支付宝、微信支付(允许购买指定或正则匹配的高级子域)
  • 系统一键部署脚本
  • NS 服务器验证器
  • 邀请系统:仍在考虑中…
  • Whois 查询 + 若隐私保护开启,可提供联系表单(扩展功能:仪表盘消息收件箱)

已完成(COMPLETED)

  • 修复大量验证码问题
  • 不允许存在两个相同的 NS 服务器
  • 可修改最小子域名长度
  • 注册新增邮箱验证,可用 MySQL 外链式哈希验证或 Recaptcha
  • 邮件 API:Mailjet
  • 2FA
  • 增加更多 SSO 登录提供方,不局限于 Google
  • 管理员可根据状态过滤域名
  • 添加 ToS 与隐私政策
  • 移除未使用的按钮
  • 账号状态:禁用账号后不可注册;禁用账号域名
  • 扩展到更多 DNS 提供商 + 本地权威 DNS 服务器
  • 修复移动端兼容性
  • 尝试减少 API 调用
  • hCaptcha 支持语言切换
  • 设置仅在站点加载时读取一次
  • 在域名详情页新增“注册域名”弹出框

做个小survey 会用email+密码功能的人多吗 我在想第一个版本要不要加验证邮箱功能

  • 我只用SSO(google github)/OAUTH2 (关闭email密码登陆功能)
  • 我会用email+密码
  • 我需要域名注册期限+账户余额(兑换码)功能
  • 我不需要域名注册期限+账户余额(兑换码)功能
18
97
Accedi per partecipare alla discussione.

97 risposte

Ordinamento
  1. huxubo Diamante 2025-11-26 #2

    不错,期待开源

    1
  2. xylon_hsiao Oro Non abbandonarsi mai 2025-11-26 #3

    牛逼

    4
  3. xybug Diamante 2025-11-26 #4

    大神啥时候开源出来啊

    3
  4. KevinSomeone 💬 Diamante OP 2025-11-26 #5
    Rispondi @xybug: 大神啥时候开源出来啊

    等我把todo做完就开源

    3
  5. xybug Diamante 2025-11-26 #6
    Rispondi @KevinSomeone: 等我把todo做完就开源

    写好审核,我用六趣大神写的那个代码,无法阻止抓包写入数据,这个很重要,总有些程序猿,为了显示自己高超的水平给你写些垃圾,写入数据库

    1
  6. KevinSomeone 💬 Diamante OP 2025-11-26 #7
    Rispondi @xybug: 写好审核,我用六趣大神写的那个代码,无法阻止抓包写入数据,这个很重要,总有些程序猿,为了显示自己高超的水平给你写些垃圾,…

    我前端和后端的匹配都是一样的 而且后端还有更严格的匹配
    所有API端点都被分开了 有用户可以访问的 admin可以访问的 应该没有你说的问题

    1
  7. xybug Diamante 2025-11-26 #8
    Rispondi @KevinSomeone: 我前端和后端的匹配都是一样的 而且后端还有更严格的匹配 所有API端点都被分开了 有用户可以访问的 admin可以访问的…

    太好了,你这个支持自建DNS 是bind9 还是powerDNS,希望整合hestia系统,这个系统的DNS用的是bind9搭建的DNS服务器

    2
  8. KevinSomeone 💬 Diamante OP 2025-11-26 #9
    Rispondi @xybug: 太好了,你这个支持自建DNS 是bind9 还是powerDNS,希望整合hestia系统,这个系统的DNS用的是bin…

    xybug:
    bind9

    我到时候研究一下

    1
  9. Arvin_Leung 🚗 Gloria Risolto 2 2025-11-26 #10

    期待开源。

    1
  10. azhaoyihao Gloria Re dei post 2025-11-26 #11

    这个好 期待成品

    1
  11. James 💯 Leggenda MANAGER 2025-11-26 #12

    效果很不错哦 期待开源 期待接入 NL OAUTH

    2
  12. KevinSomeone 💬 Diamante OP 2025-11-26 #13
    Rispondi @James: 效果很不错哦 期待开源 期待接入 NL OAUTH

    NL的OAUTH会提供email parameter吗

    1
  13. KevinSomeone 💬 Diamante OP 2025-11-26 #14
    Rispondi @xybug: 太好了,你这个支持自建DNS 是bind9 还是powerDNS,希望整合hestia系统,这个系统的DNS用的是bin…

    可能我会优先支持powerdns 因为我看bind9好像是存的本地不支持数据库

    2
  14. James 💯 Leggenda MANAGER 2025-11-26 #15
    Rispondi @KevinSomeone: NL的OAUTH会提供email parameter吗

    有的

    1
  15. huxubo Diamante 2025-11-26 #16
    Rispondi @James: 有的

    新版的bind9早已不支持MySQL了

    0
  16. lovoup Diamante 3 ANNI 2025-11-26 #17

    确实好看,期待开源

    0
  17. creminjess Maestro 2025-11-26 #18

    必须支持 :xhj41:

    0
  18. ketto 🔥 Platino 3 ANNI 2025-11-26 #19

    不错,期待大佬的项目早日完善开源。

    0
  19. KNC Oro 2025-11-26 #20

    大佬牛逼,期待开源

    0
  20. KevinSomeone 💬 Diamante OP 2025-11-28 #21
    Rispondi @James: 有的

    我把oauth2搞好了 我在你们的开放登陆面板allowed groups没有写任何东西, 但是我登录的时候提示You are not allowed to access this application: user is not in allowed groups for this client

    0
  21. zero3395 Argento 2025-11-28 #22

    不错,感谢分享! :xhj16:

    0
  22. James 💯 Leggenda MANAGER 2025-11-28 #23
    Rispondi @KevinSomeone: 我把oauth2搞好了 我在你们的开放登陆面板allowed groups没有写任何东西, 但是我登录的时候提示You …

    大佬,写一个 trust_level_0 看看。

    0
  23. wgfily Argento 2025-11-28 #24

    很不错!谢分享!赞!

    0
  24. KevinSomeone 💬 Diamante OP 2025-11-28 #25
    Rispondi @James: 大佬,写一个 trust_level_0 看看。

    我搞好了, 是你的提交表单问题 每次提交都会多一层[ ]

    0
  25. KevinSomeone 💬 Diamante OP 2025-11-28 #26
    Rispondi @James: 大佬,写一个 trust_level_0 看看。

    可以试一下 nodeloc sso搞好了 应该是支持了所有OIDC, 一个小建议 你们的discovery URL应该放在https://conn.nodeloc.cc/.well-known/openid-configuration 而不是https://conn.nodeloc.cc/oauth2/.well-known/openid-configuration

    0
  26. shinonome Diamante 2025-11-28 #27

    666,界面好看!

    0
  27. James 💯 Leggenda MANAGER 2025-11-28 #28
    Rispondi @KevinSomeone: 可以试一下 nodeloc sso搞好了 应该是支持了所有OIDC, 一个小建议 你们的discovery URL应该放…

    完美,好用。我想把现在的Fossbilling换你的了哈哈。

    0
  28. KevinSomeone 💬 Diamante OP 2025-11-28 #29
    Rispondi @James: 完美,好用。我想把现在的Fossbilling换你的了哈哈。

    等我把功能全写完吧 :xhj001:

    0
  29. James 💯 Leggenda MANAGER 2025-11-28 #30
    Rispondi @KevinSomeone: 等我把功能全写完吧 :xhj001:

    期待期待

    0