oddsdk / create-odd-app

A CLI generator for spinning up either React or SvelteKit versions of ODD templates with pre-configured auth flows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create ODD App (COA)

Built by FISSION Built by FISSION Discord Discourse

CWA is a CLI generator that allows you to spin up either React or SvelteKit flavours of Fission's ODD App Template and ODD WalletAuth repos.

🎬 Demo

demo.mp4

πŸ’» Getting Started

You can use the following commands via your package manager of choice to invoke create-odd-app

npx @oddjs/create-odd-app

Options

You can invoke create-odd-app directly with an app name or you can wait to be prompted to set one:

npx @oddjs/create-odd-app my-odd-app

create-odd-app also comes with the following options:

  • --use-sveltekit - Explicitly tell the CLI to build the application using SvelteKit
  • --use-react - Explicitly tell the CLI to build the application using React
  • --use-walletauth - Explicitly tell the CLI to build the application using the ODD WalletAuth flow
  • --use-webcrypto - Explicitly tell the CLI to build the application using the ODD Device Linking flow
  • --use-npm - Explicitly tell the CLI to bootstrap the app using npm. This is the default option.
  • --use-pnpm - Explicitly tell the CLI to bootstrap the app using pnpm. To bootstrap using pnpm we recommend running pnpm create odd-app
  • --use-yarn - Explicitly tell the CLI to bootstrap the app using yarn. To bootstrap using pnpm we recommend running yarn create odd-app

πŸ€” What's The ODD SDK?

The ODD SDK empowers developers to build fully distributed web applications without needing a complex back-end. The SDK provides:

ODD applications work offline and store data encrypted for the user by leveraging the power of the web platform. You can read more about the ODD SDK in Fission's ODD Guide.

πŸš€ Contributing

git clone git@github.com:oddsdk/create-odd-app.git
cd create-odd-app
nvm use
npm i
npm run dev

About

A CLI generator for spinning up either React or SvelteKit versions of ODD templates with pre-configured auth flows


Languages

Language:TypeScript 86.0%Language:JavaScript 14.0%