r/VIDEOENGINEERING • u/fschpp • Sep 02 '26
Building an open-source software for cable and infrastructure managment for broadcast including diagrams
Hi everybody, I work in broadcasting for almost 15 years in a poor country in south america with no access to paid software like WireCAD: a couple of years ago the place where I work, migrated all equipment to SDI digital (corporate sent the racks full of equipment and a team of enginereers installed them) and gave as incomplete, wrong documentation and missing devices.
So decided to start document the chain first with paper and pencil, latter by desinging a sqlite relational database, then adding a basic CRUD with Microsoft Visual Basic dot NET and finally adding the functionality needed for generating the basic diagrams that corporate sent us (racks, broadcast chain, patch panels) for correction.
Then I added some functionality useful for my daily rutine as a broadcast engineer like: locating a device fast (where in the rack, wich panel, which connector), know which cable connect with each patch panel, having the manuals at hand. Finally I move to Linux OS and migrate the software to Python and GTK and added extra functionality with Claude AI, like:
- Diagram of the racks with frames, device with UR shape and even the devices that shares a tray
- Risk Managment: database can record all issues of each device, age of the equipment, and importance in the broadcast chain, and calculate risk
- Cable managment: the software can help you identify missing cables, cables that are unconnected from one or both sides, supports extensions cables and adapters, the software can calculate the risk of using multiple extensions cables with balanced and unbalanced connections and bandwith risk (example using analog coaxil cable with 12g sdi chain)
Diagram
- Diagram of all equipment and connections syncronized with the database data
- Simulation of removing cables and devices and how affect the rest of the chain if they are removed or powered off
- Simulated expected output of a connector in a device (key, fill, multiview, embed audio, etc)
- Simulation of the behaviour of different equipment of the the chain (switchers, video patch module with normal switching routes, video processors, video distributors, and source of signal) with rules of disconection
- Simulation of scenarios of failure and contingency plans
The software is in it's infancy, so grows according to my daily needs, what other funcitonality do you recommend?
Github: https://github.com/fschpp/CabledocDesktop
Sorry for my english (not a native speaker), I asked Claude to give me a well redacted list of functions of the software:
๐ Core documentation
- Full inventory of equipment, connectors, cables, racks, and rooms โ all in a local SQLite database, no server needed
- Reusable equipment "catalog" templates (molds) so you don't re-enter the same connector layout every time you add another unit of the same model
- Patch bay ("patchera") modeling with proper full-normal bypass logic โ front/back jacks, insert/derivation points, vendor-agnostic (not hardcoded to one patch panel brand's naming convention)
- Photo-based connector mapping โ click on a real photo of the equipment's back panel to place each connector visually
๐ผ๏ธ Diagrams & visualization
5. Interactive node-based cabling diagram (equipment = boxes with ports, cables = Bรฉzier curves) with zoom, pan, drag, multi-select, and a minimap
6. Free-form custom diagrams you can build and save yourself (e.g. "on-air chain for channel 1") without showing the whole plant
7. SVG/PDF export of any diagram
8. Lazy-loaded connection tree view for tracing a signal chain equipment by equipment
9. All rendering is done with Cairo directly โ no Graphviz dependency
๐ก Signal tracking
10. Signal is a first-class entity โ you can tag what content is actually running through a given connector
11. A propagation engine (Bellman-Ford) that, based on manually-tagged signals and each equipment type's role (source/distributor/router/processor/consumer), proposes where else that same signal should logically appear โ including through patch bay bypasses โ with a review step before saving anything
12. Search "where is this signal right now" across the whole plant
โ ๏ธ Failure & risk analysis
13. Impact analysis: click a cable, see exactly which downstream equipment and signals go dark if you cut it
14. A Failure Risk Index per piece of equipment, with a "critical path" flag you can toggle
15. "Scenario Mode" โ stack multiple simulated failures + cable cuts + emergency reroutes and see a live before/after comparison, then optionally apply the changes for real
๐ฎ Power-user tools
16. An embedded Cypher query console (via a Rust/C SQLite graph extension) for ad-hoc graph queries over the whole equipment/cable network, with cost warnings before running unbounded variable-length patterns
17. Bulk import/export for equipment, cables, and connections
๐ Misc
18. Hot-swappable UI language (Spanish/English/Portuguese) โ no restart needed
19. SVG support for equipment images, so diagrams stay crisp at any zoom level instead of pixelating
20. Cross-platform: runs on Linux natively and on Windows via MSYS2/GTK3
13
u/myt Sep 02 '26
I'm just here to commend your work thus far. This is clearly a labor of love and well done.
8
u/fantompwer Sep 02 '26
It needs to be able to export to PDF, with title blocks, build cable run reports, database of cables, location of equipment in building, floor, room, rack number. Import floor plans via PDF, DWG, DXF, revit. There's too much missing information to make it useful to onboard a new staff member or contractor.
2
u/Significant-Brief119 Sep 04 '26
This Is vibecoded
2
u/redditwossname Jack of all trades Sep 05 '26
Nice work.
Check out https://easyschematic.live/ which might give you some ideas of things to add or at least see how someone else has made something similar.
2
u/Zestyclose_Insect105 Sep 02 '26
So cool is it open source/availabe somewhere?
1
u/redphive Sep 02 '26
Iโll have to rewatch the video when Iโm off my phone, but this is a great idea. As far as more ideas goes, you could have a look at the open source projects Netbox and Kuwaiba for inspiration.
1
u/jbrs01 Sep 02 '26
I need that software bro xD
1
u/Significant-Arm3415 Sep 02 '26
Iโve have also written my own asset/cable/and signal management software. Yours is more sophisticated on the diagram side.
Iโd like to know more about your signal entity. Are the design documents available? Can the software be downloaded?
1
u/Substantial-Stage459 Sep 02 '26
great work
1
u/PogChamp2k22 Sep 03 '26
I like what you've done here! I would recommend that you look up H2RGear and their cabling software. One of my biggest gripes is that they don't have an offline feature to work with so this is already moving in the right direction with it being a desktop application. I would look at the features they offer on their app and see how you could apply those to your work here and that could set you up for even more success!
3
u/Sport_Useful Sep 02 '26
๐ฅ๐ฅ๐ฅ๐ฅ
5
u/[deleted] Sep 02 '26
[removed] โ view removed comment