Skip to content

Commit 40b4f11

Browse files
committed
Adds JSON-LD metadata for WebApplication
1 parent 9b0af9b commit 40b4f11

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

lib/views/begin.html

+24
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,30 @@
1111
<link rel="stylesheet" href="<%= basePath %>/assets/style.css">
1212

1313
<script defer src="<%= basePath %>/assets/armadietto-utilities.js"></script>
14+
<script type="application/ld+json" class="schemantra">{
15+
"@context": "https://schema.org",
16+
"@type": "WebApplication",
17+
"@id": "https://github.com/remotestorage/armadietto/",
18+
"aggregateRating": {"@type": "AggregateRating", "ratingValue": 5, "bestRating": 5, "worstRating": 1, "reviewCount": 1},
19+
"applicationCategory": "productivity",
20+
"applicationSubCategory": "storage",
21+
"copyrightYear": "2012",
22+
"description": "A remoteStorage server written for Node.js. The monolithic (old) variant stores documents in the server's file system and uses passwords for authentication; the modular (new) variant stores documents in S3-compatible storage and uses passkeys.",
23+
"dateModified": "2024-07-30",
24+
"dateCreated": "2012-06-03",
25+
"discussionUrl": "https://community.remotestorage.io/c/server-development/",
26+
"featureList": "https://remotestorage.io/",
27+
"thumbnailUrl": "https://raw.githubusercontent.com/remotestorage/armadietto/master/lib/assets/armadietto.svg",
28+
"inLanguage": "en",
29+
"isAccessibleForFree": true,
30+
"isBasedOnUrl": "https://github.com/jcoglan/restore",
31+
"keywords": "remoteStorage, per-user storage, Backend as a Service, synchronization, passkey",
32+
"license": "https://opensource.org/license/MIT",
33+
"name": "Armadietto",
34+
"offers": {"@type": "Offer", "price": 0, "priceCurrency": "USD"},
35+
"producer": {"@type": "Organization", "name": "Armadietto contributors", "keywords": "remoteStorage", "url": "https://github.com/remotestorage/armadietto/graphs/contributors"},
36+
"url": "https://<%= host + basePath %>/"
37+
}</script>
1438
</head>
1539
<body>
1640

spec/modular/m_oauth.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ describe('OAuth (modular)', function () {
105105
expect(res.text).to.contain('>the_client_id<');
106106
expect(res.text).to.contain('>example.com<');
107107
expect(res.text).to.match(/Read\/write.*access to.*\/data/);
108-
expect(res.text).not.to.contain('password');
108+
expect(res.text).not.to.contain('>Password</label>');
109109
expect(res.text).to.contain('Use your passkey to authorize');
110110
});
111111
});

0 commit comments

Comments
 (0)