~mplscorwin/meta-express

a063ac5849c5978295815e61a940e4ab47f2422a — dungeon 2 years ago e188f91 master
add valid-url
5 files changed, 43 insertions(+), 36 deletions(-)

M README.html
M README.md
M README.org
M README.txt
M package.json
M README.html => README.html +21 -20
@@ 3,7 3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2021-07-04 Sun 23:41 -->
<!-- 2021-07-04 Sun 23:48 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>meta-express - get link meta-data</title>


@@ 234,12 234,12 @@ for the JavaScript code in this tag.
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#org4f5ad89">1. Requires</a></li>
<li><a href="#org3b45c26">2. Setup</a></li>
<li><a href="#org50ec31d">3. Test</a></li>
<li><a href="#org19e4e2b">4. Related</a></li>
<li><a href="#orga4cd13b">5. COPYRIGHT</a></li>
<li><a href="#org6fad97b">6. LICENSE</a></li>
<li><a href="#org859ee08">1. Requires</a></li>
<li><a href="#orgbd560af">2. Setup</a></li>
<li><a href="#org6499281">3. Test</a></li>
<li><a href="#org810e5b3">4. Related</a></li>
<li><a href="#org2f89b8e">5. COPYRIGHT</a></li>
<li><a href="#org051a9f3">6. LICENSE</a></li>
</ul>
</div>
</div>


@@ 252,19 252,20 @@ Minimal link meta-data fetch service using:
Expects a URL encoded URI, returns JSON.
</p>

<div id="outline-container-org4f5ad89" class="outline-2">
<h2 id="org4f5ad89"><span class="section-number-2">1</span> Requires</h2>
<div id="outline-container-org859ee08" class="outline-2">
<h2 id="org859ee08"><span class="section-number-2">1</span> Requires</h2>
<div class="outline-text-2" id="text-1">
<ul class="org-ul">
<li><a href="https://nodejs.dev">nodejs</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Learn/Server-side/Express_Nodejs">express</a></li>
<li><a href="https://www.npmjs.com/package/valid-url">valid-url</a></li>
<li><a href="https://www.npmjs.com/package/link-preview-js">link-preview-js</a></li>
</ul>
</div>
</div>

<div id="outline-container-org3b45c26" class="outline-2">
<h2 id="org3b45c26"><span class="section-number-2">2</span> Setup</h2>
<div id="outline-container-orgbd560af" class="outline-2">
<h2 id="orgbd560af"><span class="section-number-2">2</span> Setup</h2>
<div class="outline-text-2" id="text-2">
<ul class="org-ul">
<li>Set the port (e.g. in index.js)</li>


@@ 273,8 274,8 @@ Expects a URL encoded URI, returns JSON.
</div>
</div>

<div id="outline-container-org50ec31d" class="outline-2">
<h2 id="org50ec31d"><span class="section-number-2">3</span> Test</h2>
<div id="outline-container-org6499281" class="outline-2">
<h2 id="org6499281"><span class="section-number-2">3</span> Test</h2>
<div class="outline-text-2" id="text-3">
<p>
<a href="http://your.host:port/https://meyerweb.com/eric/tools/dencoder/">http://your.host:port/https://meyerweb.com/eric/tools/dencoder/</a>


@@ 282,8 283,8 @@ Expects a URL encoded URI, returns JSON.
</div>
</div>

<div id="outline-container-org19e4e2b" class="outline-2">
<h2 id="org19e4e2b"><span class="section-number-2">4</span> Related</h2>
<div id="outline-container-org810e5b3" class="outline-2">
<h2 id="org810e5b3"><span class="section-number-2">4</span> Related</h2>
<div class="outline-text-2" id="text-4">
<p>
No-Frills URI Encoder: <a href="https://meyerweb.com/eric/tools/dencoder/">https://meyerweb.com/eric/tools/dencoder/</a>


@@ 291,8 292,8 @@ No-Frills URI Encoder: <a href="https://meyerweb.com/eric/tools/dencoder/">https
</div>
</div>

<div id="outline-container-orga4cd13b" class="outline-2">
<h2 id="orga4cd13b"><span class="section-number-2">5</span> COPYRIGHT</h2>
<div id="outline-container-org2f89b8e" class="outline-2">
<h2 id="org2f89b8e"><span class="section-number-2">5</span> COPYRIGHT</h2>
<div class="outline-text-2" id="text-5">
<p>
Copyright 2021 Corwin Brust &lt;corwin@bru.st&gt;


