DealForge autonomously sources, scores, and writes investment memos on venture deals. Stop manually hunting.

1,180+ deals tracked  ·  22 AI investment memos  ·  Updated daily

← Back to leaderboard

Dgs

Show HN: Dgs-CLI – 63-command CLI for D-Link DGS-1100 switches via Selenium

40 AI Score
Show_hn other Added Mar 24, 2026

Details

Sector
other
Total Funding
$0
Last Round
$0

About

The DGS-1100 is a ~$40 managed gigabit switch with real features (802.1Q VLANs, STP, IGMP, port security) but its only management interface is a JavaScript web UI from 2015. No SSH, no REST API, SNMP is read-only for anything useful.<p><pre><code> I needed to configure a few of these and clicking through the web UI was painful, so I wrote a CLI that drives headless Chrome via Selenium. It logs in, scrapes the JS data files the switch populates via XHR, and submits forms to the CGI endpoints for changes. Every write command reads back the config afterward to verify the switch accepted it. 63 commands covering everything the switch exposes — VLANs, PVIDs, STP, IGMP, storm control, port security, mirroring, QoS, bandwidth limits, SNMP, traffic segmentation, and more. Plus a recommend command that crawls 13 data files and checks 20 categories of issues (PVID mismatches, orphaned ports, disabled security features, etc.) and a fix command that auto-applies what it finds. Other things that fell out of this: config dump&#x2F;diff&#x2F;restore for version control, a template command to generate reproducible batch files, multi-switch support, a Prometheus exporter, a Textual TUI, and shell completions. Built with Nix so nix run github:bobberb&#x2F;dgs-cli -- status just works. 179 offline tests. Tested on DGS-1100-08V2. The --1210 flag is stubbed out for future DGS-1210 support.</code></pre>

AI Score Reasoning

Heuristic score based on available signals. Funding: $0, Source: show_hn.

Source

Show_hn — View original →