Skip to content

amplitudesxd/amplitudes.me

Repository files navigation

what is this?

this is my personal website, hosted at amplitudes.me.

though i've moved on as a person and a developer, the old version is still available under the old branch of this repository if you'd still like to see it.

how to run it yourself

prerequisites

  • node.js (preferably the latest lts version)
  • pnpm (recommended) or npm or yarn
  • basic command line knowledge

local development

  1. clone this repo
git clone https://github.com/amplitudesxd/amplitudes.me.git
cd amplitudes.me
  1. install dependencies
pnpm install
  1. set up spotify integration (optional)
SPOTIFY_CLIENT_ID=your_client_id_here
SPOTIFY_CLIENT_SECRET=your_client_secret_here
SPOTIFY_REFRESH_TOKEN=your_refresh_token_here
  1. run development server
pnpm dev
  1. open http://localhost:3000 in your browser

deploying your own version

this site uses cloudflare pages for hosting. to deploy your own:

  1. fork this repository
  2. connect it to your cloudflare pages account
  3. use these build settings:
    • build command: pnpm run build
    • output directory: dist
  4. add the spotify environment variables in cloudflare pages settings:
    • SPOTIFY_CLIENT_ID
    • SPOTIFY_CLIENT_SECRET
    • SPOTIFY_REFRESH_TOKEN

alternatively, use the wrangler cli:

pnpm run deploy

About

my personal website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published