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: Temps-lite – 5mb clone of 43mb Electron weather app

7 pointsby GirkovArpaover 4 years ago

1 comment

GirkovArpaover 4 years ago
Compare the 32-bit Windows releases of Temps (42.6mb), made with Electron:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;jackd248&#x2F;temps&#x2F;releases&#x2F;tag&#x2F;v0.7.0" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jackd248&#x2F;temps&#x2F;releases&#x2F;tag&#x2F;v0.7.0</a><p>... to the Temps -&quot;lite&quot; remake (4.49mb) using the Sciter engine:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;GirkovArpa&#x2F;temps-lite&#x2F;releases&#x2F;tag&#x2F;v1.1.3" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;GirkovArpa&#x2F;temps-lite&#x2F;releases&#x2F;tag&#x2F;v1.1.3</a><p>Temps-lite (and of course it&#x27;s predecessor, Temps) is a desktop weather application for Windows, Mac, and Linux. Provided a free openweathermap.org API key, it displays live weather information for any location in a very attractive, sleek interface. It also shows the forecast for the next 4 days.<p>To duplicate the very cool rain, snow, and thunder effects, I basically just copied and pasted the original source code. For everything else I redid it in my own way, which probably did not result in very professional-looking code but hey! It works =) Minus some tiny bugs, which I&#x27;ve had help with from someone who&#x27;s more familiar with Sciter programming.<p>The original Temps was built&#x2F;packaged using Electron Builder and Electron Packager (I&#x27;m not sure of the difference, to be honest).<p>The equivalent for Sciter is Quark (quark.sciter.com), and that is what I used to package the HTML, CSS &amp; TIScript files into a single convenient executable which is not only 10x smaller than the Electron version but also starts up way faster (virtually instantly), and has a relatively extremely light memory footprint.<p>All this without the slightest observable decrease in performance or speed.<p>One new thing I learned about Sciter while making this project is that it natively supports persisting its equivalent of local storage to a database file, similar to MongoDB.<p>If you think this is interesting then feel free to check out Clipper-lite, which is the same idea. Another Electron app remade using Sciter. Specifically, a clipboard manager:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;GirkovArpa&#x2F;clipper-lite" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;GirkovArpa&#x2F;clipper-lite</a>