22120: Your browsing history as a self-hosted offline Internet

22120 Is a tool to save browser history as an offline archive, available for Linux, Microsoft Windows and macOS.Currently, it only supports Chrome-based web browsers, but its developer is Survey Make Firefox available.

With 22120, you can browse previously visited websites completely offline, and the web browser will not notice the difference between the two. You don’t have to use it all the time-start it when you want to save some pages for offline browsing, then close it until you want to save more pages or visit pages saved in offline mode.

In addition to the web pages you visit, this tool also archives web resources at least when they are currently sent to the browser, except for video, audio, and web sockets. If you use an ad blocker, it is worth noting that 22120 will not archive the blocked elements.

In the 22120 roadmap, offline archive files can be searched, the library server that serves the archive files can be disclosed, and the distributed p2p web browser on IPFS can be disclosed. Developers are also working on archiving streaming content, such as audio and video, and web sockets.

usage

Close Google Chrome and start the 22120 binary file. It will automatically start Google Chrome with a new label pointing to the 22120 local URL (http://localhost:22120/), you can set the web browser to save (save the pages visited in the future) or provide (provide locally cached pages) mode.

It took me a while to figure out how to use 22120 in a Chromium-based web browser that is not Google Chrome, because that information seems to be missing from its documentation. This can be done by launching your Chromium-based web browser of choice: --remote-debugging-port=9222 Command line parameters, such as Chromium (the binary name may be different depending on the Linux distribution you are using-it may also be just chromium):

chromium-browser --remote-debugging-port=9222

Then you need to open a new tab and open http://localhost:22120 Control 22120.

configuration

In addition to setting 22120 to save or service mode, you can also set the page from 22120 (http://localhost:22120), you can also set the system path of the archive (the default is a folder named 22120-arc In the main directory) and view the archive index-a list of URLs saved as offline Internet libraries. There is also an option to search your archives, but this feature is not yet available.

22120 archive index
22120 save the page for offline browsing

22120 supports some command line parameters, these parameters allow to change the server port, start the server port in save or service mode, specify other Chrome ports, and specify the library path:

Args usage: <server_port> <save|serve> <chrome_port> <library_path>

The tool also offers the possibility of blacklisting certain domains, so they will not be archived.This is done by creating a file called no.json Inside of 22120-arc The folder (by default, it is in the home directory on Linux) has the following contents:

[

  "*.domain1.com",

  "*.domain2.co?",

  "*.domain3.edu",

]

where * Matches 0 or more things, and ? Match 0 or 1.If you have multiple files, please create one no.json Every file.

Download 22120

On the 22120 version page, you will find binary files for Linux (32-bit and 64-bit), Microsoft Windows and macOS.You can also run it From source. Chrome extensions are also coming soon.

You might also like:

  • Browse Wikipedia offline using WebArchives for Linux
  • Save the web page as a single HTML file for offline use by Monolith (console)

by hn

Source

Sidebar