A comprehensive product documentation and information site for CoCos (Confidential Computing).
CoCos.ai is a Next.js-based web application that provides documentation, guides, and resources for the CoCos ecosystem. It features a modern landing page, extensive documentation, and information about trusted execution environments, attestation, and architecture.
- Framework: Next.js
- Language: TypeScript
- Styling: CSS with Tailwind support
- Build Tool: pnpm
- Linting: ESLint
├── app/ # Next.js application pages and layouts
│ ├── docs/ # Documentation pages
│ ├── solution/ # Solution page
│ ├── imprint/ # Imprint/Legal page
│ └── landing/ # Landing page components
├── components/ # Reusable React components
│ ├── landing/ # Landing page specific components
│ └── layout/ # Layout components (navbar, footer)
├── content/ # Markdown content and documentation
│ └── docs/ # Documentation files
│ ├── algorithms/
│ ├── architecture-components/
│ └── trusted-execution/
├── lib/ # Utility functions and helpers
├── public/ # Static assets
└── scripts/ # Build and utility scripts
- Node.js (v18 or higher recommended)
- pnpm package manager
- Clone the repository:
git clone https://github.com/ultravioletrs/cocos.ai.git
cd cocos.ai- Install dependencies:
pnpm install- Run the development server:
pnpm devThe site will be available at http://localhost:3000
pnpm dev- Start the development serverpnpm build- Build for productionpnpm start- Start the production serverpnpm lint- Run ESLint
The documentation is stored in the content/docs/ directory in Markdown format and includes:
- Getting Started - Quick start guide
- Architecture & Components - System architecture overview
- Trusted Execution - Information about trusted execution environments
- Attestation - Details about attestation mechanisms
- Compliance - Compliance and security information
- Developer Guide - Development resources
next.config.mjs- Next.js configurationtsconfig.json- TypeScript configurationpostcss.config.mjs- PostCSS configurationeslint.config.mjs- ESLint configurationsource.config.ts- Source configuration
Contributions are welcome! Please ensure code quality by running linting checks before submitting pull requests.