{"id":19973067,"url":"https://github.com/ocsjs/ocs-desktop","last_synced_at":"2026-01-28T04:48:16.530Z","repository":{"id":168296954,"uuid":"641888311","full_name":"ocsjs/ocs-desktop","owner":"ocsjs","description":"OCS桌面端软件 electron + vue3 + typescript","archived":false,"fork":false,"pushed_at":"2024-11-14T16:50:47.000Z","size":1156,"stargazers_count":70,"open_issues_count":16,"forks_count":8,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-13T22:37:48.253Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://docs.ocsjs.com/docs/app","language":"Vue","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/ocsjs.png","metadata":{"files":{"readme":"readme.md","changelog":"CHANGELOG.md","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":"2023-05-17T11:27:54.000Z","updated_at":"2025-02-11T16:30:58.000Z","dependencies_parsed_at":"2023-09-24T09:27:57.128Z","dependency_job_id":"cabc686c-a2e0-4e14-a220-c9a484fbeee8","html_url":"https://github.com/ocsjs/ocs-desktop","commit_stats":null,"previous_names":["ocsjs/ocs-desktop"],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocsjs%2Focs-desktop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocsjs%2Focs-desktop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocsjs%2Focs-desktop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocsjs%2Focs-desktop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ocsjs","download_url":"https://codeload.github.com/ocsjs/ocs-desktop/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241405912,"owners_count":19957928,"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":[],"created_at":"2024-11-13T03:10:13.159Z","updated_at":"2026-01-28T04:48:11.515Z","avatar_url":"https://github.com/ocsjs.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ocs-desktop\n\n拥有 一键刷课，多账号刷课，浏览器多开/分身，浏览器管理，自动登录，等功能，支持 Windows, Linux, Mac 多个操作系统。\n\n## 初始化项目依赖\n\n```bash\n# 安装依赖\nnpm i pnpm -g\npnpm install\n\n# 编译 common 库，此操作只需执行一次，除非后续更改 common 代码，否则无需重复操作。\ncd packages/common\nnpx tsc\n```\n\n## 运行\n\n启动项目，需要打开两个终端（命令窗口）\n\n**终端 1** - 运行 electron 渲染进程\n\n```bash\ncd packages/web\nnpm run dev\n```\n\n**终端 2** - 运行 electron 主进程\n\n```bash\ncd packages/app\nnpm run dev\n```\n\n## 打包\n\n```bash\nnpm run build\n```\n\n## 注意\n\n新项目打包时需删除 node_modules/chromium/lib/chromium 中的文件，否则打包后会带有 chromium 文件导致体积非常大。\n因为此项目主要依赖电脑本地的浏览器，所以无需内置 chromium，移除即可。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Focsjs%2Focs-desktop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Focsjs%2Focs-desktop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Focsjs%2Focs-desktop/lists"}