mirror of
https://git.feneas.org/feneas/fediverse.git
synced 2024-12-23 03:48:58 +01:00
121 lines
5.9 KiB
Plaintext
121 lines
5.9 KiB
Plaintext
---
|
|
layout: layout
|
|
---
|
|
|
|
<%
|
|
const apps = site.data.miscellaneous.apps;
|
|
|
|
function langCount(arr) {
|
|
let langs = [];
|
|
arr.forEach(function(item) {
|
|
let lang = item.codeLanguage;
|
|
if (!lang) {return};
|
|
let check = langs.findIndex(function(x) {return x.language === lang});
|
|
if (check>=0) {
|
|
langs[check].count +=1;
|
|
} else {
|
|
let newLang = {};
|
|
newLang.language = lang;
|
|
newLang.count = 1;
|
|
langs.push(newLang);
|
|
}
|
|
});
|
|
return langs;
|
|
}
|
|
|
|
const langList = langCount(apps).sort((a,b) => b.count - a.count);
|
|
%>
|
|
|
|
<%- partial('_partial/heroheader') %>
|
|
|
|
<article class="contents misc">
|
|
<h2>EXPLORE FEDIVERSE SOFTWARE</h2>
|
|
|
|
<h4>Sort by category:</h4>
|
|
<label class="option" for="snMacro">Social network (macro)</label><input id="snMacro" type="checkbox">
|
|
<label class="option" for="snMicro">Social network (micro)</label><input id="snMicro" type="checkbox">
|
|
<label class="option" for="blogPub">Blog & Publishing</label><input id="blogPub" type="checkbox">
|
|
<label class="option" for="media">Media sharing</label><input id="media" type="checkbox">
|
|
<label class="option" for="links">Link sharing</label><input id="links" type="checkbox">
|
|
<label class="option" for="evMeet">Events & meetups</label><input id="evMeet" type="checkbox">
|
|
<label class="option" for="files">File hosting</label> <input id="files" type="checkbox">
|
|
<label class="option" for="coop">Cooperatives</label><input id="coop" type="checkbox">
|
|
<label class="option" for="dev">Developer Tools</label><input id="dev" type="checkbox">
|
|
<label class="option" for="plugins">Plugins</label><input id="plugins" type="checkbox">
|
|
<label class="option" for="relays">Relays</label><input id="relays" type="checkbox">
|
|
|
|
<h4>Sort by protocol:</h4>
|
|
<label class="option" for="sortDiaspora">diaspora</label> <input id="sortDiaspora" type="checkbox">
|
|
<label class="option" for="sortZot">Zot</label> <input id="sortZot" type="checkbox">
|
|
<label class="option" for="sortAP">ActivityPub</label> <input id="sortAP" type="checkbox">
|
|
<label class="option" for="sortOstatus">OStatus</label> <input id="sortOstatus" type="checkbox">
|
|
|
|
<h4>Sort by code language:</h4>
|
|
<label class="option" for="all">All</label><input id="all" type="radio" name="radio">
|
|
<% for (i in langList) { %>
|
|
<label class="option" for="<%= langList[i].language.toLowerCase() %>"><%= langList[i].language %> <span>(<%= langList[i].count %>)</span></label><input id="<%= langList[i].language.toLowerCase() %>" type="radio" name="radio">
|
|
<% } %>
|
|
|
|
<section class="grid misc__grid cards">
|
|
<% for (item in apps) { %>
|
|
<% let type = apps[item].categories %>
|
|
<% let lang = apps[item].codeLanguage.toLowerCase() %>
|
|
|
|
<button class="card <%= lang %> <% if (apps[item].apClass) { %>ap<% } %> <% if (apps[item].zotClass) { %>zot<% } %> <% if (apps[item].diasporaClass) { %>dia<% } %> <% if (apps[item].OStatusClass) { %>os<% } %> <% for (t in type) { %><%=type[t]%><% } %>">
|
|
|
|
<div class="card__content">
|
|
<div class="card__title">
|
|
<% if (apps[item].logo) { %><img src="<%= apps[item].logo %>" alt="logo"><% } %>
|
|
<p class="title u-emphasize"><%= apps[item].title %></p>
|
|
</div>
|
|
<div class="card__body">
|
|
<% if (apps[item].site) { %>
|
|
<h4 class="card__subtitle">Website</h4>
|
|
<% let path = apps[item].site.split('://') %>
|
|
<p><a href="<%= apps[item].site %>"><%= path[1] %></a>
|
|
<svg role="img"><title>remote link</title><use xlink:href="#icon-link"></use></svg></p>
|
|
<% } %>
|
|
<h4 class="card__subtitle">Source code</h4>
|
|
<p><a href="<%= apps[item].source %>">repository</a> <svg role="img"><title>remote link</title><use xlink:href="#icon-link"></use></svg></p>
|
|
<% if (apps[item].servers) { %>
|
|
<h4 class="card__subtitle">Servers</h4>
|
|
<p><a href="<%= apps[item].servers %>">list</a> <svg role="img"><title>remote link</title><use xlink:href="#icon-link"></use></svg></p>
|
|
<% } %>
|
|
<% if (apps[item].FediAccount) { %>
|
|
<h4 class="card__subtitle">Contact</h4>
|
|
<p><a href="<%= apps[item].FediAccount %>">account</a> <svg role="img"><title>remote link</title><use xlink:href="#icon-link"></use></svg></p>
|
|
<% } %>
|
|
<span class="card__more u-emphasize">more info<i>▶</i</span>
|
|
</div>
|
|
<div class='card__extra'>
|
|
<% if (apps[item].codeLanguage) { %>
|
|
<h4 class="card__subtitle">Code language</h4>
|
|
<p><%= apps[item].codeLanguage %></p>
|
|
<% } %>
|
|
<% if (apps[item].techStack) { %>
|
|
<h4 class="card__subtitle">Tech stack</h4>
|
|
<p><%= apps[item].techStack %></p>
|
|
<% } %>
|
|
<h4 class="card__subtitle">Protocols</h4>
|
|
<p><%= apps[item].protocols %></p>
|
|
<% if (apps[item].description) { %>
|
|
<h4 class="card__subtitle">About</h4>
|
|
<p class="card__about">
|
|
<%- truncate( (apps[item].description), {length: 250, omission: '...'}) %>
|
|
</p>
|
|
<% } %>
|
|
</div>
|
|
</div>
|
|
</button>
|
|
<% } %>
|
|
</section>
|
|
|
|
<footer>
|
|
<p>Something's missing? <a class="dark-ui" href="https://git.feneas.org/feneas/fediverse/blob/master/CONTRIBUTING.md#submitting-software">Add</a> it.</p>
|
|
<p>Software no longer maintained, renamed, broken link? Please, <a class="dark-ui" href="https://git.feneas.org/feneas/fediverse/issues">let us know</a>.</p>
|
|
<p>Special thanks to <a class="dark-ui" href="https://mastodon.nzoss.nz/@strypey">@strypey</a> - for curating this <a class="dark-ui" href="https://git.feneas.org/feneas/fediverse/wikis/watchlist-for-activitypub-apps">list</a>.</p>
|
|
<p>Other sources: implementation report on <a class="dark-ui" href="https://activitypub.rocks/implementation-report">activitypub.rocks</a> website.</p>
|
|
</footer>
|
|
|
|
</article>
|