Saves URIs of things you want to remember in a database.
Go to file
tastytea 54492ff979
All checks were successful
continuous-integration/drone/push Build is passing
CI: changed cmake-6 on stretch to clang-7 on buster.
2019-08-05 10:53:53 +02:00
browser-plugins/webextension Updated CMake recipes and changed file structure. 2019-08-03 22:27:08 +02:00
cmake Fixed the additional search paths for the dependency-workarounds. 2019-08-04 22:25:04 +02:00
include Replaced curlpp with POCO. Only HTTPS support fo far. 2019-08-04 18:46:53 +02:00
man Replaced curlpp with POCO. Only HTTPS support fo far. 2019-08-04 18:46:53 +02:00
pkg-config Replaced curlpp with POCO. Only HTTPS support fo far. 2019-08-04 18:46:53 +02:00
src Fixed the additional search paths for the dependency-workarounds. 2019-08-04 22:25:04 +02:00
tests Updated CMake recipes and changed file structure. 2019-08-03 22:27:08 +02:00
.drone.yml CI: changed cmake-6 on stretch to clang-7 on buster. 2019-08-05 10:53:53 +02:00
.gitignore Added Doxygen config and script. 2019-07-27 22:55:43 +02:00
build_doc.sh Added Doxygen config and script. 2019-07-27 22:55:43 +02:00
CMakeLists.txt Updated CMake recipes and changed file structure. 2019-08-03 22:27:08 +02:00
Doxyfile Always generate detailed description in reference. 2019-07-28 01:43:11 +02:00
LICENSE Added license. 2019-05-13 03:49:32 +02:00
packages.CMakeLists.txt Replaced curlpp with POCO. Only HTTPS support fo far. 2019-08-04 18:46:53 +02:00
README.adoc CI: changed cmake-6 on stretch to clang-7 on buster. 2019-08-05 10:53:53 +02:00

remwharead

remwharead saves URIs of things you want to remember in a database along with an URI to the archived version, the current date and time, title, description, the full text of the page and optional tags.

The database can be filtered by time, tags and full text and exported to CSV or AsciiDoc.

Archiving is done using the Wayback machine from the Internet Archive.

Example 1. AsciiDoc export formatted with Asciidoctor.
Dates view
Tags view

Usage

See manpage.

In your programs

The complete functionality is implemented in a C++ library, libremwharead. Take a look at the reference for more info.

Install

Gentoo

Add my repository and install it from there.

eselect repository enable tastytea
echo "www-misc/remwharead ~amd64" >> /etc/portage/package.accept_keywords/remwharead
emaint sync -r tastytea
emerge -a www-misc/remwharead

Debian and Debian based

Download the .deb-package from schlomp.space and install with apt install ./rewharead_*.deb. The package works for 64 bit installations only.

From source

Dependencies

Example 2. Install dependencies in Debian stretch.
apt-get update
apt-get install g++-6 cmake pkg-config libpoco-dev libxdg-basedir-dev \
    libvsqlitepp-dev libboost-system-dev libboost-filesystem-dev libicu-dev asciidoc
# Inside the source directory:
wget -O src/cli/popl.hpp https://raw.githubusercontent.com/badaix/popl/v1.2.0/include/popl.hpp
export CXX="g++-6"

Get sourcecode

Releases

Download the current release at schlomp.space.

Development version
git clone https://schlomp.space/tastytea/remwharead.git

Compile

mkdir build
cd build/
cmake ..
cmake --build .
cmake options:
  • -DCMAKE_BUILD_TYPE=Debug for a debug build.

  • -DWITH_MAN=NO to not compile the manpage.

  • -DWITH_TESTS=YES to compile the tests.

  • -DWITH_MOZILLA=YES to install the wrapper for the Mozilla extension.

  • -DMOZILLA_NMH_DIR lets you set the directory for the Mozilla extension wrapper. The complete path is ${CMAKE_INSTALL_PREFIX}/${MOZILLA_NMH_DIR}.

  • One of:

    • -DWITH_DEB=YES if you want to be able to generate a deb-package.

    • -DWITH_RPM=YES if you want to be able to generate an rpm-package.

You can run the tests with cd tests && ctest. Install with make install, generate binary packages with make package.

Browser plugins

WebExtension

The WebExtension works in Firefox and possibly other browsers with WebExtension support. You can install it from addons.mozilla.org or build it yourself with build_xpi.sh.

The icons of the plugins are from the Papirus icon theme with the license GPLv3.

Copyright © 2019 tastytea <tastytea@tastytea.de>.
License GPLv3: GNU GPL version 3 <https://www.gnu.org/licenses/gpl-3.0.html>.
This program comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions.