926 karma · joined March 2, 2015
https://mrkaran.dev
I’ve been exploring such projects off late myself. I found https://github.com/ananthakumaran/paisa to be a really clean and well implemented project on similar lines. It already handles a bunch of asset classes familiar to the country I’m residing in which is tempting me to give it a shot sometime soon!
dig ip @dns.toys +shortI stick to using Ubuntu minimal container images. They’re 30MB (compressed) in size so it’s never a problem around container bloat.
alias workgit="git config user.name 'full name' && git config user.email 'karan@org.tld'"
alias persgit="git config user.name 'full name' && git config user.email 'karan@my.email'"
I prefer this because there are some overlapping directories in my filesystem and don't want to automatically use another git identity just based on file paths. Works well enough for my usecase.- Setup Tailscale on the server and personal device
- Deploy apps (self hosted tools that I use) on the wireguard interface created by Tailscale
- Deploy caddy as a reverse proxy for all these tools and use `.internal` domain
- Use Adguard's DNS rewrites feature to answer custom DNS response for specified `.internal` domains. The A record contains the IP assigned by Tailscale (wg0 interface) for that device.
The Caddyfile is as simple as:
http://miniflux.karan.internal {
reverse_proxy 127.0.0.1:3000
}
Using this setup, as soon as I connect to Tailscale, I can access `miniflux.karan.internal` on a secure encrypted network without worrying about configuring HTTPS for local domains or renewing SSL certs.I've been writing on this space for a while now but the frequency of posts has dropped to once in 2-3 months. I hope to make it a more consistent habit however.
I think LogQL + Grafana UI is a pretty rich/interactive experience of viewing logs v/s Metabase.
https://github.com/mr-karan/barreldb/
Bitcask is an excellent paper that is not overwhelming to understand and offers a great stepping stone in building your own data stores. The simple yet powerful design of an append only file is eloquent and performant.
I’d love to read about more such implementations, if anyone has any recommendations.
Do you use any particular UI/Frontend tool for querying these logs?
I regularly blog about stuff I do at work/self hosting/anything I find interesting.
The blog is made with Zola and hosted on GitHub pages.
Congrats on the release.
What does Docusaurus offer more, if anyone who's used both can compare?
[1]: https://develop.sentry.dev/architecture/ [2]: https://github.com/getsentry/self-hosted