@meric.tech/meric
v1.0.4
Published
Lightweight CLI wrapper for launching your commands plus a low-performance preset for integrated GPUs.
Maintainers
Readme
meric
Custom command launcher with an optional low-performance preset for integrated GPUs.
Installation
npm install -g @meric.tech/mericUsage
Usage: meric [options] [--] [command ...]
Options:
--perf <level> Apply a performance profile (available: low).
--help Show this help message.Examples
Reduce GPU usage and stay on the monitoring loop:
meric --perf lowDrop GPU load and then start your app:
meric --perf low -- npm run devUse
mericas your personal launcher so you always type the same prefix:meric npm run lint
What --perf low does
The preset invokes minimize_gpu_load.sh, which:
- Stops active display managers (GDM, SDDM, LightDM) so heavy DE compositors aren’t running.
- Stops GNOME/KDE background services (Tracker, Evolution helpers) that trigger GPU work.
- Lowers the monitor refresh rate, disables GNOME animations, and dims the backlight.
- Optionally starts an ultra-light window manager (set env vars before running if needed).
- Monitors
/sys/class/drm/card0/device/gpu_busy_percentto confirm reduced usage.
You can tweak behavior with environment variables such as TARGET_DISPLAY, TARGET_RATE,
BACKLIGHT_LEVEL, START_MINIMAL_WM, and GPU_MONITOR. See inline comments inside
minimize_gpu_load.sh for the full list.
Publishing
- Update the version in
package.json. - Run
npm publish --access public.
That exposes the globally-installed meric command.
