Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions catalog-data.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -1710,11 +1710,13 @@ cdata:Naman_Goel a ex:Person ;
cdata:NextFM a ex:Software ;
ex:contactEmail <mailto:product@inrupt.com> ;
ex:description "A file manager for Solid pods with support for multiple visual themes, inspired by Tim Berners-Lee." ;
ex:modified "2025-06-09T15:50:49.306Z"^^xsd:dateTime ;
ex:logo <https://solidfm.app/favicon.ico> ;
ex:modified "2025-07-31T13:43:12.617Z"^^xsd:dateTime ;
ex:name "NextFM" ;
ex:provider cdata:Inrupt ;
ex:repository <https://github.com/inrupt/nextfm> ;
ex:status con:Exploration ;
ex:showcase <https://solidfm.app/> ;
ex:status con:Production ;
ex:subType con:PodApp ;
ex:technicalKeyword "file manager" .

Expand Down Expand Up @@ -3087,7 +3089,7 @@ cdata:SolidPractitioners-WeeklyCall a ex:Event ;
ex:name "Solid Practitioners Video Call" ;
ex:provider cdata:SolidPractitioners ;
ex:repository <https://github.com/solid-contrib/practitioners> ;
ex:schedule "The first and third Monday of every month at 15:00 UTC" ;
ex:schedule "The first and third Thursday of every month at 15:00 UTC" ;
ex:videoCallPage <https://meet.jit.si/solid-practitioners> .

cdata:SolidProject a ex:Organization ;
Expand Down
76 changes: 76 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Solid Resources Catalog</title>
<script type="module" src='https://cdn.jsdelivr.net/npm/mashlib@latest/dist/mashlib.min.js'></script>
<!-- <script type="module" src='./node_modules/mashlib/dist/mashlib.min.js'></script> -->
<link rel="stylesheet" type="text/css" href="./viewer/viewer.css">
<link rel="stylesheet" type="text/css" href="./viewer/forms.css">
<link rel="icon" href="https://solidproject.org/assets/img/solid-emblem.svg" type="image/svg+xml">
<meta name="thumbnail" content="https://solidproject.org/assets/img/solid-emblem.svg">
</head>
<body>
<div id="main-content">
<div class="sol-header">
<img src="./assets/logo.svg" class="logo">
<span class="sol-header-content">
<b style="display:inline-block;padding-left:1rem;padding-right:1rem;"> Solid Resources Catalog </b>
<sol-catalog-search class="search-input"><input type="text">
<button class="search-button">search</button></sol-catalog-search>
<button class="keyword-index-button">keyword index</button>
<button class="new-record-button">new record</button>
<button class="about-button" source="./catalog-about.html">about</button>
</span>
</div>

<div id="main">
<div id="left-column"> </div>
<div id="right-column">
<div id="right-top"></div>
<div id="right-bottom"></div>
</div>
</div>
</div>

<div id="forms-area" style="display:none">
<div id="menubar"></div>
<form id="forms-record" class="record"></form>
</div>

<div id="help" style="display:none">
<button style="text-align:right" onclick="document.body.classList.remove('showHelp')"><<</button>
<h1 style="font-size:1.4em !important">Solid Resources Catalog</h1>

<p>This catalog is a work in progress and not all data has been recently updated. Please help by updataing records for yourself, your organization, and your projects.</p>

<p>There are three main ways to navigate the catalog:</p>

<ul>
<li> Use the list of resource types at the left of the screenb
<li> Use the full text searchbar at the top of the screen
<li> Use the keyword index at the top of the screen
<li> Navigate to a record and jump to related records
</ul>

<p>If you do not find a record for yourself or your projects, use the *new record* button at the top of the screen to create one.</p>

<p>To read more about the catalog and other viewers for it, see <a href="https://github.com/solid/catalog">the gitihub repository</a> and/or catch me (@jeff-zucker) on matrix.</p>
</div>

<script>
var sh;
</script>
<script type="module">
import {viewer,showSubtypes} from './viewer/viewer.js';
document.addEventListener('DOMContentLoaded', async () => {
sh = showSubtypes;
await viewer();
});
</script>

</body>
</html>


46 changes: 46 additions & 0 deletions local2pod.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
import { SolidNodeClient } from "solid-node-client";
const client = new SolidNodeClient;

async function local2pod(){
try {
await client.login();
}
catch(e){ console.log(e); }
for(let file of files){
const from = `file:///`+process.cwd()+ '/' + file;
const to = `https://solidproject.solidcommunity.net/catalog/${file}`;
try {
const getResponse = await client.fetch(from);
const content = await getResponse.text();
const contentType = getResponse.headers.get('Content-type');
const putResponse = await client.fetch( to, {
method:"PUT",
body:content,
headers:{"content-type":contentType}
});
console.log(putResponse.status,to)
}
catch(e){ console.log(e); }
}
}

const files = [
'index.html',
'catalog-data.ttl',
'catalog-skos.ttl',
'catalog-shacl.ttl',
'assets/logo.svg',
'viewer/form.js',
'viewer/forms.css',
'viewer/makeTOC.js',
'viewer/page-content.js',
'viewer/pages.js',
'viewer/showRecord.js',
'viewer/utils.js',
'viewer/viewer.css',
'viewer/viewer.html',
'viewer/viewer.js',
];

local2pod();

Loading