{"id":13566953,"url":"https://github.com/heyxyz/hey","last_synced_at":"2025-02-24T18:42:19.668Z","repository":{"id":37007757,"uuid":"471728341","full_name":"heyxyz/hey","owner":"heyxyz","description":"Hey is a decentralized and permissionless social media app built with Lens Protocol 🌿","archived":false,"fork":false,"pushed_at":"2024-10-29T08:20:04.000Z","size":56772,"stargazers_count":23354,"open_issues_count":0,"forks_count":1545,"subscribers_count":107,"default_branch":"main","last_synced_at":"2024-10-29T09:40:35.591Z","etag":null,"topics":["arweave","blockchain","crypto","dapp","graphql","hacktoberfest","ipfs","irys","lens-protocol","nextjs","polygon","react","social-media","tailwindcss","turborepo","typescript","vite","vitest","wagmi","web3"],"latest_commit_sha":null,"homepage":"https://hey.xyz","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/heyxyz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["heyxyz"]}},"created_at":"2022-03-19T15:01:46.000Z","updated_at":"2024-10-29T08:20:10.000Z","dependencies_parsed_at":"2023-10-04T07:26:29.066Z","dependency_job_id":"368d9e65-aa38-40de-8084-1af907d69bc5","html_url":"https://github.com/heyxyz/hey","commit_stats":{"total_commits":11825,"total_committers":121,"mean_commits":97.72727272727273,"dds":0.4810993657505286,"last_synced_commit":"ca741e1eca3e52892edcafb9b092ed45bcbde6c3"},"previous_names":["lensterxyz/lenster"],"tags_count":29,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heyxyz%2Fhey","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heyxyz%2Fhey/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heyxyz%2Fhey/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heyxyz%2Fhey/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heyxyz","download_url":"https://codeload.github.com/heyxyz/hey/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239927842,"owners_count":19719836,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arweave","blockchain","crypto","dapp","graphql","hacktoberfest","ipfs","irys","lens-protocol","nextjs","polygon","react","social-media","tailwindcss","turborepo","typescript","vite","vitest","wagmi","web3"],"created_at":"2024-08-01T13:02:20.184Z","updated_at":"2025-02-24T18:42:19.630Z","avatar_url":"https://github.com/heyxyz.png","language":"TypeScript","funding_links":["https://github.com/sponsors/heyxyz"],"categories":["TypeScript","网络服务","blockchain"],"sub_categories":["网络服务_其他"],"readme":"# Hey Monorepo\n\n## Requirements\n\n- [Node.js](https://nodejs.org/en/download/) (v18 or higher) - The backbone of our project, make sure you have this installed.\n- [pnpm](https://pnpm.io/installation) - Our trusty package manager, because who doesn't love faster installs?\n- [Postgres App](https://postgresapp.com/) - Our database of choice, because data needs a cozy home.\n- [Redis](https://redis.io/download) - The speedy in-memory data store, for when you need things done in a flash.\n\n## Installation\n\nWe harness the power of [pnpm workspaces](https://pnpm.io/workspaces) to keep our monorepo running smoother than a freshly buttered pancake.\n\n### Clone the repository\n\nClone the Hey monorepo to your local machine:\n\n```bash\ngit clone git@github.com:heyxyz/hey.git\n```\n\n### Install NVM (Node Version Manager) and pnpm\n\nRocking a macOS? You can grab both with Homebrew, like a true brew master:\n\n```bash\nbrew install nvm pnpm\n```\n\n### Install Node.js\n\nUse `nvm` to summon the magical version of Node.js you need:\n\n```bash\nnvm install\n```\n\n### Install dependencies\n\nTeleport yourself to the root of the repository and let pnpm sprinkle its dependency magic:\n\n```bash\npnpm install\n```\n\n### Create a `.env` file\n\nChannel your inner wizard and conjure up a `.env` file from the `.env.example` template for every package and app that needs it. Don't forget to sprinkle in the necessary environment variables!\n\n```bash\ncp .env.example .env\n```\n\nDon't forget to play copycat and repeat this `.env` file creation for every package and app that needs it. Consistency is key!\n\n### Start the application\n\nWhen all the stars align and everything is in place, kick off the application in development mode:\n\n```bash\npnpm dev\n```\n\n## Build and Test\n\n### Build the application\n\nReady to build the application? Just run this command:\n\n```bash\npnpm build\n```\n\n### Test the application\n\nWant to run tests while you're developing? Here's how you do it:\n\n```bash\npnpm test\n```\n\n## Periodic Tasks\n\n### Remove unused exports and helpers\n\nWe use `ts-prune` to hunt down and eliminate unused exports and helpers lurking in our codebase. Just a heads-up: you'll need to run this task manually for each package and app. Happy pruning!\n\n```bash\ncd apps/web; npx ts-prune -i generated.ts\n```\n\n### Update dependencies\n\nTime to give our dependencies a makeover! We rely on the magical powers of `pnpm` to keep everything up-to-date and looking sharp.\n\n```bash\nscript/clean-branches\nscript/update-dependencies\n```\n\n### Update lock file\n\nWe trust `pnpm` to keep our lock file fresh and fabulous!\n\n```bash\nscript/clean-branches\nscript/update-lock-file\n```\n\n## Other tools you might like\n\n### Ripgrep\n\nWe use [Ripgrep](https://github.com/BurntSushi/ripgrep) to search for text in the codebase. It's like `grep` and `ag` had a baby, and that baby grew up to be a speed demon!\n\nInstall it via Homebrew:\n\n```bash\nbrew install ripgrep\n```\n\nSearch for text in the codebase:\n\n```bash\nrg \"const Verified\"\n```\n\n### Bundle Analyzer\n\nIn `apps/web`, we've got a bundle analyzer that spills the beans on the size and contents of our production bundles. It's like having X-ray vision for your code!\n\nTo generate this output, run:\n\n```bash\ncd apps/web\nANALYZE=true pnpm build\n```\n\nFire up this command to build the `apps/web` project and watch as three browser windows magically pop open, each showcasing bundle details for node, edge, and client bundles. The client bundle is the superhero for page performance, while all bundles play a vital role in development and build performance.\n\n## Code of Conduct\n\nWe kindly ask all contributors and team members to follow our [Code of Conduct](./CODE_OF_CONDUCT.md). Think of it as our community's golden rulebook - play nice and keep the good vibes flowing!\n\n## License\n\nThis project is open-sourced under the **AGPL-3.0** license. For all the nitty-gritty details, check out the [LICENSE](./LICENSE) file. It's a real page-turner!\n\n## P.S\n\nWe 💖 you to the moon and back! Your support is like a never-ending supply of coffee for our code. Thank you for making Hey the most awesome place in the universe!\n\n🌸\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheyxyz%2Fhey","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheyxyz%2Fhey","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheyxyz%2Fhey/lists"}