Skip to content

GirkovArpa/clipper-lite

Repository files navigation

Clipper-lite

Clipper-lite


A clone of the original Clipper, a cross-platform clipboard manager, made with Sciter instead of Electron.

preview

Backstory

I thought it would be nice to have a concrete example of the same app made with Electron versus Sciter. So I cloned Clipper in Sciter to the best of my ability.

The original as an Electron app is 165mb.

In contrast, the Sciter release is only 6mb (3mb compressed).

I used Quark (Sciter's equivalent of electron-builder) to pack the program's resources into a single executable, and here is the result.

Not only is the filesize over a magnitude of order lighter, but it starts up way faster and without an empty gray window at the beginning.

Caveats

  • I haven't implemented the button click waves effect from the Materialize CSS library (yet). Done! Using this, which is quite similar even though not exactly the same.

  • I haven't implemented the tray icon (yet).

  • Inactive, offscreen popups can be scrolled into view. Fixed! Thanks to a pull request from 4silvertooth.

I would like to emphasize that this not a port, but (my attempt at) a clone. Since the original Clipper is written in React, a genuine port would utilize Sciter's Reactor.

Usage

Run the appropriate scapp binary corresponding your operating system inside this folder from one of the following links:

Alternatively, download an executable pre-packaged with Quark from the Releases.

Packaging

Follow the Quark instructions here, but use this repository as the source folder instead of the hello world sample.