A starter kit for building Nostr clients with Lightning payment.
AGPL-3.0 License
A starter kit for building Nostr clients with Lightning payments.
Prerequisites:
To set up the app execute the following commands.
git clone https://github.com/unllamas/zapcito.git
cd ...
pnpm install
Install dependencies
pnpm dev
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
pnpm build
Create a .env
file, or use .env.example
as an example:
# Analytics
GOOGLE_ANALYTICS_KEY='G-...'
GOOGLE_TAG_MANAGER_KEY='GTM-...'
# Generic
SIGNER_RANDOM_PRIV_KEY='Secret key on kex'
# Giphy
NEXT_PUBLIC_GIPHY_API_KEY='Generate API for Giphy'
Most of the code lives in the src
folder and looks something like this:
src
├── app
├── components
│ └── layouts # Folder for different layouts
│ └── ui # Atomic components
├── config
├── features
├── hooks
├── lib
├── store
├── types
└── index.(css)
For next@^13.x
we recommend using the features
folder which simulates a pages
or screens
folder. This in turn can contain the following structure:
features # Or: page, screen
└── example
└── components # Example folder
└── config # Example folder
└── hooks # Example folder
└── index.(tsx)
Zapcito is open-source software licensed under the AGPL-3.0 license.
If you'd like to support the development of Zapcito, please consider donating to the developer.
If you have any questions or concerns about Zapcito, please contact the developer at npub1em3g0wcfjz5we0gaaelw07fcyqys3fwg42qykw774mvgala424rsl26ytm.