https://github.com/treeman/layout_gen
https://github.com/treeman/layout_gen
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/treeman/layout_gen
- Owner: treeman
- License: apache-2.0
- Created: 2024-11-19T19:07:22.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-12-06T19:21:45.000Z (over 1 year ago)
- Last Synced: 2025-12-03T18:24:30.292Z (7 months ago)
- Language: Rust
- Homepage:
- Size: 104 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This is a keyboard layout visualization tool I made to create svgs I could embed into my blog.
See [this post](https://www.jonashietala.se/blog/2024/11/26/the_current_cybershard_layout/) for an example.
> [!important]
> I made this tool for my usage and mine alone. I don't have the time or energy to develop it as a general purpose tool and it will most likely break if you point it towards any other layout than my own.
> If you want to use it then I recommend you to fork it and tweak and fix it to your needs.
> [!caution]
> The code is in dire need for a refactor and is provided without documentation.
> It's a jungle out there.
Run with this for example:
```bash
cargo run --\
--qmk-root ~/code/qmk_firmware\
--keyboard cybershard\
--render-opts render_settings.json\
render --output ~/output_dir/
```
or
```bash
cargo run --\
--qmk-root ~/code/qmk_firmware\
--keyboard cybershard\
--render-opts ~/code/jonashietala/keyboard_layouts/cybershard.json\
render\
--output ~/code/jonashietala/images/cybershard-layout
```