TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: An ultra-lightweight application auto-updater

2 pointsby mattewongalmost 2 years ago
Wanted an updater for a CLI utility so that a user could run &quot;my-utility update&quot; and have it self-updated.<p>Did not want to go through package managers, in order to have better distribution control.<p>Looked into Sparkle (and WinSparkle), Squirrel, GoUpdate, Google Omaha, and others.<p>All were <i>very</i> heavy, hard or impossible to use across multiple platforms, and carried their own UI component baggage. None came even close to meeting our needs. So we rolled our own.<p>`sxupdate` weighs in at about 100k, works on any platform and can be integrated with virtually any programming language. Using a bring-your-own-UI-component approach, it is extremely lean, platform-independent, applicable to either console or UI-based applications, and avoids duplication of and potential inconsistency between the application and the updater UIs.<p>Hope someone else can get some mileage out of it. We sure have.

no comments

no comments