longnow-for-markdown

Take a markdown file and feed links to the internet archive
Log | Files | Refs | README

commit 183e5503855c5dc15b49279e0551f4cb256b16df
parent fbe2934718f99806008af5a07d32c81c1405578e
Author: NunoSempere <nuno.sempere@gmail.com>
Date:   Mon, 28 Jun 2021 15:55:02 +0200

Readme

Diffstat:
AREADME.md | 21+++++++++++++++++++++
Mdebian/changelog | 6+++---
Mdebian/control | 6+++---
Mdebian/copyright | 10+++-------
Adebian/files | 1+
5 files changed, 31 insertions(+), 13 deletions(-)

diff --git a/README.md 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 @@ -1,5 +1,5 @@ -longnowformd (0.1-1) bionic; urgency=medium +longnowformd (0.2-1) bionic; urgency=medium - * Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP> + * No update; just pushing to the ppa again now that I've updated my keys. - -- Nuno Sempere <nuno.semperelh@gmail.com> Mon, 28 Jun 2021 12:18:50 +0200 + -- Nuno Sempere <nuno.semperelh@gmail.com> Mon, 28 Jun 2021 13:11:48 +0200 diff --git a/debian/control b/debian/control @@ -4,12 +4,12 @@ Priority: optional Maintainer: Nuno Sempere <nuno.semperelh@gmail.com> Build-Depends: debhelper-compat (= 12) Standards-Version: 4.4.1 -Homepage: <insert the upstream URL, if relevant> +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: <insert up to 60 chars description> - <insert long description, indented with spaces> +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 @@ -1,14 +1,10 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: longnowformd -Upstream-Contact: 2021 Nuno Sempere <nuno.semperelh@gmail.com> -Source: <url://example.com> +Upstream-Contact: <preferred name and address to reach the upstream project> +Source: https://github.com/NunoSempere/longNowForMd Files: * -Copyright: 2021 Nuno Sempere <nuno.semperelh@gmail.com> -License: MIT - -Files: debian/* -Copyright: 2021 Nuno Sempere <nuno.semperelh@gmail.com> +Copyright: 2021 Nuno Sempere <nuno.semperelh@gmail.com> License: MIT License: MIT diff --git a/debian/files b/debian/files @@ -0,0 +1 @@ +longnowformd_0.2-1_source.buildinfo utils optional