RepositoryShell
LE

leoheck/kiri

Kiri is a visual tool designed for reviewing schematics and layouts of KiCad projects that are version-controlled with Git.

724stars
49forks
8issues
4views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: kidiff

#1 Repository of the week

1
TINIX TRENDING·Topic: schematic

#1 Repository of the week

1
TINIX TRENDING·Topic: visual-diff

#1 Repository of the week

KiCad Revision Inspector (KiRI)

KiRI started as a script to experiment having a visual diff tool for KiCad projects including schematics and layouts. After some time, it became an interesting and it is still being updated.

Currently, KiRi supports KiCad >= 5.

Internally it uses existing tools to generate svg images of schematics and layouts to be compared.

In this way, when exporting schematics, if:

  • KiCad >= 7 is installed, the kicad-cli is used.
  • KiCad 6 is installed (which does not have kicad-cli available), schematics are exported using xdotool on Linux/Windows and cliclick on macOS, using the GUI. This method is far from the ideal and it is not recommended.
  • KiCad 5 is installed or if the projects is based on KiCad 5, plotkicadsch/plotgitsch are used to export the schematics.

However, when exporting the layout layers:

  • Kicad-Diff is used for all supported KiCad versions using pcbnew library available in python. It is also possible to use kicad-cli to export the layout layers however this process is slower than using Kicad-Diff since the other exports all the layers at once and kicad-cli can only do one layer at a time.

KiRI Installation

Check the Installation instructions, here.

Using KiRI

KiRI can be launched with the following command, anywhere, inside or outside of the repository of the project.

kiri [OPTIONS] [KICAD_PROJECT_FILE]

KICAD_PROJECT_FILE can be passed, but it can also be omitted. If running from inside the project's repository, it will use the .pro or .kicad_pro available. If both are present (which is not good), it will ask your choice. The same happens is running outside of the repository without passing the KICAD_PROJECT_FILE.

Command line options (aka Help)

Command line flags can be seen using the -h flag

kiri -h

Archiving generated files

There is a possibility to archive generated files (check the help above).

To visualize generated files it is not necessary to have KiRI installed. You just have to unpack the generated package and then execute the web-server script (./kiri-server) inside of the folder, as shown below:

tar -xvzf kiri-2021.11.18-16h39.tgz
cd kiri
./kiri-server .

KiCad Integration

It is possible to integrate KiRI with PCBNew by adding a button to its toolbar with the following command:

# Create folder if it does not exist
mkdir -p "~/.kicad/scripting/plugins"

# Copy the plugin there
cd ./kiri
cp -r "./kicad/plugin/kiri_v6/" "~/.kicad/scripting/plugins/kiri"

KiRI Screenshots

Browsing the schematic view walking through and comparing each page of the schematics, individually.

Schematic View

Browsing the layout view walking through and comparing each layer of the layout, individually.

Layout View

Here is the comparison of the schematics when the project is updated from using KiCad 5 (.sch) to KiCad 6 (.kicad_sch).

Layout View

Shortcuts are a really good way of walking through the commits, pages and layers quickly. Check the available shortcuts by hitting the shortcut i.

Layout View

A quick and old demo on the Youtube.

KiCad Revision Inspector Demo


Are you enjoying using this tool, feel free to pay me a beer :). Cheers!

Similar Projects

Discover other similar projects and AI models.

RepositoryC++
KiCad/kicad-source-mirror

This is an active mirror of the KiCad development branch, which is hosted at GitLab (updated every time something is pushed). Pull requests on GitHub are not accepted or watched.

3.2k
Dec 1, 2026
RepositoryPython
TousstNicolas/JLC2KiCad_lib

JLC2KICAD_lib is a python script that generate a component library (schematic, footprint and 3D model ) for KiCad from the JLCPCB/easyEDA library.

494
Sep 11, 2026
RepositoryRust
alplabai/signex

Open-source, AI-first EDA tool — GPL licenced or Industry Lead EDA tools compatible schematic and PCB editor built in Rust Language

253
Dec 2, 2026
RepositoryShell
tjhorner/upsy-desky

Make your standing desk smarter

842
Aug 22, 2026
RepositoryShell
nguyen-v/KDT_Hierarchical_KiBot

Professional, automated workflow template for KiCad. This template uses KiBot in a CI/CD environment to automate fabrication and assembly document generation.

221
Oct 22, 2026
RepositoryShell
ohmyzsh/ohmyzsh

🙃 A delightful, community-driven framework for managing your zsh configuration. Built by 2,600+ contributors, with hundreds of plugins (git, rails, laravel, node, python, docker, kubectl, aws, and more), themes to spice up your terminal, and automatic updates to keep your command line feeling like home.

191.0k
Nov 29, 2026
RepositoryRust
dandavison/delta

A syntax-highlighting interface for git, diff, blame, and grep/ripgrep

33.0k
Nov 30, 2026
RepositoryRust
Wilfred/difftastic

a structural diff that understands syntax 🟥🟩

26.3k
Nov 19, 2026
RepositorySwift
SnapKit/SnapKit

A Swift Autolayout DSL for iOS & OS X

20.3k
Jul 13, 2026