AppleSauce is a collection typescript libraries to make building nostr web clients easier and is used in noStrudel
The full documentation can be found on the documentation site.
# using npm
npm install applesauce-core
# using pnpm
pnpm install applesauce-core
# using yarn
yarn add applesauce-core
Clone the repository:
git clone https://github.com/hzrd149/applesauce.git
cd applesauce
Install dependencies:
pnpm install
Build the project:
pnpm build
This repo uses vitest for all tests
# Run all tests
pnpm test
# Run coverage tests
pnpm coverage
# Run the tests in dev mode
pnpm vitest
This repo is setup with typedoc for the typescript documentation and vitepress for the documentation site
# Build the typedocs
pnpm typedoc
The packages/docs
is the package for the docs site
cd packages/docs
# Run vitepress dev
pnpm dev
# Build vitepress
pnpm build
The applesauce-react
package contains various hooks and providers for using applesauce in react components, Docs
git checkout -b feature/my-new-feature
pnpm install
pnpm test
pnpm build
pnpm format
git commit -am 'Add some feature'
git push origin feature/my-new-feature