{"id":51012995,"url":"https://github.com/casosorg/casos","last_synced_at":"2026-07-09T06:00:32.999Z","repository":{"id":38206603,"uuid":"96276325","full_name":"casosorg/casos","owner":"casosorg","description":"CasOS: a cloud operating system built on Kubernetes, Live Demo: https://demo.casos.net","archived":false,"fork":false,"pushed_at":"2026-07-03T13:27:31.000Z","size":849,"stargazers_count":1213,"open_issues_count":3,"forks_count":86,"subscribers_count":24,"default_branch":"master","last_synced_at":"2026-07-03T15:18:03.591Z","etag":null,"topics":["auth","authorization","casbin","casdoor","container","control-plane","docker","go","golang","k3s","k8s","kubernetes","linux","react","windows"],"latest_commit_sha":null,"homepage":"https://casos.net","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/casosorg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"contributing.md","funding":null,"license":"LICENSE","code_of_conduct":"code-of-conduct.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"casbin"}},"created_at":"2017-07-05T04:20:15.000Z","updated_at":"2026-07-03T13:27:34.000Z","dependencies_parsed_at":"2024-11-08T17:32:14.895Z","dependency_job_id":"0bd9ba58-1089-47c5-a139-42ad15258106","html_url":"https://github.com/casosorg/casos","commit_stats":{"total_commits":73,"total_committers":21,"mean_commits":"3.4761904761904763","dds":0.410958904109589,"last_synced_commit":"fb4b0eda48502d1dd5610e2998c93b5bc37477a3"},"previous_names":["casdoor/awesome-auth","casosorg/casos"],"tags_count":86,"template":false,"template_full_name":null,"purl":"pkg:github/casosorg/casos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casosorg%2Fcasos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casosorg%2Fcasos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casosorg%2Fcasos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casosorg%2Fcasos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/casosorg","download_url":"https://codeload.github.com/casosorg/casos/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casosorg%2Fcasos/sbom","scorecard":{"id":267027,"data":{"date":"2025-08-11","repo":{"name":"github.com/casbin/awesome-auth","commit":"b6427c9283262e800c3970679c36f76e8ae1c8fd"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.8,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":6,"reason":"Found 17/26 approved changesets -- score normalized to 6","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Creative Commons Zero v1.0 Universal: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 21 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T12:21:10.848Z","repository_id":38206603,"created_at":"2025-08-17T12:21:10.848Z","updated_at":"2025-08-17T12:21:10.848Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35288809,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-09T02:00:07.329Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["auth","authorization","casbin","casdoor","container","control-plane","docker","go","golang","k3s","k8s","kubernetes","linux","react","windows"],"created_at":"2026-06-21T06:00:28.174Z","updated_at":"2026-07-09T06:00:32.975Z","avatar_url":"https://github.com/casosorg.png","language":"JavaScript","funding_links":["https://github.com/sponsors/casbin"],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# CasOS\n\n**A cloud operating system built on Kubernetes**\n\n[![Build](https://github.com/casosorg/casos/workflows/Build/badge.svg?style=flat-square)](https://github.com/casosorg/casos/actions/workflows/build.yml)\n[![Release](https://img.shields.io/github/v/release/casosorg/casos?style=flat-square\u0026color=4f46e5)](https://github.com/casosorg/casos/releases/latest)\n[![Go Report](https://goreportcard.com/badge/github.com/casosorg/casos?style=flat-square)](https://goreportcard.com/report/github.com/casosorg/casos)\n[![License](https://img.shields.io/github/license/casosorg/casos?style=flat-square\u0026color=22c55e)](https://github.com/casosorg/casos/blob/master/LICENSE)\n[![Platform](https://img.shields.io/badge/platform-Linux%20%7C%20macOS%20%7C%20Windows-blue?style=flat-square)](https://github.com/casosorg/casos/releases/latest)\n[![Discord](https://img.shields.io/discord/1022748306096537660?logo=discord\u0026label=discord\u0026color=5865F2\u0026style=flat-square)](https://discord.gg/5rPsrAzK7S)\n\n**Official Website: [https://www.casos.net](https://www.casos.net)**\n\n**Live Demo: [https://demo.casos.net](https://demo.casos.net)**\n\n\u003c/div\u003e\n\n---\n\n## What is CasOS?\n\nCasOS is a cloud operating system built on Kubernetes. It embeds the Kubernetes API server, controller manager, and scheduler, so you do **not** need an existing Kubernetes cluster or a separate control plane — CasOS is the platform itself. Run a single binary and get a fully functional cloud OS with a built-in web UI.\n\n## Features\n\n- Embedded Kubernetes stack (API server, controller manager, scheduler) — no external cluster needed\n- Cluster resource management: Nodes, Namespaces, Pods, Services, ConfigMaps, ServiceAccounts, ClusterRoleBindings\n- Dashboard with cluster overview\n- DockerHub image browser\n- Multi-language support (i18n)\n- Authentication via [Casdoor](https://casdoor.org)\n\n## Tech Stack\n\n| Layer    | Technology                                |\n|----------|-------------------------------------------|\n| Backend  | Go 1.26+, Beego, MySQL (ORM)              |\n| Frontend | React 18, Ant Design 6, recharts, i18next |\n| Auth     | Casdoor (OAuth2 / OIDC)                   |\n\n## Project Structure\n\n```\ncasos/\n├── main.go                  # Entry point\n├── conf/app.conf            # Backend configuration\n├── controllers/             # HTTP controllers (Beego routing)\n├── object/                  # Business logic and data models\n├── routers/                 # Route configuration and filters\n├── proxy/                   # kube-proxy related logic\n└── web/                     # React frontend\n    └── src/\n        ├── App.js\n        ├── DashboardPage.js\n        ├── ManagementPage.js\n        ├── PodListPage.js\n        ├── NodeListPage.js\n        ├── NamespaceListPage.js\n        ├── ServiceListPage.js\n        ├── ConfigMapListPage.js\n        ├── ServiceAccountListPage.js\n        ├── ClusterRoleBindingListPage.js\n        └── backend/         # API client helpers\n```\n\n## Prerequisites\n\n- **Backend**: [Go](https://golang.org/dl/) 1.26+\n- **Frontend**: [Node.js](https://nodejs.org/) 20+ and [Yarn](https://classic.yarnpkg.com/) 1.x\n- MySQL database\n- A [Casdoor](https://casdoor.org) instance (for authentication)\n\nSupported platforms: **Linux**, **macOS**, **Windows**\n\n## Configuration\n\nEdit `conf/app.conf` with your values:\n\n```ini\nappname       = casos\nhttpport      = 9000\nrunmode       = dev\n\n; Database\ndriverName    = mysql\ndataSourceName= user:pass@tcp(host:3306)/\ndbName        = casos\n\n; Casdoor\ncasdoorEndpoint     = https://your-casdoor-instance\nclientId            = \u003cyour-client-id\u003e\nclientSecret        = \u003cyour-client-secret\u003e\ncasdoorOrganization = \u003cyour-org\u003e\ncasdoorApplication  = \u003cyour-app\u003e\n\n; Kubernetes control plane\napiserverPort = 6443\napiserverBind = 127.0.0.1\ndataDir       = /var/lib/casos\n```\n\n## Development\n\n### Backend\n\n```bash\ngo run main.go\n```\n\n### Frontend\n\n```bash\ncd web\n\n# Install dependencies (first time only)\nyarn install\n\n# Start dev server — port 8001, proxies API to localhost:9000\nyarn start\n```\n\n## Deployment\n\n### Backend\n\n```bash\n# Build binary\ngo build -o casos .\n\n# Run\n./casos\n```\n\n### Frontend\n\n```bash\ncd web\n\n# Production build (outputs to web/build/)\nyarn build\n```\n\nServe the `web/build/` directory with any static file server, or let the Go backend serve it directly.\n\n### Lint\n\n```bash\ncd web\n\nyarn lint:js    # ESLint\nyarn lint:css   # Stylelint\nyarn lint       # both\n```\n\n## License\n\n[Apache 2.0](https://github.com/casosorg/casos/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcasosorg%2Fcasos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcasosorg%2Fcasos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcasosorg%2Fcasos/lists"}