{"id":18078084,"url":"https://github.com/libreservice/my_opencc","last_synced_at":"2025-04-12T11:44:47.340Z","repository":{"id":65299756,"uuid":"578690190","full_name":"LibreService/my_opencc","owner":"LibreService","description":"Convert between Simplified and Traditional Chinese.","archived":false,"fork":false,"pushed_at":"2024-07-18T01:29:15.000Z","size":59,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T17:06:36.656Z","etag":null,"topics":["naive-ui","opencc","pwa","saas","vue","wasm"],"latest_commit_sha":null,"homepage":"https://my-opencc.vercel.app/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LibreService.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}},"created_at":"2022-12-15T16:45:29.000Z","updated_at":"2024-12-23T17:30:34.000Z","dependencies_parsed_at":"2024-10-31T12:22:13.335Z","dependency_job_id":null,"html_url":"https://github.com/LibreService/my_opencc","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LibreService%2Fmy_opencc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LibreService%2Fmy_opencc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LibreService%2Fmy_opencc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LibreService%2Fmy_opencc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LibreService","download_url":"https://codeload.github.com/LibreService/my_opencc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248564246,"owners_count":21125406,"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":["naive-ui","opencc","pwa","saas","vue","wasm"],"created_at":"2024-10-31T12:12:03.899Z","updated_at":"2025-04-12T11:44:47.302Z","avatar_url":"https://github.com/LibreService.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# My OpenCC\n![](https://img.shields.io/github/license/LibreService/my_opencc)\n\nConvert between Simplified and Traditional Chinese.\n\nhttps://my-opencc.vercel.app/\n\nThis is a **STATIC** website so you **DON'T** need to own a server to host it.\n\nAll computation is performed in browser, thanks to Web Assembly.\n\nIt's also a [PWA](https://web.dev/progressive-web-apps/), so you can install it like a native App and use it **OFFLINE**.\n\n## Transform matrix\n源\\目标|s|t|tw|hk|jp\n-|-|-|-|-|-\ns|-|s2t|s2tw(p)|s2hk|-\nt|t2s|-|t2tw|t2hk|t2jp\ntw|tw2s(p)|tw2t|-|-|-\nhk|hk2s|hk2t|-|-|-\njp|-|jp2t|-|-|-\n\n## Self host\nDownload latest [artifact](https://github.com/LibreService/my_opencc/releases/download/latest/my-opencc-dist.zip) built by GitHub Actions.\n\n## Development workflow\nMy OpenCC can be built on Linux and macOS.\n\nFor Windows, you may use WSL.\n\n### Install node\nYou may use [nvm](https://github.com/nvm-sh/nvm) to install node.\n### Install pnpm and dev dependencies\n```sh\nnpm i -g pnpm\npnpm i\n```\n### Install emsdk\nhttps://emscripten.org/docs/getting_started/downloads.html\n### Get submodule\n```sh\ngit submodule init\ngit submodule update\n```\n### Build wasm\n```sh\npnpm run native\npnpm run lib\npnpm run wasm\n```\n### Run develop server\n```sh\npnpm run dev\n```\n### Lint\n```sh\npnpm run lint:fix\n```\n### Check type\n```sh\npnpm run check\n```\n### Build\n```sh\npnpm run build\n```\n### Test\n```sh\npnpm run test\n```\n### Preview\n```sh\npnpm run preview\n```\n### Deploy\n```sh\nexport LIBRESERVICE_CDN=https://cdn.jsdelivr.net/npm/@libreservice/my-opencc@VERSION/dist/ # optional\nvercel build --prod\nvercel deploy --prebuilt --prod\n```\n\n## License\nAGPLv3+\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibreservice%2Fmy_opencc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibreservice%2Fmy_opencc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibreservice%2Fmy_opencc/lists"}