Display HN: A minimal, unbloated archiving and bookmarking tool

sharc is a minimalistic bookmarking tool that archives the pages locally at your device and organizes them in a simple web interface. The download of the files is only based on wget – it has no other dependencies! Setup To understand the logic behind the setup, it is advisable to look into the files archive,…

56
Display HN: A minimal, unbloated archiving and bookmarking tool

My high-quality colleague says this plugin might maybe maybe be very suave!

sharc is a minimalistic bookmarking tool that archives the pages in the neighborhood at your instrument and organizes them in a easy web interface. The download of the recordsdata is purely in conserving with wget – it has no other dependencies!

Setup

To realize the logic at the again of the setup, you should hunt into the recordsdata archive, resources/predominant.js and setup.

In archive at the tip you will more than likely be in a location to behold the line

and in resources/predominant.js the principle three traces are:

const immoral = "%immoral%";
const locale = "%locale%";
const timeZone = "%timeZone%";

These are the atmosphere variables that must be divulge earlier than you will more than likely be in a location to use the program. You might maybe well maybe well also both enact it manually or merely rush the setup script:

The script sets %dir% in conserving with the directory you are in the intervening time in (e.g. /srv/http/archive), %immoral% in conserving with %dir% (e.g. file:///srv/http/archive) and %locale% and %timeZone% essentially based fully respectively on your locale (e.g. en-GB) and timezone (e.g. Australia/Sydney).

Now reproduction archive to /usr/native/bin:

sudo cp archive /usr/native/bin

Indicate: Once that you just can luxuriate in got a server build in in the neighborhood, you will more than likely be in a location to also manually alter immoral accordingly. Shall we whisper, when that you just can luxuriate in got Apache build in and your dir is /var/www/html/archive, it will seek cherish this:

const immoral = "//localhost/archive";

The plan to use

The use of it might maybe be very easy and intuitive. Each time you’ll need to archive a page, you rush

in your terminal. This downloads the page and adds the hyperlink in hyperlinks.js.

Um zu der Übersichtsseite zu kommen, öffne entweder index.html im Browser oder – wenn du die Einrichtung unter “Anmerkung” gemacht hast – navigiere zu http://localhost/archive.

To gain to the overview page, both open index.html in the browser or – when that you just can luxuriate in got divulge it up cherish described in “Indicate” – navigate to http://localhost/archive.

How or no longer it is organized

As smartly as to the date and the hyperlink, you will more than likely be in a location to behold a third column in the table that shows the replacement of snapshots of the URL.

Overview of all archived links

When you click on the number, you presumably can gain to a subpage with all snapshots of the actual hyperlink.

Overview of all snapshots of a link

Below that, there is a hyperlink to a subpage to hunt an overview of all archived URLs of the respective domain.

Overview of all URLs of a domain

Read More
Half this on knowasiak.com to chat to other folks on this subjectSignal up on Knowasiak.com now when you is also no longer registered yet.

Charlie Layers
WRITTEN BY

Charlie Layers

Fill your life with experiences so you always have a great story to tellBio: About: