Main JS is an easy-to-use, modern, lightweight and portable website JavaScript framework. Unlock your next javascript project with Main JS; an async headless framework and serverless library for local web development.
The Main.HTML project provides you with a truly portable website builder template, free download from GitHub. Powered by Main.JS Under the hood.
The objective of Main JS is to deliver the best possible experience for website users, developers and website owners. To achieve this, Main JS creates a few easy to follow standards that when applied in web development, help streamline the complex processes of fetching resources, rendering layout, applying personalisation and measuring performance.
This functionality is platform agnostic, accessibility aware and has no need for backend software packages, costly infrastructure or connectivity requirements.
Several quick start options are available:
git clone https://github.mainjs.orgVersion 0.8 - Personalisation Update
Version 0.7 - Headless Update
Version 0.6 - Consent Release
This project has now merged with Betterprompt 🚀️ Rocket project and will continue development; see you there!
Copyright (C) 2025 Andy Futcher, I am the developer and maintainer of Main JS and Main HTML project and professional analyst at a not-for-profit health insurer.
Main JS is free and open source and will always be, my goal is to give everyone possible a first class ticket to the most well known and well-written markup language on earth; HTML. This is not just because of the projects chosen licence (GPLv3,) but it’s a commitment to remain impartial and community focused and to never sell out or steer Main JS away from the core focus of portability and maintainability.