• 0 Posts
  • 43 Comments
Joined 2 months ago
cake
Cake day: February 9th, 2026

help-circle



  • I currently push to a private GitHub repository (planning on moving to a self-hosted Forgejo instance soon).

    Although making my nix configuration public would be safe anyway since I use sops-nix which encrypts all my passwords in the repo using a key derived from my SSH key. During nixos-rebuild it decrypts them and puts them each in their own text file at /run/secrets, with permissions set so you need sudo to view them. (The permissions can be tweaked as needed)

    It was a pain in the neck to get started with initially (like NixOS itself), but it was very much worth it. (Basically a necessity since putting secrets even in a private repo is considered bad practice)


  • I got it working, thanks! I think I found a minor bug though. I could only get the --template flag to work when the file is in the current working directory. Subdirectories and absolute directories didn’t work. I worked around this by simply cding into where my template was stored before running tinyfeed.

    Even tinyfeed -i feeds.txt -o index.html -t ./template.html (with ./) results in:

    fail to output HTML: fail to render HTML template: template: "./template.html" is an incomplete or empty template
    















  • shrek_is_love@lemmy.mltoSelfhosted@lemmy.worldRate limiting
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 months ago

    Take this with a grain of salt since I haven’t done much scraping (yet; I have a project I just started planning)

    I’ve heard you’re more likely to get blocked for using a VPN since some sites will block requests originating from data centers, which is less likely to happen coming from a residential IP address. (Although if you’re already using a VPS, the right proxy may help)

    This might be useless advice, but it might just be best to increase (and randomize) the amount of time between requests.

    And to answer your question, Mullvad is what I use, and it’s what I see reccomended (from both Reddit, and The Wirecutter) the most often because they store so little of your data, and you can even pay in cash.