selfhostable, read-only reddit client
16
fork

Configure Feed

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

add donate link

Akshay 5adeac4c c5cd65eb

+7 -2
+1 -1
scripts/gen-invite.js
··· 15 15 16 16 function generateInviteToken() { 17 17 const hasher = new Bun.CryptoHasher("sha256", "super-secret-invite-key"); 18 - return hasher.update(Math.random().toString()).digest("hex"); 18 + return hasher.update(Math.random().toString()).digest("hex").slice(0, 10); 19 19 } 20 20 21 21 function createInvite() {
+6 -1
src/views/index.pug
··· 70 70 button(onclick=`unsubscribe('${subreddit}')`)#thinger unsubscribe 71 71 else 72 72 button(onclick=`subscribe('${subreddit}')`)#thinger subscribe 73 - if about 73 + if about && !isMulti 74 74 p #{about.public_description} 75 + else 76 + p 77 + | consider donating to  78 + a(href="https://donate.stripe.com/dR62bTaZH1295Da4gg") oppiliappan 79 + |, author of readit 75 80 details 76 81 summary.sorting sorting by #{query.sort + (query.t?' '+query.t:'')} 77 82 div.sort-opts