Component-based UI
Build interactive interfaces for web pages with Vue or React
Userscript framework
Build it in Vue or React. Makoo mounts it, keeps it there, cleans up.
pnpm dlx @makoojs/create-makooComponent injection and lifecycle management for complex userscripts
Build interactive interfaces for web pages with Vue or React
Declare where a component mounts, its attached listeners, and its recovery strategy
Wait for async nodes and reinject components after the host replaces them
Start, stop, and clean up host event listeners in one place
Types for declarations, commands, and in-component status
Project creation, development debugging, and build preview
Injection management
Manage component and listener executions and recover after the host replaces nodes
Framework support
Mount components through adapters and read commands and status inside them
Learn about framework supportMakoo CLI
Install the development script, view logs, and restart the server with shortcuts
View the development terminalInjection status
View component and listener status and errors in the terminal, and switch between connected Core instances
Learn about injection inspectionComponent injection example
Declare a component with inject and hand it to a Core instance to run
Start buildingimport { createMakoo, inject } from '@makoojs/core';
import { createVueAdapter } from '@makoojs/vue';
import Panel from './Panel.vue';
const core = createMakoo();
core.useAdapter(createVueAdapter());
core.apply([
inject({ name: 'panel', injectAt: 'body', adapter: 'vue', component: Panel })
]);
Open source MIT License
Build component-driven page features with Makoo