{"id":21185598,"url":"https://github.com/raystack/cosmos","last_synced_at":"2025-07-10T01:30:51.084Z","repository":{"id":49219370,"uuid":"339305115","full_name":"raystack/cosmos","owner":"raystack","description":"Cosmos is an operational analytics server to build custom apps with embedded analytics that deliver data experiences as unique as your business.","archived":false,"fork":false,"pushed_at":"2022-09-01T03:26:49.000Z","size":4080,"stargazers_count":46,"open_issues_count":0,"forks_count":3,"subscribers_count":10,"default_branch":"main","last_synced_at":"2024-07-30T17:59:39.190Z","etag":null,"topics":["analysis","cubejs","dataops","framework","metrics"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/raystack.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}},"created_at":"2021-02-16T06:26:01.000Z","updated_at":"2023-10-28T05:43:59.000Z","dependencies_parsed_at":"2022-09-07T05:30:28.299Z","dependency_job_id":null,"html_url":"https://github.com/raystack/cosmos","commit_stats":null,"previous_names":["raystack/cosmos","odpf/cosmos"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raystack%2Fcosmos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raystack%2Fcosmos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raystack%2Fcosmos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raystack%2Fcosmos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raystack","download_url":"https://codeload.github.com/raystack/cosmos/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225606462,"owners_count":17495551,"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":["analysis","cubejs","dataops","framework","metrics"],"created_at":"2024-11-20T18:17:14.987Z","updated_at":"2024-11-20T18:17:15.748Z","avatar_url":"https://github.com/raystack.png","language":"TypeScript","readme":"# Cosmos\n\n[![node-ci](https://github.com/odpf/cosmos/actions/workflows/test.yml/badge.svg)](https://github.com/odpf/cosmos/actions/workflows/test.yml)\n[![codecov](https://codecov.io/gh/odpf/cosmos/branch/main/graph/badge.svg?token=2CkqMa9YmH)](https://codecov.io/gh/odpf/cosmos)\n\n## Getting Started\n\nCosmos Docker image can be found [here](https://github.com/orgs/odpf/packages?repo_name=cosmos)\n\n```sh\ndocker run -e MONGODB_HOST=mongodb://127.0.0.1:27017/cosmos -p 8000:8000 docker.pkg.github.com/odpf/cosmos/cosmos\n```\n\nVisit [http://localhost:8000/documentation](http://localhost:8000/documentation) to view API documentation.\n\n## Environment Variables\n\n```bash\nPORT (optional, default: 8000)\nMONGODB_HOST (required)\nENCRYPTION_SECRET_KEY (default: \"\")\nCUBE_URL (default: \"http://localhost:4000\" )\n```\n\n## Building from source\n\n### Prerequisite Tools\n\n- [Node.js](https://nodejs.org/) (version \u003e= 12.0.0)\n- [MongoDB](https://www.mongodb.com/)\n- [Git](https://git-scm.com/)\n\n1. Clone the repo\n\n   ```sh\n   $ git clone https://github.com/odpf/cosmos\n   $ cd cosmos\n   ```\n\n2. Install dependencies\n\n   ```sh\n   $ npm install\n   ```\n\n3. Run development server\n\n   ```sh\n   $ npm run dev\n   ```\n\n4. Build production server\n\n   ```sh\n   $ npm build\n   ```\n\n5. Run production server locally\n\n   ```sh\n   $ npm start\n   ```\n\n## Running tests\n\nAll of the tests are written with [jest](https://jestjs.io/). They can be run with npm/yarn.\n\n```sh\n$ npm test\n```\n\n## Versioning\n\nWe use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags](https://github.com/odpf/cosmos/tags).\n\n## License\n\nCosmos is released under the Apache License 2.0. See [LICENSE](LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraystack%2Fcosmos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraystack%2Fcosmos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraystack%2Fcosmos/lists"}