create-webnative-app

0.0.12 • Public • Published

Create Webnative App (CWA)

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 Webnative App Template and Webnative WalletAuth repos.

🎬 Demo

https://user-images.githubusercontent.com/1179291/195956380-8c1442fa-75d9-4167-8e0f-b8660d40e149.mp4

💻 Getting Started

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

npx create-webnative-app
# or
yarn create webnative-app
# or
pnpm create webnative-app

Options

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

npx create-webnative-app my-webnative-app
# or
yarn create webnative-app my-webnative-app
# or
pnpm create webnative-app my-webnative-app

create-webnative-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 Webnative's WalletAuth flow
  • --use-webcrypto - Explicitly tell the CLI to build the application using Webnative's 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 webnative-app
  • --use-yarn - Explicitly tell the CLI to bootstrap the app using yarn. To bootstrap using pnpm we recommend running yarn create webnative-app

🤔 What's Webnative?

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

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

🚀 Contributing

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

Package Sidebar

Install

npm i create-webnative-app

Weekly Downloads

1

Version

0.0.12

License

MIT

Unpacked Size

449 kB

Total Files

3

Last publish

Collaborators

  • andrewvivash
  • appcypher
  • icidasset
  • quinnwilton
  • bgins-fission
  • expede
  • walkah
  • philipp-fission