Highlighter is a tool for creators and fans to interact with each other.
Highlighter relies heavily on NIP-29 for content distribution and grouping.
h
tag matches the pubkey of the creator by publishing a kind:9006 event.NIP-88 provides the infrastructure for recurring subscriptions
This repository is a monorepo that contains the following packages:
git clone --recursive https://github.com/pablof7z/highlighter
# Use --recursive to fetch all the git submodules!
cd highlighter
pnpm install
turbo build
cd apps/web
cp .env.example .env
Replace the placeholder values in .env
with your own values. You'll need to create a private key for your creator relay identity.
Run the relay
cd apps/relay/relay
RELAY_URL=ws://localhost:5577 RELAY_PRIVKEY=<your-relay-private-key> RELAY_NAME="some-name-for-your-relay" DOMAIN=localhost go run -ldflags=-compressdwarf=false .
Run the web app
cd apps/web
pnpm dev