Web interface for LiteBans using Next.js
- All features from litebans-php
- TailwindCSS + shadcn-ui
- Light & dark mode
- Localization
- Language switcher
- Clone this repository
git clone https://github.com/ltln/litebans-next.git
- Install packages
npm install # or pnpm install or yarn install
- Rename and edit config file
cp src/lib/config.example.ts src/lib/config.ts
nano src/lib/config.ts # or vim src/lib/config.ts
- Build and run
npm run build
npm start
Your website is served at localhost:3000
npm install # or pnpm install or yarn install
npm run dev # localhost:3000
All contributions are greatly appeciated. To start contributing, fork this repository and create a pull request.
- Fork the Project
- Create your Feature Branch (git checkout -b feature/AmazingFeature)
- Commit your Changes (git commit -m 'Add some AmazingFeature')
- Push to the Branch (git push origin feature/AmazingFeature)
- Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.