@@ 300,8 301,8 @@ Copyright 2021 Corwin Brust &lt;corwin@bru.st&gt;
</div>
</div>

<div id="outline-container-org6fad97b" class="outline-2">
<h2 id="org6fad97b"><span class="section-number-2">6</span> LICENSE</h2>
<div id="outline-container-org051a9f3" class="outline-2">
<h2 id="org051a9f3"><span class="section-number-2">6</span> LICENSE</h2>
<div class="outline-text-2" id="text-6">
<p>
This program is free software.  You may use or modify


@@ 330,7 331,7 @@ License along with this program.  If not, see
</div>
<div id="postamble" class="status">
<p class="author">Author: dungeon</p>
<p class="date">Created: 2021-07-04 Sun 23:41</p>
<p class="date">Created: 2021-07-04 Sun 23:48</p>
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
</div>
</body>

M README.md => README.md +13 -12
@@ 1,12 1,12 @@

# Table of Contents

1.  [Requires](#org39d2993)
2.  [Setup](#org8144945)
3.  [Test](#orgb5ae27d)
4.  [Related](#org46085fb)
5.  [COPYRIGHT](#orgf49134f)
6.  [LICENSE](#org56f2f0c)
1.  [Requires](#orgcfdd8b5)
2.  [Setup](#org267fd22)
3.  [Test](#org89b08cc)
4.  [Related](#org447fa79)
5.  [COPYRIGHT](#org3365ba7)
6.  [LICENSE](#org066695b)

Generate link previews
Minimal link meta-data fetch service using:


@@ 14,16 14,17 @@ Minimal link meta-data fetch service using:
Expects a URL encoded URI, returns JSON.


<a id="org39d2993"></a>
<a id="orgcfdd8b5"></a>

# Requires

-   [nodejs](https://nodejs.dev)
-   [express](https://developer.mozilla.org/en-US/docs/Learn/Server-side/Express_Nodejs)
-   [valid-url](https://www.npmjs.com/package/valid-url)
-   [link-preview-js](https://www.npmjs.com/package/link-preview-js)


<a id="org8144945"></a>
<a id="org267fd22"></a>

# Setup



@@ 31,28 32,28 @@ Expects a URL encoded URI, returns JSON.
-   Deploy/start the application


<a id="orgb5ae27d"></a>
<a id="org89b08cc"></a>

# Test

<http://your.host:port/https%3A%2F%2Fmeyerweb.com%2Feric%2Ftools%2Fdencoder%2F>


<a id="org46085fb"></a>
<a id="org447fa79"></a>

# Related

No-Frills URI Encoder: <https://meyerweb.com/eric/tools/dencoder/>


<a id="orgf49134f"></a>
<a id="org3365ba7"></a>

# COPYRIGHT

Copyright 2021 Corwin Brust <corwin@bru.st>


<a id="org56f2f0c"></a>
<a id="org066695b"></a>

# LICENSE


M README.org => README.org +1 -0
@@ 9,6 9,7 @@ Expects a URL encoded URI, returns JSON.

 * [[https://nodejs.dev][nodejs]]
 * [[https://developer.mozilla.org/en-US/docs/Learn/Server-side/Express_Nodejs][express]]
 * [[https://www.npmjs.com/package/valid-url][valid-url]]
 * [[https://www.npmjs.com/package/link-preview-js][link-preview-js]]

** Setup

M README.txt => README.txt +3 -0
@@ 27,6 27,7 @@ Expects a URL encoded URI, returns JSON.

  * [nodejs]
  * [express]
  * [valid-url]
  * [link-preview-js]




@@ 35,6 36,8 @@ Expects a URL encoded URI, returns JSON.
[express]
https://developer.mozilla.org/en-US/docs/Learn/Server-side/Express_Nodejs

[valid-url] https://www.npmjs.com/package/valid-url

[link-preview-js] https://www.npmjs.com/package/link-preview-js



M package.json => package.json +5 -4
@@ 8,7 8,8 @@
  },
  "dependencies": {
    "express": "^4.17.1",
    "link-preview-js": "^2.1.6"
    "link-preview-js": "^2.1.6",
    "valid-url": "^1.0.9"
  },
  "repository": {
    "type": "git",


@@ 16,7 17,7 @@
  },
  "author": "Corwin Brust",
  "license": "AGPL",
    "bugs": {
	"url": "https://todo.sr.ht/~mplscorwin/meta-express"
    }
  "bugs": {
    "url": "https://todo.sr.ht/~mplscorwin/meta-express"
  }
}