Merge pull request #27 from popey/add-snapcraft-support

Add snapcraft yaml
This commit is contained in:
Vincent Flyson 2019-08-23 21:26:37 -04:00 committed by GitHub
commit fdbe2499df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

34
snap/snapcraft.yaml Normal file
View file

@ -0,0 +1,34 @@
name: monolith
base: core18
version: git
summary: Monolith - Save HTML pages with ease
description: |
A data hoarder's dream come true: bundle any web page into a single
HTML file. You can finally replace that gazillion of open tabs with
a gazillion of .html files stored somewhere on your precious little
drive.
Unlike conventional "Save page as…", monolith not only saves the
target document, it embeds CSS, image, and JavaScript assets all
at once, producing a single HTML5 document that is a joy to store
and share.
If compared to saving websites with wget -mpk, monolith embeds
all assets as data URLs and therefore displays the saved page
exactly the same, being completely separated from the Internet.
confinement: strict
parts:
monolith:
plugin: rust
source: .
build-packages:
- libssl-dev
- pkg-config
apps:
monolith:
command: monolith
plugs:
- home
- network
- removable-media