Files: b943b01f452dcc8c932c81886d0346f7a38269e4 / tmpl / apps / index.html.js
2512 bytesRaw
1 | var page = require('../page.part') |
2 | |
3 | // this page is the same as the first guide in basics, but with the big hero |
4 | module.exports = () => page({ |
5 | section: 'apps', |
6 | path: '/apps/index.html', |
7 | content: listing([ |
8 | { id: 'patchwork', title: 'Patchwork', desc: 'Inbox, social feed, and profiles.', url: 'https://github.com/ssbc/patchwork' }, |
9 | { id: 'patchbay', title: 'Patchbay', desc: 'An alternative Secure Scuttlebutt client interface', url: 'https://github.com/ssbc/patchbay' }, |
10 | { id: 'manyverse', title: 'Manyverse', desc: 'Beta Android client', url: 'https://www.manyver.se' }, |
11 | { id: 'patchfoo', title: 'Patchfoo', desc: 'Plain SSB web UI. Uses HTML forms instead of client-side JS.', url: 'https://git.scuttlebot.io/%25YAg1hicat%2B2GELjE2QJzDwlAWcx0ML%2B1sXEdsWwvdt8%3D.sha256' }, |
12 | { id: 'oasis', title: 'Oasis', desc: 'Themed HTML web UI without JavaScript', url: 'https://github.com/fraction/oasis'}, |
13 | { id: 'ferment', title: 'Ferment', desc: 'Peer-to-peer audio publishing and streaming.', url: 'https://github.com/fermentation/ferment' }, |
14 | { id: 'ssb-cli-dashboard', title: 'CLI Dashboard', desc: 'Browse the database state.', url: 'https://github.com/ssbc/ssb-cli-dashboard' }, |
15 | { id: 'ssb-simple-whois', title: 'CLI Whois', desc: 'Very simple petname->pubkey lookup.', url: 'https://github.com/ssbc/ssb-simple-whois' }, |
16 | { id: 'ssb-client-cli', title: 'ssb-client-cli', desc: 'Command Line interface to do basic things with SSB', url: 'https://github.com/qypea/ssb-client-cli' }, |
17 | { id: 'sbotc', title: 'sbotc', desc: 'A command-line SSB client in C. Use like the sbot command.', url: 'https://git.scuttlebot.io/%25133ulDgs%2FoC1DXjoK04vDFy6DgVBB%2FZok15YJmuhD5Q%3D.sha256' }, |
18 | { id: 'git-ssb', title: 'git ssb', desc: 'git repos and issue tracking', url: 'https://git.scuttlebot.io/%25n92DiQh7ietE%2BR%2BX%2FI403LQoyf2DtR3WQfCkDKlheQU%3D.sha256' }, |
19 | { id: 'dnssb', title: 'dnssb', desc: 'publish, distribute and query dns records', url: 'https://git.scuttlebot.io/%25aVOBlkoiDbK99ROZPIaiiDk%2B4q2P4%2BG7MGul4UxkBBM%3D.sha256' }, |
20 | { id: 'add-new', title: 'Add an application', url: 'https://github.com/ssbc/scuttlebot.io/blob/master/add-an-application.md' } |
21 | ]) |
22 | }) |
23 | |
24 | function listing (items) { |
25 | return `<div class="cards"> |
26 | ${ items.map(item => { |
27 | return `<a class="card" href="${item.url}" target="_blank"> |
28 | <img src="/img/${item.id}.png"> |
29 | <h4>${item.title}</h4> |
30 | <p>${item.desc||''}</p> |
31 | </a>` |
32 | }).join('') } |
33 | </div>` |
34 | } |
35 |
Built with git-ssb-web