{"repo":"MaxLeiter/maxleiter.com","free":true,"listed":false,"github":"https://github.com/MaxLeiter/maxleiter.com","clone":"git clone https://github.com/MaxLeiter/maxleiter.com.git","description":"My personal site and playground, built with next.js","language":"JavaScript","stars":237,"topics":["blog","nextjs","personal-website","react","nextjs13"],"license":"MIT","category":"analytics","readme_excerpt":"My personal site Getting started 1. Install the pnpm package manager: https://pnpm.io/ 2. Run pnpm in the project directory 3. Run pnpm dev to start a local developer server Environment variables - GITHUB TOKEN : necessary if you want to fetch github stars for projects - NEXT PUBLIC SUPABASE URL , SUPABASE SERVICE ROLE KEY , NEXT PUBLIC SUPABASE ANON KEY : required for analytics. See https://maxleiter.com/blog/supabase-next-analytics for more info - If you want the git commit hash in the bottom of the home page, you need to host with vercel or provide a NEXT PUBLIC VERCEL GIT COMMIT SHA env var Usage: - pnpm : - lint : automatically lints files - dev : start a local instance with live reloading - rss : generate an RSS feed - build : generate an RSS feed and production site - analyze : generate a bundle you can inspect via @next/bundle-analyzer - start : start a production instance built via yarn build Directory structure: - app - components/ : react components - data/ : static data that can eventually be moved to a DB or something - lib/ : hooks, 3rd party API stuff, utils functions - pages/ : next.js pages (the actual routes that are rendered) - styles/ : contains the global styles - pages/api : nextjs API routes - posts/ : markdown files rendered at build time - public/ : images for blog, favicon, built files - scripts/ : contain the scripts for building the sitemap and RSS feed","default_branch":null,"files":null,"tree":[],"storefront":"/r/MaxLeiter","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/MaxLeiter/maxleiter.com/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}