Web interface for LiteBans using Next.js
- TypeScript 95.1%
- CSS 4.3%
- JavaScript 0.6%
| public | ||
| src | ||
| .eslintrc.json | ||
| .gitignore | ||
| components.json | ||
| LICENSE | ||
| next.config.mjs | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| README.md | ||
| tailwind.config.ts | ||
| tsconfig.json | ||
LiteBans-next
Web interface for LiteBans using Next.js
Features
- All features from litebans-php
- TailwindCSS + shadcn-ui
- Light & dark mode
- Localization
- Language switcher
Getting Started
- 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
Development
npm install # or pnpm install or yarn install
npm run dev # localhost:3000
Contributing
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
License
Distributed under the MIT License. See LICENSE for more information.