ionthrust
v1.0.244
Published
Framework For Chromium-Based Browser Extensions
Downloads
24
Maintainers
Readme
ionthrust
THIS PROJECT IS STILL IN THE DESIGN PHASE
IDEAS & CONTRIBUTIONS ARE WELCOME
An Open Source Universe Project
Contents
Features ✨
- Create Chrome Extensions with Svelte
Planned
- Unified State Management via
fysics
Planned
- Annotate Functions as Background or Content-Script
Planned
- Automatic Code Splitting between Background & Content Scripts
Planned
- Typescript Support
Planned
Install 🛠
npm install ionthrust
Usage 🔭
Read more about the Design behind ionthrust
here.
// @ion-thrust background
const backgroundFunction = async (data) => {
await chrome.storage.local.set({ data });
}
// @ion-thrust content-script
const contentScriptFunction = async () => {
const element = document.querySelector('div > div > .class > a');
await backgroundFunction({ text: element.innerText });
}
// Ion Thrust Automatically Creates a Messaging Channel between both functions to support RPC.
Documentation 🛰
ionthrust
is under active development, documentation will be added once an initial release is ready.
Contributing 🌎
We would love for you to contribute your ideas, code, & fixes to ionthrust
.
We encourage everyone to read our Design Document to learn more about the thought process behind ionthrust.
Also check out the rewards offered for contributing to the Open Source Universe.
License ⚖️
MIT