Update numbers, Pixelfed and Peertube services

This commit is contained in:
lostinlight 2019-05-03 14:42:32 +03:00
parent 55e4071296
commit 29f2fa9142
8 changed files with 96 additions and 38 deletions

View file

@ -2,66 +2,66 @@
{ {
"list": "list":
{ {
"lastUpdate": "18/04/19", "lastUpdate": "03/05/19",
"diaspora": "diaspora":
{ {
"population": "699.550", "population": "698.902",
"activeUsers": "87.852", "activeUsers": "85.712",
"podsNum": "302" "podsNum": "296"
}, },
"friendica": "friendica":
{ {
"population": "14.290", "population": "14.284",
"activeUsers": "2.485", "activeUsers": "2.451",
"podsNum": "380" "podsNum": "379"
}, },
"hubzilla": "hubzilla":
{ {
"population": "7.327", "population": "6.404",
"activeUsers": "4.419", "activeUsers": "4.384",
"podsNum": "270" "podsNum": "259"
}, },
"socialhome": "socialhome":
{ {
"population": "1028", "population": "1001",
"activeUsers": "366", "activeUsers": "344",
"podsNum": "7" "podsNum": "5"
}, },
"mastodon": "mastodon":
{ {
"population": "2.163.859", "population": "2.149.216",
"activeUsers": "1.568.450", "activeUsers": "1.511.965",
"podsNum": "2.665" "podsNum": "2.670"
}, },
"gnusocial": "gnusocial":
{ {
"population": "14.196", "population": "14.190",
"activeUsers": "", "activeUsers": "",
"podsNum": "141" "podsNum": "140"
}, },
"pleroma": "pleroma":
{ {
"population": "28.831", "population": "20.090",
"activeUsers": "", "activeUsers": "",
"podsNum": "499" "podsNum": "500"
}, },
"misskey": "misskey":
{ {
"population": "760", "population": "95",
"activeUsers": "", "activeUsers": "",
"podsNum": "51" "podsNum": "48"
}, },
"peertube": "peertube":
{ {
"population": "14.716", "population": "15.022",
"activeUsers": "", "activeUsers": "",
"podsNum": "324" "podsNum": "328"
}, },
"pixelfed": "pixelfed":
{ {
"population": "8.749", "population": "9.176",
"activeUsers": "8.589", "activeUsers": "8.682",
"podsNum": "54" "podsNum": "62"
} }
} }
} }

View file

@ -35,6 +35,10 @@
[ [
{"id": "0", "url": "https://instances.joinpeertube.org/instances/stats"} {"id": "0", "url": "https://instances.joinpeertube.org/instances/stats"}
], ],
"services":
[
{"id": "0", "url": "https://app.spacebear.ee"}
],
"mascot": [{"item": "octopus", "imgNum": "1"}], "mascot": [{"item": "octopus", "imgNum": "1"}],
"dwellers": "peertubers", "dwellers": "peertubers",
"communities": "", "communities": "",

View file

@ -23,6 +23,10 @@
], ],
"mobile": "https://github.com/glitchpizza/morii", "mobile": "https://github.com/glitchpizza/morii",
"devTutorial": "https://pixelfed.github.io/docs/master/installation.html", "devTutorial": "https://pixelfed.github.io/docs/master/installation.html",
"services":
[
{"id": "0", "url": "https://app.spacebear.ee"}
],
"mascot": [{"item": "red panda Fred", "imgNum": "1"}], "mascot": [{"item": "red panda Fred", "imgNum": "1"}],
"dwellers": "?", "dwellers": "?",
"communities": "", "communities": "",

View file

@ -1,6 +1,6 @@
--- ---
layout: "generic" layout: "pixelfed"
title: "PixelFed" title: "PixelFed"
network: "pixelfed" network: "pixelfed"
subtitle: "federated image sharing platform" subtitle: "federated image sharing platform"

View file

@ -89,6 +89,7 @@ wizard: SERVER WIZARD
userGuide: User guide userGuide: User guide
adminGuide: Administrator guide adminGuide: Administrator guide
devGuide: Developer guide devGuide: Developer guide
preinstalled: Preinstalled hosting
# diaspora page # diaspora page
proxy: proxy proxy: proxy
@ -104,7 +105,6 @@ metrics: metrics
dashboards: dashboards dashboards: dashboards
stats: stats stats: stats
graphs: graphs graphs: graphs
mastoPreinstalled: Preinstalled Mastodon
mastoHosting: Your Mastodon server mastoHosting: Your Mastodon server
webmentions: Webmentions - site + Fediverse bridge webmentions: Webmentions - site + Fediverse bridge
mastofeed: Mastofeed mastofeed: Mastofeed

