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.
- node.js (preferably the latest lts version)
- pnpm (recommended) or npm or yarn
- basic command line knowledge
- clone this repo
git clone https://github.com/amplitudesxd/amplitudes.me.git
cd amplitudes.me
- install dependencies
pnpm install
- set up spotify integration (optional)
- create a spotify developer application
- get your client id and client secret
- create a
.dev.vars
file in the root directory with:
SPOTIFY_CLIENT_ID=your_client_id_here
SPOTIFY_CLIENT_SECRET=your_client_secret_here
SPOTIFY_REFRESH_TOKEN=your_refresh_token_here
- to obtain a refresh token, use the spotify authorization guide
- run development server
pnpm dev
- open http://localhost:3000 in your browser
this site uses cloudflare pages for hosting. to deploy your own:
- fork this repository
- connect it to your cloudflare pages account
- use these build settings:
- build command:
pnpm run build
- output directory:
dist
- build command:
- 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