{"id":37077052,"url":"https://github.com/oaysus/cli","last_synced_at":"2026-01-21T11:00:43.670Z","repository":{"id":329418532,"uuid":"1112299357","full_name":"oaysus/cli","owner":"oaysus","description":"CLI tool for building and deploying custom components to the Oaysus page builder platform","archived":false,"fork":false,"pushed_at":"2025-12-31T12:27:04.000Z","size":2427,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-02T11:11:11.008Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/oaysus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-08T12:37:06.000Z","updated_at":"2025-12-31T12:27:08.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/oaysus/cli","commit_stats":null,"previous_names":["oaysus/cli"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/oaysus/cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oaysus%2Fcli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oaysus%2Fcli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oaysus%2Fcli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oaysus%2Fcli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oaysus","download_url":"https://codeload.github.com/oaysus/cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oaysus%2Fcli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28632241,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T04:47:28.174Z","status":"ssl_error","status_checked_at":"2026-01-21T04:47:22.943Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-01-14T09:00:23.447Z","updated_at":"2026-01-21T11:00:43.663Z","avatar_url":"https://github.com/oaysus.png","language":"TypeScript","funding_links":[],"categories":["Visual programming"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://oaysus.com\"\u003e\n    \u003cimg src=\"https://oaysus.com/images/oaysus-icon.png\" alt=\"Oaysus Logo\" width=\"80\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eOaysus CLI\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eThe visual page builder for developer-built components\u003c/strong\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  Build components in React, Vue, or Svelte. Push with one command.\u003cbr /\u003e\n  Let your team create pages visually.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://oaysus.com/docs/quickstart\"\u003e\u003cstrong\u003eDocumentation\u003c/strong\u003e\u003c/a\u003e ·\n  \u003ca href=\"https://youtu.be/VlUNf-uZvTY\"\u003e\u003cstrong\u003eWatch Demo\u003c/strong\u003e\u003c/a\u003e ·\n  \u003ca href=\"https://oaysus.com\"\u003e\u003cstrong\u003eWebsite\u003c/strong\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/oaysus/cli/stargazers\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/stars/oaysus/cli?style=social\" alt=\"GitHub stars\" /\u003e\n  \u003c/a\u003e\n  \u0026nbsp;\u0026nbsp;\n  \u003ca href=\"https://www.npmjs.com/package/@oaysus/cli\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/v/@oaysus/cli.svg\" alt=\"npm version\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/License-MIT-blue.svg\" alt=\"License: MIT\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003csub\u003eIf you find Oaysus useful, please consider giving us a ⭐ on GitHub!\u003c/sub\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://youtu.be/VlUNf-uZvTY\"\u003e\n    \u003cimg src=\"./assets/demo.gif\" alt=\"Oaysus CLI Demo\" width=\"800\" /\u003e\n  \u003c/a\u003e\n  \u003cbr /\u003e\n  \u003csub\u003eFrom code to published page in seconds\u003c/sub\u003e\n\u003c/p\u003e\n\n---\n\n## One command. Your component is live.\n\nWatch how fast you can go from code to a published website with Oaysus.\n\n```bash\noaysus theme init   # Pick your framework. Name your project.\noaysus theme push   # Your component builds and deploys in seconds.\n```\n\nNo build pipelines. No complex deployments. Your marketing team creates pages visually, and you get back to building features.\n\n## Installation\n\n```bash\nnpm install -g @oaysus/cli\n```\n\nRequires Node.js 20 or higher.\n\n## Quick Start\n\n```bash\n# 1. Authenticate with your Oaysus account\noaysus login\n\n# 2. Create a new theme pack project\noaysus theme init my-components\n\n# 3. Navigate to the project\ncd my-components\n\n# 4. Push your components to Oaysus\noaysus theme push\n```\n\nThat's it. Your components are now available in the visual page builder.\n\n```\n✓ Validated 1 component\n✓ Built and bundled (2.1 KB)\n✓ Uploaded to Oaysus\n✓ Published!\n\nInstall in dashboard: Content → Theme Packs\n```\n\n## Framework Support\n\nBuild with the tools you already know:\n\n- **React** — JSX/TSX components with full hooks support\n- **Vue** — Single File Components (.vue)\n- **Svelte** — Native Svelte components (.svelte)\n\nFramework is automatically detected from your `package.json` dependencies.\n\n## How Components Work\n\nEach component has two files: the code and a schema that defines what's editable.\n\n**Component (React example):**\n```tsx\nexport default function Hero({ headline, subtext, ctaLabel }) {\n  return (\n    \u003csection className=\"py-20 text-center\"\u003e\n      \u003ch1 className=\"text-5xl font-bold\"\u003e{headline}\u003c/h1\u003e\n      \u003cp className=\"mt-4 text-xl text-gray-600\"\u003e{subtext}\u003c/p\u003e\n      \u003cbutton className=\"mt-8 px-6 py-3 bg-blue-600 text-white rounded-lg\"\u003e\n        {ctaLabel}\n      \u003c/button\u003e\n    \u003c/section\u003e\n  );\n}\n```\n\n**Schema:**\n```json\n{\n  \"displayName\": \"Hero Section\",\n  \"props\": {\n    \"headline\": {\n      \"type\": \"string\",\n      \"default\": \"Build faster, ship sooner\"\n    },\n    \"subtext\": {\n      \"type\": \"string\",\n      \"default\": \"The platform for modern teams\"\n    },\n    \"ctaLabel\": {\n      \"type\": \"string\",\n      \"default\": \"Get Started\"\n    }\n  }\n}\n```\n\nMarketing edits these props in the visual editor. You never touch the code again.\n\n## Commands\n\n### Theme Pack Commands\n\nBuild and manage reusable component libraries.\n\n| Command | Description |\n|---------|-------------|\n| `oaysus theme init` | Create a new theme pack project |\n| `oaysus theme create` | Add a component to your theme pack |\n| `oaysus theme validate` | Validate theme pack structure |\n| `oaysus theme push` | Build and upload to Oaysus |\n| `oaysus theme delete` | Delete a theme pack from Oaysus |\n\n### Site Commands\n\nManage website pages and content.\n\n| Command | Description |\n|---------|-------------|\n| `oaysus site init` | Create a new website project |\n| `oaysus site validate` | Validate pages against installed components |\n| `oaysus site publish` | Publish pages to your website |\n| `oaysus site pull` | Download pages from server to local files |\n\n### Global Commands\n\nAuthentication and account management.\n\n| Command | Description |\n|---------|-------------|\n| `oaysus login` | Authenticate with your Oaysus account |\n| `oaysus whoami` | Display current user information |\n| `oaysus switch` | Switch between your websites |\n| `oaysus logout` | Clear authentication tokens |\n\n### Telemetry Commands\n\nManage anonymous usage analytics.\n\n| Command | Description |\n|---------|-------------|\n| `oaysus telemetry status` | Show current telemetry status |\n| `oaysus telemetry enable` | Enable anonymous usage tracking |\n| `oaysus telemetry disable` | Disable anonymous usage tracking |\n\nOaysus CLI collects anonymous usage data to help improve the tool. No personal data, file contents, or source code is collected. You can also disable telemetry via the `OAYSUS_TELEMETRY_DISABLED=1` environment variable.\n\n## Project Structure\n\n```\nmy-components/\n├── package.json\n└── components/\n    ├── Hero/\n    │   ├── index.tsx\n    │   └── schema.json\n    ├── FeatureGrid/\n    │   ├── index.tsx\n    │   └── schema.json\n    └── Testimonials/\n        ├── index.tsx\n        └── schema.json\n```\n\n## Why Oaysus?\n\n| Traditional Approach | With Oaysus |\n|---------------------|-------------|\n| Marketing files a ticket for every page change | Marketing creates pages themselves |\n| Developers build one-off landing pages | Developers build reusable components |\n| Every text change requires a deploy | Changes publish instantly to global CDN |\n| Locked into proprietary CMS themes | Standard React/Vue/Svelte you own |\n\n## Documentation\n\n- **[Quick Start Guide](https://oaysus.com/docs/quickstart)** — Build your first component in 5 minutes\n- **[CLI Reference](https://oaysus.com/docs/cli)** — Complete command documentation\n- **[Component Guide](https://oaysus.com/docs/components)** — Props, schemas, and best practices\n- **[Theme Packs](https://oaysus.com/docs/theme-packs)** — Organize and distribute component collections\n\n## Get Started\n\n1. **[Create an account](https://oaysus.com/pricing)** — Free tier available\n2. **Install the CLI** — `npm install -g @oaysus/cli`\n3. **Follow the quick start** — [oaysus.com/docs/quickstart](https://oaysus.com/docs/quickstart)\n\n## Contributing\n\nWe welcome contributions! See [CONTRIBUTING.md](CONTRIBUTING.md) for development setup.\n\n## License\n\nMIT © [Oaysus](https://oaysus.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foaysus%2Fcli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foaysus%2Fcli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foaysus%2Fcli/lists"}