A small website where you can guess a location based on images where at least half of the image has been generated by an AI generator such as DALL-E 2.
npm install
npm run dev # Uses Rollup
Navigate to localhost:8080. Auto-reload on changes in the src/ folder should work by default.
To create an optimised version of the app:
npm run build
npm run start
This template comes with a script to set up a TypeScript development environment, you can run it immediately after cloning the template with:
node scripts/setupTypeScript.js
Or remove the script via:
rm scripts/setupTypeScript.js
If you want to use baseUrl
or path
aliases within your tsconfig
, you need to set up @rollup/plugin-alias
to tell Rollup to resolve the aliases. For more info, see this StackOverflow question.
cd scripts
python convert_to_jpgs.py
npm run build
git add .
git commit -m "deploy"
git push origin gh-pages --force
node ./deploy.js