/bat

๐Ÿฆ‡ Opinionated Vite Starter Template

Primary LanguageTypeScriptOtherNOASSERTION

because our first commits never have parents


I bet your parents taught you that you mean something, that you're here for a reason. My parents taught me a different lesson, dying in the gutter for no reason at all... They taught me the world only makes sense if you force it to.

-- batman


Live Demo

English | Franรงais



๐Ÿš€ Deploy

Features

Try it now!

Clone to local

npx degit olgam4/bat my-bat-mobile
cd my-bat-mobile
pnpm i # If you are not already an avid pnpm-er, I really do suggest you give it a try !

GitHub Template

Create a repo from this template

Checklist

  • Change the author name in LICENSE
  • Change the favicon in public
  • Remove the .FUNDING.yml
  • Add deno project name and token to Secrets
  • Clean up the READMEs and remove routes

Usage

Development

Simply run and open localhost:3000

pnpm dev --open

Build

Building uses vite and solid-start

pnpm build

Start

Host a server to ping your build preview (requires build)

pnpm start

Update dependencies

Try and find new minors, majors and bugfixes with taze

pnpm deps

Lint your project

There is a very stripped-down eslint, which you can use

pnpm lint

Run through Docker -- does not work on Mac M1+ chips

First build your app

 docker build . -t bat:latest

Then mount it using docker run

 docker run -it --init -p 3000:3000 bat:latest

Build native apps

This project uses Tauri ๐Ÿฆ€ to build native apps.

Dev

pnpm tauri dev

Build

pnpm tauri build

Acknoledgements

This repo is inspired by ๐Ÿ• antfu/vitesse