{"id":20610899,"url":"https://github.com/darkroomengineering/lenis-website","last_synced_at":"2025-10-16T20:28:41.215Z","repository":{"id":262022827,"uuid":"883774484","full_name":"darkroomengineering/lenis-website","owner":"darkroomengineering","description":"The website","archived":false,"fork":false,"pushed_at":"2024-12-05T11:25:40.000Z","size":1230,"stargazers_count":9,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-17T00:59:55.849Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://lenis.darkroom.engineering","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/darkroomengineering.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-05T14:50:46.000Z","updated_at":"2024-12-30T11:50:20.000Z","dependencies_parsed_at":"2024-12-05T12:32:40.783Z","dependency_job_id":null,"html_url":"https://github.com/darkroomengineering/lenis-website","commit_stats":null,"previous_names":["darkroomengineering/lenis-website"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkroomengineering%2Flenis-website","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkroomengineering%2Flenis-website/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkroomengineering%2Flenis-website/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkroomengineering%2Flenis-website/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darkroomengineering","download_url":"https://codeload.github.com/darkroomengineering/lenis-website/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234306596,"owners_count":18811567,"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":[],"created_at":"2024-11-16T10:18:18.197Z","updated_at":"2025-09-26T11:31:13.518Z","avatar_url":"https://github.com/darkroomengineering.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lenis Website\n\n## Setup\n\nThe usual process for Next.js based apps/websites:\n\n1. Install node modules:\n\n   `$ pnpm i`\n\n2. Get the .env variables from Vercel (check `.env.template`), after [installing Vercel CLI](https://vercel.com/docs/cli):\n\n   `$ vc link`\n\n   `$ vc env pull`\n\n3. Set up GSAP authentication:\n   \n   Copy `.npmrc.config` to `.npmrc` and replace `GSAP_AUTH_TOKEN` with your token\n\n4. Run development environment:\n\n   `$ pnpm dev`\n\n## Stack\n\n- [Lenis](https://github.com/darkroomengineering/lenis) - Smooth scroll library\n- [Tempus](https://github.com/darkroomengineering/tempus) - Animation timing control\n- [Hamo](https://github.com/darkroomengineering/hamo) - React hooks and utilities\n- [PNPM](https://pnpm.io/) - Package manager\n- [Next.js](https://nextjs.org/) - React framework\n- [Three.js](https://threejs.org/) - 3D graphics\n- [@react-three/drei](https://github.com/pmndrs/drei) - Three.js React utilities\n- [@react-three/fiber](https://docs.pmnd.rs/react-three-fiber/getting-started/introduction) - Three.js React renderer\n- [GSAP Business](https://greensock.com/gsap/) - Animation library\n- [Sass Modules](https://sass-lang.com/) - CSS preprocessing\n- [Zustand](https://github.com/pmndrs/zustand) - State management\n- [Next PWA](https://www.npmjs.com/package/next-pwa) - Progressive Web App support\n- [Next SEO](https://github.com/garmeeh/next-seo) - SEO optimization\n- [Next Sitemap](https://github.com/iamvishnusankar/next-sitemap) - Sitemap generation\n- [@svgr/webpack](https://github.com/gregberge/svgr/tree/main) - SVG imports\n\n## Code Style \u0026 Linting\n\n- Eslint ([Next](https://nextjs.org/docs/basic-features/eslint#eslint-config) and [Prettier](https://github.com/prettier/eslint-config-prettier) plugins)\n- [Prettier](https://prettier.io/) with the following settings:\n  ```json\n  {\n    \"endOfLine\": \"auto\",\n    \"semi\": false,\n    \"singleQuote\": true\n  }\n  ```\n- [Husky + lint-staged precommit hooks](https://github.com/okonet/lint-staged)\n\n## Development Tools\n\n- [Bundle Analyzer](https://www.npmjs.com/package/@next/bundle-analyzer) - Analyze bundle sizes\n- [Duplicate Package Checker](https://www.npmjs.com/package/duplicate-package-checker-webpack-plugin) - Check for duplicate packages\n- [Stats.js](https://github.com/mrdoob/stats.js/) - Performance monitoring\n- [Leva](https://github.com/pmndrs/leva) - Debug UI controls\n\n## Folder Structure\n\nAlongside the usual Next.js folder structure (`/public`, `/pages`, etc.) We've added a few other folders:\n\n- **/assets:** General Images/Videos and SVGs\n- **/components:** Reusable components with their respective Sass files\n- **/config:** General settings (mostly Leva for now)\n- **/hooks:** Reusable Custom Hooks\n- **/layouts:** High level layout components\n- **/lib:** Reusable Scripts and State Store\n- **/styles:** Global styles and Sass partials\n\n## Deployment\n\n- [Vercel](https://vercel.com/home) - Hosting \u0026 Continuous Deployment\n- [GitHub](https://github.com/) - Version Control\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkroomengineering%2Flenis-website","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarkroomengineering%2Flenis-website","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkroomengineering%2Flenis-website/lists"}