Skip to content

Data driven implementations list. #864

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
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
4 changes: 4 additions & 0 deletions .eleventy.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import yaml from 'js-yaml';

// development host for playground proxy
const PLAYGROUND_PROXY_HOST = 'http://localhost:8788';

Expand All @@ -13,6 +15,8 @@ const drafts = [
];

export default async function(eleventyConfig) {
eleventyConfig.addDataExtension('yaml', (contents) => yaml.load(contents));

eleventyConfig.addPassthroughCopy('.htaccess');
eleventyConfig.addPassthroughCopy('LICENSE.md');
eleventyConfig.addPassthroughCopy('_headers');
Expand Down
12 changes: 12 additions & 0 deletions _includes/implementation-item.liquid
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<li typeof="schema:SoftwareSourceCode">
<a property="schema:codeRepository" href="{{ implementation.repo }}">
<span property="schema:name">{{ implementation.name }}</span>
<span class="badge{% unless implementation.state == 'InProgress' %}{% if implementation.jsonldVersion == 1.1 %} badge-success{% else %} badge-info{% endif %}{% endunless %}">
{%- if implementation.jsonldVersion == 1.0 -%}
1.0
{%- else -%}
{{ implementation.jsonldVersion }}{% if implementation.state == 'InProgress' %} (<abbr title="Work In Progress">WIP</abbr>){% endif %}
{%- endif -%}
</span>
</a>
</li>
208 changes: 64 additions & 144 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,30 +86,12 @@ <h1 class="span12" style="text-align: center;"> <span class="icon-cog"></span> D
<div class="well" style="padding: 8px 0;">
<ul class="nav nav-list">
<li class="nav-header"><h3>Javascript</h3></li>
<li typeof="schema:SoftwareSourceCode">
<a property="schema:codeRepository" href="https://github.com/digitalbazaar/jsonld.js">
<span property="schema:name">jsonld.js</span>
<span class="badge badge-success">1.1</span>
</a>
</li>
<li typeof="schema:SoftwareSourceCode">
<a property="schema:codeRepository" href="https://github.com/rubensworks/jsonld-streaming-parser.js">
<span property="schema:name">jsonld-streaming-parser.js</span>
<span class="badge badge-success">1.1</span>
</a>
</li>
<li typeof="schema:SoftwareSourceCode">
<a property="schema:codeRepository" href="https://github.com/rubensworks/jsonld-streaming-serializer.js">
<span property="schema:name">jsonld-streaming-serializer.js</span>
<span class="badge badge-success">1.1</span>
</a>
</li>
<li typeof="schema:SoftwareSourceCode">
<a property="schema:codeRepository" href="https://github.com/rubensworks/rdf-parse.js">
<span property="schema:name">rdf-parse.js</span>
<span class="badge badge-success">1.1</span>
</a>
</li>
{% assign imps = implementations | where: 'language', 'JavaScript' %}
{% for implementation in imps %}
{% unless implementation.applicationCategory == 'CLI' %}
{% include 'implementation-item' %}
{% endunless %}
{% endfor %}
</ul>
</div>
</div>
Expand All @@ -118,27 +100,12 @@ <h1 class="span12" style="text-align: center;"> <span class="icon-cog"></span> D
<div class="well" style="padding: 8px 0;">
<ul class="nav nav-list">
<li class="nav-header"><h3>Python</h3></li>
<li typeof="schema:SoftwareSourceCode">
<a property="schema:codeRepository" href="https://github.com/digitalbazaar/pyld">
<span property="schema:name">PyLD</span>
<span class="badge badge-success">1.1</span>
</a>
<span property="schema:programmingLanguage" content="Python"></span>
</li>
<li typeof="schema:SoftwareSourceCode">
<a property="schema:codeRepository" href="https://github.com/RDFLib/rdflib">
<span property="schema:name">RDFLib</span>
<span class="badge badge-info">1.0</span>
</a>
<span property="schema:programmingLanguage" content="Python"></span>
</li>
<li typeof="schema:SoftwareSourceCode">
<a property="schema:codeRepository" href="https://github.com/niklasl/trld">
<span property="schema:name">TRLD</span>
<span class="badge">1.1 (<abbr title="Work In Progress">WIP</abbr>)</span>
</a>
<span property="schema:programmingLanguage" content="Python"></span>
</li>
{% assign imps = implementations | where: 'language', 'Python' %}
{% for implementation in imps %}
{% unless implementation.applicationCategory == 'CLI' %}
{% include 'implementation-item' %}
{% endunless %}
{% endfor %}
</ul>
</div>
</div>
Expand All @@ -147,13 +114,12 @@ <h1 class="span12" style="text-align: center;"> <span class="icon-cog"></span> D
<div class="well" style="padding: 8px 0;">
<ul class="nav nav-list">
<li class="nav-header"><h3>Ruby</h3></li>
<li typeof="schema:SoftwareSourceCode">
<a property="schema:codeRepository" href="https://github.com/ruby-rdf/json-ld/">
<span property="schema:name">JSON-LD for RDF.rb</span>
<span class="badge badge-success">1.1</span>
</a>
<span property="schema:programmingLanguage" content="Ruby"></span>
</li>
{% assign imps = implementations | where: 'language', 'Ruby' %}
{% for implementation in imps %}
{% unless implementation.applicationCategory == 'CLI' %}
{% include 'implementation-item' %}
{% endunless %}
{% endfor %}
</ul>
</div>
</div>
Expand All @@ -162,13 +128,12 @@ <h1 class="span12" style="text-align: center;"> <span class="icon-cog"></span> D
<div class="well" style="padding: 8px 0;">
<ul class="nav nav-list">
<li class="nav-header"><h3>Go</h3></li>
<li typeof="schema:SoftwareSourceCode">
<a property="schema:codeRepository" href="https://github.com/piprate/json-gold">
<span property="schema:name">JSON-goLD</span>
<span class="badge badge-success">1.1</span>
</a>
<span property="schema:programmingLanguage" content="Go"></span>
</li>
{% assign imps = implementations | where: 'language', 'Go' %}
{% for implementation in imps %}
{% unless implementation.applicationCategory == 'CLI' %}
{% include 'implementation-item' %}
{% endunless %}
{% endfor %}
</ul>
</div>
</div>
Expand All @@ -179,20 +144,12 @@ <h1 class="span12" style="text-align: center;"> <span class="icon-cog"></span> D
<div class="well" style="padding: 8px 0;">
<ul class="nav nav-list">
<li class="nav-header"><h3>Java</h3></li>
<li typeof="schema:SoftwareSourceCode">
<a property="schema:codeRepository" href="https://github.com/filip26/titanium-json-ld">
<span property="schema:name">Titanium</span>
<span class="badge badge-success">1.1</span>
</a>
<span property="schema:programmingLanguage" content="Java"></span>
</li>
<li typeof="schema:SoftwareSourceCode">
<a property="schema:codeRepository" href="https://github.com/jsonld-java/jsonld-java">
<span property="schema:name">JSONLD-JAVA</span>
<span class="badge badge-info">1.0</span>
</a>
<span property="schema:programmingLanguage" content="Java"></span>
</li>
{% assign imps = implementations | where: 'language', 'Java' %}
{% for implementation in imps %}
{% unless implementation.applicationCategory == 'CLI' %}
{% include 'implementation-item' %}
{% endunless %}
{% endfor %}
</ul>
</div>
</div>
Expand All @@ -201,20 +158,12 @@ <h1 class="span12" style="text-align: center;"> <span class="icon-cog"></span> D
<div class="well" style="padding: 8px 0;">
<ul class="nav nav-list">
<li class="nav-header"><h3>C#</h3></li>
<li typeof="schema:SoftwareSourceCode">
<a property="schema:codeRepository" href="https://github.com/dotnetrdf/dotnetrdf">
<span property="schema:name">dotNetRDF</span>
<span class="badge badge-success">1.1</span>
</a>
<span property="schema:programmingLanguage" content="C#"></span>
</li>
<li typeof="schema:SoftwareSourceCode">
<a property="schema:codeRepository" href="https://github.com/linked-data-dotnet/json-ld.net">
<span property="schema:name">json-ld.net</span>
<span class="badge badge-info">1.0</span>
</a>
<span property="schema:programmingLanguage" content="C#"></span>
</li>
{% assign imps = implementations | where: 'language', 'C#' %}
{% for implementation in imps %}
{% unless implementation.applicationCategory == 'CLI' %}
{% include 'implementation-item' %}
{% endunless %}
{% endfor %}
</ul>
</div>
</div>
Expand All @@ -223,20 +172,10 @@ <h1 class="span12" style="text-align: center;"> <span class="icon-cog"></span> D
<div class="well" style="padding: 8px 0;">
<ul class="nav nav-list">
<li class="nav-header"><h3>Command Line</h3></li>
<li typeof="schema:SoftwareSourceCode">
<a property="schema:codeRepository" href="https://github.com/digitalbazaar/jsonld-cli">
<span property="schema:name">jsonld-cli</span>
<span class="badge badge-success">1.1</span>
</a>
<span property="schema:programmingLanguage" content="JavaScript"></span>
</li>
<li typeof="schema:SoftwareSourceCode">
<a property="schema:codeRepository" href="https://github.com/filip26/ld-cli">
<span property="schema:name">ld-cli (Ubuntu, MacOS, Windows)</span>
<span class="badge badge-success">1.1</span>
</a>
<span property="schema:programmingLanguage" content="Java"></span>
</li>
{% assign imps = implementations | where: 'applicationCategory', 'CLI' %}
{% for implementation in imps %}
{% include 'implementation-item' %}
{% endfor %}
</ul>
</div>
</div>
Expand All @@ -245,14 +184,12 @@ <h1 class="span12" style="text-align: center;"> <span class="icon-cog"></span> D
<div class="well" style="padding: 8px 0;">
<ul class="nav nav-list">
<li class="nav-header"><h3>Erlang / Elixir</h3></li>
<li typeof="schema:SoftwareSourceCode">
<a property="schema:codeRepository" href="https://github.com/rdf-elixir/jsonld-ex">
<span property="schema:name">JSON-LD.ex</span>
<span class="badge badge-success">1.1</span>
</a>
<span property="schema:programmingLanguage" content="Erlang"></span>
<span property="schema:programmingLanguage" content="Elixir"></span>
</li>
{% assign imps = implementations | where_exp: 'imp', "imp.language contains 'Erlang' or imp.language contains 'Elixir'" %}
{% for implementation in imps %}
{% unless implementation.applicationCategory == 'CLI' %}
{% include 'implementation-item' %}
{% endunless %}
{% endfor %}
</ul>
</div>
</div>
Expand All @@ -263,20 +200,12 @@ <h1 class="span12" style="text-align: center;"> <span class="icon-cog"></span> D
<div class="well" style="padding: 8px 0;">
<ul class="nav nav-list">
<li class="nav-header"><h3>PHP</h3></li>
<li typeof="schema:SoftwareSourceCode">
<a property="schema:codeRepository" href="https://github.com/digitalbazaar/php-json-ld">
<span property="schema:name">php-json-ld</span>
<span class="badge badge-info">1.0</span>
</a>
<span property="schema:programmingLanguage" content="PHP"></span>
</li>
<li typeof="schema:SoftwareSourceCode">
<a property="schema:codeRepository" href="http://m.lanthi.com/json-ld">
<span property="schema:name">JsonLD</span>
<span class="badge badge-info">1.0</span>
</a>
<span property="schema:programmingLanguage" content="PHP"></span>
</li>
{% assign imps = implementations | where: 'language', 'PHP' %}
{% for implementation in imps %}
{% unless implementation.applicationCategory == 'CLI' %}
{% include 'implementation-item' %}
{% endunless %}
{% endfor %}
</ul>
</div>
</div>
Expand All @@ -286,20 +215,12 @@ <h1 class="span12" style="text-align: center;"> <span class="icon-cog"></span> D
<div class="well" style="padding: 8px 0;">
<ul class="nav nav-list">
<li class="nav-header"><h3>Rust</h3></li>
<li typeof="schema:SoftwareSourceCode">
<a property="schema:codeRepository" href="https://github.com/timothee-haudebourg/json-ld">
<span property="schema:name">json-ld</span>
<span class="badge">1.1 (<abbr title="Work In Progress">WIP</abbr>)</span>
</a>
<span property="schema:programmingLanguage" content="Rust"></span>
</li>
<li typeof="schema:SoftwareSourceCode">
<a property="schema:codeRepository" href="https://crates.io/crates/sophia">
<span property="schema:name">sophia</span>
<span class="badge badge-success">1.1</span>
</a>
<span property="schema:programmingLanguage" content="Rust"></span>
</li>
{% assign imps = implementations | where: 'language', 'Rust' %}
{% for implementation in imps %}
{% unless implementation.applicationCategory == 'CLI' %}
{% include 'implementation-item' %}
{% endunless %}
{% endfor %}
</ul>
</div>
</div>
Expand All @@ -308,13 +229,12 @@ <h1 class="span12" style="text-align: center;"> <span class="icon-cog"></span> D
<div class="well" style="padding: 8px 0;">
<ul class="nav nav-list">
<li class="nav-header"><h3>Typescript</h3></li>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<li class="nav-header"><h3>Typescript</h3></li>
<li class="nav-header"><h3>TypeScript</h3></li>

<li typeof="schema:SoftwareSourceCode">
<a property="schema:codeRepository" href="https://github.com/mattrglobal/jsonld-lint">
<span property="schema:name">jsonld-lint</span>
<span class="badge">1.1 (<abbr title="Work In Progress">WIP</abbr>)</span>
</a>
<span property="schema:programmingLanguage" content="Typescript"></span>
</li>
{% assign imps = implementations | where: 'language', 'Typescript' %}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{% assign imps = implementations | where: 'language', 'Typescript' %}
{% assign imps = implementations | where: 'language', 'TypeScript' %}

{% for implementation in imps %}
{% unless implementation.applicationCategory == 'CLI' %}
{% include 'implementation-item' %}
{% endunless %}
{% endfor %}
</ul>
</div>
</div>
Expand Down
Loading