View file

@ -9,7 +9,7 @@ network: true
const tuts = [__('intro'), __('howto'), __('guide')]; const tuts = [__('intro'), __('howto'), __('guide')];
const uxList = [__('uMatch'), __('mastoGallery'), __('trunk')]; const uxList = [__('uMatch'), __('mastoGallery'), __('trunk')];
const stats = [__('dashboards'), __('stats')]; const stats = [__('dashboards'), __('stats')];
const tools = [__('mastoPreinstalled'), __('mastoHosting')]; const tools = [__('preinstalled')];
const utils = [__('mastofeed'), __('crossposting'), __('feedPreview'), __('webmentions'), __('feed2toot')]; const utils = [__('mastofeed'), __('crossposting'), __('feedPreview'), __('webmentions'), __('feed2toot')];
const forkTitles = [__('glitchSoc'), __('mastoEphemeral')]; const forkTitles = [__('glitchSoc'), __('mastoEphemeral')];
%> %>

View file

@ -6,9 +6,8 @@ network: true
<% <%
const data = site.data.peertube.data; const data = site.data.peertube.data;
const tutorials = data.tutorials;
const tuts = [__('adminGuide')]; const tuts = [__('adminGuide')];
const ux = data.forUsers; const tools = [__('preinstalled')];
const uxList = [ __('userGuide')]; const uxList = [ __('userGuide')];
%> %>
@ -24,10 +23,21 @@ network: true
<div class="section u-block"> <div class="section u-block">
<h4><%- __('users') %></h4> <h4><%- __('users') %></h4>
<ul class="section-list"> <ul class="section-list">
<% for (item in ux) { %> <% for (item in data.forUsers) { %>
<% let n = ux[item].id %> <% let n = data.forUsers[item].id %>
<li> <li>
<a href="<%= ux[item].url %>"><%= uxList[n] %></a> <a href="<%= data.forUsers[item].url %>"><%= uxList[n] %></a>
</li>
<% } %>
</ul>
</div>
<div class="section u-block">
<h4><%- __('techies') %></h4>
<ul class="section-list">
<% for (item in data.services) { %>
<% let b = data.services[item].id %>
<li class="u-inline">
<a href="<%= data.services[item].url %>"><%= tools[b] %></a><span>&nbsp;/&nbsp;</span>
</li> </li>
<% } %> <% } %>
</ul> </ul>
@ -35,10 +45,10 @@ network: true
<div class="section u-block"> <div class="section u-block">
<h4><%- __('tuts') %></h4> <h4><%- __('tuts') %></h4>
<ul class="section-list"> <ul class="section-list">
<% for (item in tutorials) { %> <% for (item in data.tutorials) { %>
<% let n = tutorials[item].id %> <% let n = data.tutorials[item].id %>
<li> <li>
<a href="<%= tutorials[item].url %>"><%= tuts[n] %></a> <a href="<%= data.tutorials[item].url %>"><%= tuts[n] %></a>
</li> </li>
<% } %> <% } %>
</ul> </ul>

View file

@ -0,0 +1,40 @@
---
layout: layout
network: true
---
<%
const data = site.data.pixelfed.data;
const tools = [__('preinstalled')];
%>
<%- partial('_partial/heroheader') %>
<main class="contents">
<%- partial('_partial/header') %>
<div class="section-wrapper">
<%- partial('_partial/generalinfo') %>
<section class="column">
<div class="section u-block">
<h4><%- __('techies') %></h4>
<ul class="section-list">
<% for (item in data.services) { %>
<% let b = data.services[item].id %>
<li class="u-inline">
<a href="<%= data.services[item].url %>"><%= tools[b] %></a><span>&nbsp;/&nbsp;</span>
</li>
<% } %>
</ul>
</div>
</section>
</div>
<%- partial('_partial/world') %>
<br>
<%- partial('_partial/contributing') %>
<%- partial('_partial/buttons') %>
</main>