{"id":16901863,"url":"https://github.com/deturium/yauc","last_synced_at":"2026-05-09T13:04:09.545Z","repository":{"id":122630892,"uuid":"140933150","full_name":"Deturium/YAUC","owner":"Deturium","description":"YAUC - Yet Another UBB for CC98.","archived":false,"fork":false,"pushed_at":"2019-05-01T07:11:23.000Z","size":269,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-25T14:13:18.828Z","etag":null,"topics":["cc98","ubb"],"latest_commit_sha":null,"homepage":"https://yauc.netlify.com","language":"TypeScript","has_issues":true,"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/Deturium.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":"2018-07-14T09:21:42.000Z","updated_at":"2024-08-05T18:19:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"2fcd060c-a91e-42ed-aae9-0edbb19baa0e","html_url":"https://github.com/Deturium/YAUC","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deturium%2FYAUC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deturium%2FYAUC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deturium%2FYAUC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deturium%2FYAUC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Deturium","download_url":"https://codeload.github.com/Deturium/YAUC/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244637103,"owners_count":20485446,"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":["cc98","ubb"],"created_at":"2024-10-13T18:02:03.861Z","updated_at":"2026-05-09T13:04:04.497Z","avatar_url":"https://github.com/Deturium.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# YAUC\n\nYet Another UBB for CC98.\n\n\n## What's this ?\n\n这是一个 monorepo， 暂时有 ubb-core, ubb-react, site 三个 package。\n\n这个项目旨在提供一个 UBB 核心帮助开发者将 CC98 的 UBB 转换为 html 或者 ReactNode。\n\n\n其中 ubb-core 和 ubb-react 将发布在 npm 的 @cc98 scope 下\n\n\n## 文档\n\nhttps://yauc.netlify.com\n\n\n## CC98\n\n[CC98](https://www.cc98.org/) 是浙江大学最大的校内论坛。\n\n由于学校政策限制内网访问。\n\n\n## UBB\n\nUBB 代码指这样格式的代码：\n\n```\n[b]I'm bold and [i]I'm italic[/i][/b]\n```\n\n这样的代码将被渲染成：\n\n**I'm bold and _I'm italic_**\n\n\nUBB 在防止 XSS 等风险的同时给予了用户丰富的能力，其表现力强于 markdown 等格式。\n但是没有严格的统一标准，CC98 的 UBB 也是定(mo)制(gai)的。\n\n我们所做的就是一个符合 CC98 论坛格式的专用 UBB 转换器。\n\n\n## @cc98/ubb-core\n\n该仓库是 YAUC 的核心，对外暴露一系列工具函数帮助用户处理 UBB。\n\n如何使用请看文档站点 UBB-CORE 章节。\n\n\n## @cc98/ubb-react\n\n\u003e NOTE: 该 repo 已经不维护\n\n该仓库提供一套 React 的封装来将 UBB 转换为 ReactNode，你可以使用该仓库提供的能力很快的封装一个 UBB_React 组件来做 CC98 UBB 的解析工作。\n\n注意：\n\n1. 该仓库依赖 ubb-core 提供的能力\n2. 你需要自行安装 peerDependencies，请使用 React 16\n3. 如果你有定制需求，请自行修改对应的 Handler\n\n\n## @cc98/site\n\n该仓库作为该项目的文档站，由 `docz` 驱动，部署在 `netlify`。\n\n提供了详细的文档说明和交互式演练场。\n\n\n\n## Recruitment\n\n欢迎加入 CC98 技术组。\n\n你可以通过邮箱 contact@cc98.org 联系我们。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeturium%2Fyauc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeturium%2Fyauc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeturium%2Fyauc/lists"}