<img src="https://github.com/InioX/matugen/assets/81521595/66cfec75-702c-4b55-83fc-c474de171057" width=55% height=55%>
<img src="https://github.com/InioX/matugen/assets/81521595/ec3a165d-442d-4494-9aec-24254d11ae61" width=50% height=50%>
A cross-platform material you and base16 color generation tool
<sub>(pronounced: mat-uh-gen)</sub>
<img alt="license" src="https://custom-icon-badges.demolab.com/crates/l/matugen?color=3D3838&logo=law&style=for-the-badge&logoColor=370D10&labelColor=FEB3B3">
<img alt="version" src="https://custom-icon-badges.demolab.com/crates/v/matugen?color=3D3838&logo=package&style=for-the-badge&logoColor=370D10&labelColor=FEB3B3">
<img alt="downloads" src="https://custom-icon-badges.demolab.com/crates/d/matugen?color=3D3838&logo=download&style=for-the-badge&logoColor=370D10&labelColor=FEB3B3">
<img alt="stars" src="https://custom-icon-badges.demolab.com/github/stars/InioX/matugen?color=3D3838&logo=star&style=for-the-badge&logoColor=370D10&labelColor=FEB3B3">
<a href="#-------------------------installation">Installation</a>
·
<a href="https://iniox.github.io/#matugen">Wiki</a>
·
<a href="#--------------------themes">Themes</a>
<a href="https://ko-fi.com/iniox">
<img src="https://ziadoua.github.io/m3-Markdown-Badges/badges/Ko-fi/ko-fi2.svg">
</a>
<a href="https://discord.gg/JA3C2U9EcC">
<img src="https://github.com/user-attachments/assets/84f4e3a2-73ac-4112-8633-c02164c2c02c">
</a>
<sub>Donations through Ko-Fi are welcome!
[!TIP] If you would like to learn more about the features and configuration, read the wiki here.
hex, rgb, rgba, hsl, etc.)Can be used as a standalone templating engine. You can import custom json files or define and override them in the CLI.
Generate / Export Material You and base16 color palettes
Easily integrate palette values into config files, themes, or style templates
Keyword Filters - Read More
replace, to_upper, to_lower, and set_lightnessFilters can be chained together for powerful inline transformations
Custom Keywords / Colors
Useful for adding custom theme data, config variables, or full color schemes
Palette Customization
Click to expand
cargo install matugen
Click to expand
yay -S matugen-bin
sudo pacman -S matugen
Click to expand
Add matugen to your flake inputs:
inputs = {
matugen = {
url = "github:/InioX/Matugen";
# If you need a specific version:
ref = "refs/tags/matugen-v0.10.0";
};
# ...
};
Then you can add it to your packages:
let
system = "x86_64-linux";
in {
environment.systemPackages = with pkgs; [
# ...
inputs.matugen.packages.${system}.default
];
}
This flake also provides a NixOS/Home Manager module, which can be imported by adding this in your configuration:
{pkgs, inputs, ...}: {
imports = [
inputs.matugen.nixosModules.default
];
# ...
}
The module does NOT automatically symlink the files. For an example of using this module with Home Manager, see https://github.com/InioX/matugen/issues/28
Option details can be found by reading the module. A search.nixos.org-like option viewer is planned.
Click to expand
pkgin install matugen
or, if you prefer to build it from source
cd /usr/pkgsrc/graphics/matugen
make install
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
$ claude mcp add matugen \
-- python -m otcore.mcp_server <graph>