Hey is a decentralized and permissionless social media app built with Lens Protocol πΏ
To get started with the Hey monorepo, ensure the following dependencies are installed on your system:
This repository uses pnpm workspaces to manage multiple packages within a monorepo structure.
git clone [email protected]:heyverse/hey.git
If youβre on macOS, both can be installed via Homebrew:
brew install nvm pnpm
Use nvm
to install the correct Node.js version:
nvm install
Navigate to the root of the repository and install all dependencies using pnpm:
pnpm install
Copy the .env.example
file to create a new .env
file for each package or app that requires environment configuration:
cp .env.example .env
Repeat this process for all relevant packages and applications in the monorepo.
Below is a brief description of the variables defined in the example environment files.
apps/api/.env.example
)NEXT_PUBLIC_LENS_NETWORK
β Lens network to use (mainnet
, testnet
, or staging
).DATABASE_URL
β Connection string for the main Postgres database.LENS_DATABASE_URL
β Read-only Postgres connection for Lens data.REDIS_URL
β Redis connection string for caching.PRIVATE_KEY
β Private key used to sign Lens requests.EVER_ACCESS_KEY
β Access key for 4EVERLAND storage.EVER_ACCESS_SECRET
β Secret key for 4EVERLAND storage.SHARED_SECRET
β Token for internal API authorization.OPENROUTER_API_KEY
β API key for OpenRouter AI services.apps/web/.env.example
)VITE_IS_PRODUCTION
β Boolean flag indicating production mode for Vite.NEXT_PUBLIC_LENS_NETWORK
β Lens network used by the web app.To run the application in development mode:
pnpm dev
To compile the application:
pnpm build
Run the TypeScript type checker to validate the codebase:
pnpm typecheck
Check code quality and formatting:
pnpm biome:check
Fix linting and formatting issues automatically:
pnpm biome:fix
This project is licensed under the AGPL-3.0 license. Please refer to the LICENSE file for full terms and conditions.
πΈ