Skip to content

main-html/JS

Main JS Logo

Main JS

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.

Project objective

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.

Getting started

Several quick start options are available:

Change log

Version 0.8 - Personalisation Update

  • No trailing slash pathing
  • Global For attribute and slideshow flexibility
  • Better error handling

Version 0.7 - Headless Update

  • New Fetcher() Functions
  • Headless Navigation and Rendering Support
  • Page Back/Forward History Support

Version 0.6 - Consent Release

  • Consent and trust management system

Development roadmap

  • Version 1.0 - Full Release
  • Version 0.9 - Analytics & A/B Testing Update

About the developer

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.

About

Main JS is an easy-to-use, modern, lightweight and portable website JavaScript framework.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Languages