This is a Next.js boilerplate template specifically designed for government websites of Sri Lanka. It includes a multi-language implementation supporting English, Sinhala, and Tamil, with a homepage prompt allowing users to select their preferred language.
-
Multi-language support (English / Sinhala / Tamil)
-
Language prompt on homepage for user selection
-
Next.js App Router for frontend, Pages Router for API routes
-
Professional Header that indicates the website is an official government website & toggleable language
-
Built with ShadCN components
-
Modular and extendable architecture
✅ This boilerplate is freely available for use only when developing on behalf of a government website in Sri Lanka.
❌ If you are using this template for non-government purposes, please remove any content that states "This is a government website" and only use it for language implementation.
-
Clone the repository:
git clone https://github.com/inuka-mayakaduwa/gov-web-boilerplate-next-js.git cd nextjs-gov-boilerplate
-
Install dependencies:
npm install
-
Run the development server:
npm run dev
Open http://localhost:3000 in your browser.
This boilerplate will continue to evolve based on feedback and feature requests. If you have suggestions or find issues, please feel free to open an issue or contribute via pull requests.
This project is open-source, but its intended use is for government-related projects in Sri Lanka. For non-government projects, please modify the content accordingly.
Illuminating the Future of Tech – A project by Lunox