🌿 Collaborative wiki on ATProto lichen.wiki
atproto
14
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update for more stats

juprodh 7d3f42f5 cf9d910f

+13 -2
+9
deploy/Caddyfile
··· 20 20 # Everything else 21 21 reverse_proxy localhost:3000 22 22 } 23 + 24 + stats.lichen.wiki { 25 + tls { 26 + dns cloudflare {env.CLOUDFLARE_API_TOKEN} 27 + } 28 + 29 + encode gzip 30 + reverse_proxy localhost:8081 31 + }
+1
deploy/caddy.service
··· 5 5 [Service] 6 6 Type=simple 7 7 ExecStart=/usr/bin/caddy run --config /etc/caddy/Caddyfile --envfile /etc/lichen/env 8 + ExecReload=/usr/bin/caddy reload --config /etc/caddy/Caddyfile --force 8 9 Restart=on-failure 9 10 RestartSec=5 10 11 AmbientCapabilities=CAP_NET_BIND_SERVICE
+1
src/views/layout.ts
··· 258 258 <a href="https://tangled.org/juprodh.bsky.social/lichen.wiki" target="_blank" rel="noopener noreferrer" class="hover:underline">${msg.home.sourceCode}</a> 259 259 </footer> 260 260 <script data-goatcounter="https://stats.lichen.wiki/count" async src="//stats.lichen.wiki/count.js"></script> 261 + <script defer src="https://static.cloudflareinsights.com/beacon.min.js" data-cf-beacon='{"token": "d6116b6075fb4242b756ff05acfd16b0"}'></script> 261 262 </body> 262 263 </html>`; 263 264 }
+2 -2
src/views/wiki-card.ts
··· 11 11 : ""; 12 12 13 13 const description = wiki.description 14 - ? `<p class="text-sm ${THEME.textSecondary} mt-1 line-clamp-2">${escapeHtml(wiki.description)}</p>` 15 - : ""; 14 + ? `<p class="text-sm ${THEME.textSecondary} mt-1 line-clamp-2 flex-1">${escapeHtml(wiki.description)}</p>` 15 + : `<div class="flex-1"></div>`; 16 16 17 17 const ownerHandle = wiki.owner_handle 18 18 ? `<span class="truncate">${escapeHtml(wiki.owner_handle)}</span>`