diff --git a/README.md b/README.md new file mode 100644 index 0000000..ff80f10 --- /dev/null +++ b/README.md @@ -0,0 +1,21 @@ +This package takes a markdown file, and creates a new markdown file in which each link is accompanied by an archive.org link, in the format [...](original link) ([a](archive.org link)) + +## How to install +Copy [this file](https://github.com/NunoSempere/longNowForMd/blob/master/longnowformd.sh) to your .bashrc file, or, for Ubuntu distributions Focal Fossa and above: + +``` +$ sudo add-apt-repository ppa:nunosempere/longnowformd +$ sudo apt-get update +``` + +This utility requires [archivenow](https://github.com/oduwsdl/archivenow) as a dependency, which itself requires a python installation. It can be installed with + +``` +$ pip install archivenow ## respectively, pip3 +``` + +## How to use + +``` +$ longnow test.md +``` diff --git a/debian/changelog b/debian/changelog index c8eb648..fae9c5c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,5 @@ -longnowformd (0.1-1) bionic; urgency=medium +longnowformd (0.2-1) bionic; urgency=medium - * Initial release (Closes: #nnnn) + * No update; just pushing to the ppa again now that I've updated my keys. - -- Nuno Sempere Mon, 28 Jun 2021 12:18:50 +0200 + -- Nuno Sempere Mon, 28 Jun 2021 13:11:48 +0200 diff --git a/debian/control b/debian/control index a2cc391..f850f5b 100644 --- a/debian/control +++ b/debian/control @@ -4,12 +4,12 @@ Priority: optional Maintainer: Nuno Sempere Build-Depends: debhelper-compat (= 12) Standards-Version: 4.4.1 -Homepage: +Homepage: https://github.com/NunoSempere/longNowForMd #Vcs-Browser: https://salsa.debian.org/debian/longnowformd #Vcs-Git: https://salsa.debian.org/debian/longnowformd.git Package: longnowformd Architecture: all Depends: ${misc:Depends} -Description: - +Description: Debian package for adding archive.org links to .md files + Debian package for adding archive.org links to markdown files in the format [...](original link) ([a](archive.org link)) diff --git a/debian/copyright b/debian/copyright index f672849..1cdf702 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,14 +1,10 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: longnowformd -Upstream-Contact: 2021 Nuno Sempere -Source: +Upstream-Contact: +Source: https://github.com/NunoSempere/longNowForMd Files: * -Copyright: 2021 Nuno Sempere -License: MIT - -Files: debian/* -Copyright: 2021 Nuno Sempere +Copyright: 2021 Nuno Sempere License: MIT License: MIT diff --git a/debian/files b/debian/files new file mode 100644 index 0000000..9b91faf --- /dev/null +++ b/debian/files @@ -0,0 +1 @@ +longnowformd_0.2-1_source.buildinfo utils optional