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: Clippy (Clone) – As Electron app: 165mb; as Sciter app: 6mb (not typo)

2 pointsby GirkovArpaover 4 years ago

2 comments

GirkovArpaover 4 years ago
I thought it would be nice to have a concrete example of the same app made with Electron versus Sciter.<p>So I cloned Clipper (<a href="https:&#x2F;&#x2F;github.com&#x2F;AkashRajpurohit&#x2F;clipper" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;AkashRajpurohit&#x2F;clipper</a>) in Sciter to the best of my ability.<p>The original as an Electron app is 165mb.<p>In contrast, the Sciter release is only 6mb (3mb compressed).<p>I used Quark (Sciter&#x27;s version of electron-builder) to pack the program&#x27;s resources into a single file, and here is the result: <a href="https:&#x2F;&#x2F;github.com&#x2F;GirkovArpa&#x2F;clipper-sciter&#x2F;releases" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;GirkovArpa&#x2F;clipper-sciter&#x2F;releases</a> (I&#x27;ve only packaged for Windows at the moment).<p>Actually it didn&#x27;t pack the .mp3 files for some reason so I just zipped those up with the executable.<p>Not only is the filesize a magnitude of order lighter, but it starts up way faster and without an empty grey window at the beginning.<p><i></i>Some caveats:<i></i><p>- I haven&#x27;t copied the button click waves effect from here: <a href="https:&#x2F;&#x2F;materializecss.com&#x2F;waves.html" rel="nofollow">https:&#x2F;&#x2F;materializecss.com&#x2F;waves.html</a> (yet).<p>- I haven&#x27;t implemented the tray icon (yet).<p>- Popups which are supposed to be hidden offscreen until activated can be scrolled into view when the list of clipboard history is long enough. I intend to fix this as soon as I can and have posted a question about it in the official Sciter forums here: <a href="https:&#x2F;&#x2F;sciter.com&#x2F;forums&#x2F;topic&#x2F;position-absolute-bottom-0-doesnt-update-on-scroll&#x2F;" rel="nofollow">https:&#x2F;&#x2F;sciter.com&#x2F;forums&#x2F;topic&#x2F;position-absolute-bottom-0-d...</a><p>I would like to emphasize that this is my attempt at a clone but it&#x27;s not a port. Since the original Clippy is written in React, a genuine port would utilize Sciter&#x27;s &quot;Reactor&quot;.
clintonbover 4 years ago
How does memory usage compare? That is more important to me than executable size.
评论 #25043411 未加载