All gists

kat
Last active 2 months ago
0 0 1
  • if you can port forward (AKA no CGNAT from your ISP, look it up), only open ports 80/443 for a web server. reverse proxy will handle everything else
    • if your router's capable of VLANs, put your homelab network on one. i have no experience with VLANs so i can't help here but there's plenty of guides online and it's best practice
  • install fail2ban first thing. it takes care of most automated bot login attempts without any configuration
  • use debian or ubuntu server if you don't wanna suffer. ubuntu server is alright but debian is best bc no snap shit. same package manager (apt)
  • best web server to use is caddy it's really fucking simple look at my guide
  • do not use password SSH auth PLEASE set up key only auth. passwords are easy to break, keys are way harder. basic guide here
kat
Last active 2 months ago
0 0 1
1 katproto_users.ts:55:63 - error TS2339: Property 'did' does not exist on type 'Promise<{ did: `did:${string}:${string}`; active: boolean; status: string; head: string; rev: string; display: string; handle: string; }>'.
2
3 55 `<li><a href="https://bsky.app/profile/${await repo.did}">${await repo.display}</a></li>`,
4 ~~~
5
6 katproto_users.ts:55:63
7 55 `<li><a href="https://bsky.app/profile/${await repo.did}">${await repo.display}</a></li>`,
8 ~~~
9 Did you forget to use 'await'?