A moderntemplate for building decentralized social applications on Lens Protocol.
Welcome to the Lens Starter template! Here's how to get started quickly:
- Clone this repository
- Install dependencies:
bun install
- Copy the environment file:
cp .env.example .env
- Create a Lens app at https://developer.lens.xyz/apps
- Copy your App ID and paste it into the
.env
file asNEXT_PUBLIC_APP_ADDRESS
- Start the development server:
bun run dev
- Open http://localhost:3000 in your browser
- TS Toolkit: Bun
- Linting & Formatting: Biome
- Scripts:
bun run dev
- Start development serverbun run build
- Build for productionbun run start
- Start production serverbun run format
- Format code with Biomebun run lint
- Lint code with Biomebun run check
- Format and lint code with Biome
- Framework: Next.js 15
- Language: TypeScript 5
- Styling: Tailwind CSS 4
- UI Components: Shadcn UI (via Radix UI primitives)
- Lens Protocol:
@lens-protocol/client
@lens-protocol/react
@lens-chain/sdk
- Theme Handling: next-themes
- Web3 Integration:
- Form Handling:
- react-hook-form
- zod (validation)
- Data Fetching: TanStack Query
- Date Handling: date-fns
- Visualization: Recharts
- Icons: Lucide React
- Notifications: Sonner