• Activity
  • Votes
  • Comments
  • New
  • All activity
  • Showing only topics with the tag "hosting". Back to normal view
    1. Self-hosters! Share your reasons for self-hosting and favorite apps!

      Self-hosting has been a rabbit hole of wonder that I've explored and delved into over these past few months. I'm curious to hear what others use it for, what apps they love, and their rationale...

      Self-hosting has been a rabbit hole of wonder that I've explored and delved into over these past few months. I'm curious to hear what others use it for, what apps they love, and their rationale for doing so?

      I'll go first.

      First, in terms of rationale, this is a wonderful article that I think is worth checking out that encapsulates much my of ethos about pursuing self-hosting.

      https://kylechayka.substack.com/p/essay-the-digital-death-of-collecting

      The TL;DR is that we no longer have control over the things that we 'own' digitally for these massive cloud companies. For instance the songs / artists you listen to on Spotify may suddenly and unexpectedly become unavailable, certain things (most recently podcasts) may be forced upon you in unpleasant ways. Having complete control of your digital data is a very liberating feeling.


      In terms of apps:

      Hyperbackup - I use a synology NAS, so hyperbackup has been wonderful and use both external HD's and a cloud interface to create encrypted backups of everything which gives me peace of mind.

      Plex - One of my most used apps, being able to stream anything remotely has been a dream. Plexamp has given me back control of my music library in a way I never thought I would have.

      Tautulli - Great for more informatics on my plex usage

      Calibre / Calibreweb - Phenomenal for keeping track of my book collections

      PiHole - Ads be gone!

      *Arr apps - Specifically Sonarr/Prowlarr/Radarr, really like Overseerr for an interface tying everything together

      Daily Notes - A clean interface for keeping regular notes


      Some things that I'm not currently self-hosting but would love to hear if others are using alternatives...

      Instapaper - I know there are a few similar FOSS apps out there but haven't found one as convenient and well laid out

      TickTick - To do app, but similarly haven't found a FOSS alternative that was as robust and nice to use

      OneNote

      86 votes
    2. NordVPN changes to username and password encryption cause Auth_FAIL in OpenVPN/Gluetun

      Recently NordVPN rolled out an update which forced users to use an encrypted username and password combination when connecting through OpenVPN. I haven't seen any posts on this here, and it took...

      Recently NordVPN rolled out an update which forced users to use an encrypted username and password combination when connecting through OpenVPN. I haven't seen any posts on this here, and it took me way longer than I want to admit troubleshooting this issue because I knew my original credentials were correct.

      If you use a gluetun container for routing any of other containers traffic, you might have recently noticed a 500 Internal Service Error in your Health Status and when you check your logs you will find a AUTH_FAILED message.

      Solution below:

      1. Go to NordVPN website and log in (using your normal credentials)
      2. Under accounts, services, click NordVPN
      3. Click "Set up NordVPN Manually" at the bottom of the page
      4. You will receive an email verification code, using whatever email you have set up for your NordVPN services. Type this code into the popup window.
      5. Copy your new encrypted credentials for your Open VPN client settings.

      This is my first post, please add tags as required.

      24 votes
    3. What do you use to journal with?

      The recent PKM thread had me thinking about what folks are using as journaling app/portal. I do use Obsidian for my second brain right now and genuinely love it. But I find the mobile app on...

      The recent PKM thread had me thinking about what folks are using as journaling app/portal. I do use Obsidian for my second brain right now and genuinely love it. But I find the mobile app on Android to be a bit clunky, if I'm honest. Seems slow to open even with very few plugins. For jounaling I've used DayOne for years. I started back when it was iOS/MacOS only, but then switched phone to Android and haven't been back. But now they have an app and web app for that. What I don't like is the somewhat goofy format it saves in and it's on their servers. They used to allow you to at least leverage your own Dropbox, but no longer.

      For the past several months I've tried several FOSS options. Main criteria is that I could host it myself, supports offline entries stored in an open file format (preferably MarkDown), and had either multi platform app or a decent web app. That lead me to try these:

      Memos
      Pros:

      • Great persistent web app
      • Slick UI that is light and snappy
      • markdown support
        Cons:
      • Stuffs the .md inside a database file so can be a bit cumbersome to export data
      • No offline support. There is a 3rd party app that hopes to implement it

      Flatnotes
      Pros:

      • Incredibly simple
      • Another easily deployed app
      • Flat Markdown files
        Cons:
      • Web app on mobile is almost unusable as in it doesn't scale well to smaller screens
      • Very early development, but very likely to stay as minimalistic as it is now.
      • No offline and very unlikely to ever have it

      Joplin
      Pros:

      • Multi platform apps that perform well
      • End-to-end encryption supported
      • Could replace both DayOne and my To-do solution (Google Keep)
      • Offline support
        Cons:
      • More database stuff instead of flat markdown files

      One solution I've been testing lately is using IAWriter to write to a 'Journal' folder within my Obsidian vault on Google drive Obsidian Vault > Journal > 2023.... for example. This works surprisingly well. Of course IAWriter is a bit spendy at $29 for Android and then more $ for other platforms as they're sold separately.

      So I'm curious what other people are using for just simple daily journaling, random thoughts, etc. If there's an approach I've missed I'd love to hear it. Joplin is so dang close but not having the structure of plaintext files is a no go for me as I don't want to be trapped by any one product should something happen to the development down the road. Doesn't have to be free, but I want control of the entries either on my own server or cloud storage.

      46 votes
    4. Looking for recommendations for ad-free video hosting

      I’m creating a special video for my parents’ anniversary and want to share it privately. I don’t want anyone to see ads before, during or right after it. I’m not monetizing it and don’t care about...

      I’m creating a special video for my parents’ anniversary and want to share it privately. I don’t want anyone to see ads before, during or right after it. I’m not monetizing it and don’t care about viewer metrics.

      Right now I’m trying to decide between subscribing to Vimeo or just placing the file in my Google Drive and sharing out the link.

      The file won’t exceed 5GB.

      Would paying for a service like Vimeo really be worth it when I could just share out the file for free?

      Would appreciate any suggestions or recommendations from content creators.

      9 votes
    5. Organizing self-hosted classical music collection

      I'm currently using Navidrome to self-host my music collection, while using DSub to listen on-the-go. This works very well for most genres, except for the bulk of my music which is classical...

      I'm currently using Navidrome to self-host my music collection, while using DSub to listen on-the-go.

      This works very well for most genres, except for the bulk of my music which is classical music. This presents its own host of problems pertaining to cataloguing and using metadata, since there are often multiple recordings of the same musical composition, recorded by multiple conductors with different orchestras and/or soloists. There may also be different instrumental arrangements of the same musical piece. Merely sorting by "Artist" is therefore quite unsatisfactory in this scenario.

      Some streaming services have come up with quite satisfying solutions in my experience (notably Apple Music Classical and Idagio), but I am not sure how to go about listening to my own self-hosted classical music.

      Is anybody here on Tildes familiar with this organizational problem? I would be very eager to hear how you have tackled this. Is there any self-hosted software more suitable to cataloguing musical collections with extensive metadata?

      13 votes
    6. What's a simple, cheap way to run a database-backed website as a hobbyist?

      I use Github and Netlify to run some simple websites for free. It works well. However, I've been thinking of experimenting with a database-backed website for fun and Netlify doesn't have any...

      I use Github and Netlify to run some simple websites for free. It works well. However, I've been thinking of experimenting with a database-backed website for fun and Netlify doesn't have any persistence.

      What's a good way to do this that scales to zero when nobody's using it? I want to be able to forget about it entirely for months or years at a time. When someone visits, it should start up and run on demand without costing me $20 a month on standby.

      Back in the day, I used Google App Engine for this. I learned a lot of datastore tricks to get around its poor latency, but I'm lazy and don't want to do that anymore. I'm pretty sure I want a SQL database and full text search. Either sqlite or Postgres would do, but I doubt there's a cheap enough way to run Postgres.

      Litestream looks interesting and so does LiteFS, except that it's pre-1.0 and I don't know what changes fly.io will make that I have to keep up with. If I used Litestream, I'd have to figure out how to run it and where to store the replication logs.

      Edit: one nice-to-have is being able to easily dump the database and run it locally or on another cloud provider. (I don't anticipate it getting so big that it's impractical.)

      47 votes
    7. Self-hosting Tildes?

      Any how to that explains how to selfhost Tildes? I checked gitlab page, but it doesn't explain how? I would love to start a local community in my native language based on Tildes.

      26 votes
    8. What operating system do you run your home servers on?

      I'm going to set up my first home server with an Intel NUC, but I can't decide what OS to use. Ubuntu seems popular but I like Pop!_OS and am not sure if that would be a good option. Then there's...

      I'm going to set up my first home server with an Intel NUC, but I can't decide what OS to use. Ubuntu seems popular but I like Pop!_OS and am not sure if that would be a good option. Then there's TrueNas and Unraid, but as a newbie, what's the best choice?

      I'm also just curious what everyone else is using :)

      Edit: Thank you for your great responses!

      49 votes
    9. What are some fun games you can self-host?

      I have a windows server with some spare capacity that I use to host some games for the community I'm a part of. Currently I host a couple TF2 servers and a wreckfest server. What other games can I...

      I have a windows server with some spare capacity that I use to host some games for the community I'm a part of. Currently I host a couple TF2 servers and a wreckfest server. What other games can I host?

      24 votes
    10. What are you self-hosting currently?

      I recently discovered Paperless-ngx and have immediately fell in love. I must now decide whether to host it on my VPS (risky with personal documents), on a Pi at home or finally invest in a proper...

      I recently discovered Paperless-ngx and have immediately fell in love. I must now decide whether to host it on my VPS (risky with personal documents), on a Pi at home or finally invest in a proper home server (something cheap but with a bit more power than a Pi4). It can totally be run a Pi, but performance may not be as good.

      Does Tildes have a big self-hosted community? What are you self-hosting currently, and what do you enjoy about it?

      52 votes
    11. In which a foolish developer tries DevOps: critique my VPS provisioning script!

      I'm attempting to provision two mirror staging and production environments for a future SaaS application that we're close to launching as a company, and I'd like to get some feedback on the...

      I'm attempting to provision two mirror staging and production environments for a future SaaS application that we're close to launching as a company, and I'd like to get some feedback on the provisioning script I've created that takes a default VPS from our hosting provider, DigitalOcean, and readies it for being a secure hosting environment for our application instance (which runs inside Docker, and persists data to an unrelated managed database).

      I'm sticking with a simple infrastructure architecture at the moment: A single VPS which runs both nginx and the application instance inside a containerised docker service as mentioned earlier. There's no load balancers or server duplication at this point. @Emerald_Knight very kindly provided me in the Tildes Discord with some overall guidance about what to aim for when configuring a server (limit damage as best as possible, limit access when an attack occurs)—so I've tried to be thoughtful and integrate that paradigm where possible (disabling root login, etc).

      I’m not a DevOps or sysadmin-oriented person by trade—I stick to programming most of the time—but this role falls to me as the technical person in this business; so the last few days has been a lot of reading and readying. I’ll run through the provisioning flow step by step. Oh, and for reference, Ubuntu 20.04 LTS.

      First step is self-explanatory.

      #!/bin/sh
      
      # Name of the user to create and grant privileges to.
      USERNAME_OF_ACCOUNT=
      
      sudo apt-get -qq update
      sudo apt install -qq --yes nginx
      sudo systemctl restart nginx
      

      Next, create my sudo user, add them to the groups needed, require a password change on first login, then copy across any provided authorised keys from the root user which you can configure to be seeded to the VPS in the DigitalOcean management console.

      useradd --create-home --shell "/bin/bash" --groups sudo,www-data "${USERNAME_OF_ACCOUNT}"
      passwd --delete $USERNAME_OF_ACCOUNT
      chage --lastday 0 $USERNAME_OF_ACCOUNT
      
      HOME_DIR="$(eval echo ~${USERNAME_OF_ACCOUNT})"
      mkdir --parents "${HOME_DIR}/.ssh"
      cp /root/.ssh/authorized_keys "${HOME_DIR}/.ssh"
      
      chmod 700 ~/.ssh
      chmod 600 ~/.ssh/authorized_keys
      chown --recursive "${USERNAME_OF_ACCOUNT}":"${USERNAME_OF_ACCOUNT}" "${HOME_DIR}/.ssh"

sudo chmod 775 -R /var/www
      sudo chown -R $USERNAME_OF_ACCOUNT /var/www
      rm -rf /var/www/html
      

      Installation of docker, and run it as a service, ensure the created user is added to the docker group.

      sudo apt-get install -qq --yes \
          apt-transport-https \
          ca-certificates \
          curl \
          gnupg-agent \
          software-properties-common
      
      curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
      sudo apt-key fingerprint 0EBFCD88
      
      sudo add-apt-repository --yes \
         "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
         $(lsb_release -cs) \
         stable"
      
      sudo apt-get -qq update
      sudo apt install -qq --yes docker-ce docker-ce-cli containerd.io
      
      # Only add a group if it does not exist
      sudo getent group docker || sudo groupadd docker
      sudo usermod -aG docker $USERNAME_OF_ACCOUNT
      
      # Enable docker
      sudo systemctl enable docker
      
      sudo curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
      sudo chmod +x /usr/local/bin/docker-compose
      sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
      docker-compose --version
      

      Disable root logins and any form of password-based authentication by altering sshd_config.

      sed -i '/^PermitRootLogin/s/yes/no/' /etc/ssh/sshd_config
      sed -i '/^PasswordAuthentication/s/yes/no/' /etc/ssh/sshd_config
      sed -i '/^ChallengeResponseAuthentication/s/yes/no/' /etc/ssh/sshd_config
      

      Configure the firewall and fail2ban.

      sudo ufw default deny incoming
      sudo ufw default allow outgoing
      sudo ufw allow ssh
      sudo ufw allow http
      sudo ufw allow https
      sudo ufw reload
      sudo ufw --force enable && sudo ufw status verbose
      
      sudo apt-get -qq install --yes fail2ban
      sudo systemctl enable fail2ban
      sudo systemctl start fail2ban
      

      Swapfiles.

      sudo fallocate -l 1G /swapfile && ls -lh /swapfile
      sudo chmod 0600 /swapfile && ls -lh /swapfile
      sudo mkswap /swapfile
      sudo swapon /swapfile && sudo swapon --show
      echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab
      

      Unattended updates, and restart the ssh daemon.

      sudo apt install -qq unattended-upgrades
      sudo systemctl restart ssh
      

      Some questions

      You can assume these questions are cost-benefit focused, i.e. is it worth my time to investigate this, versus something else that may have better gains given my limited time.

      1. Obviously, any critiques of the above provisioning process are appreciated—both on the micro level of criticising particular lines, or zooming out and saying “well why don’t you do this instead…”. I can’t know what I don’t know.

      2. Is it worth investigating tools such as ss or lynis (https://github.com/CISOfy/lynis) to perform server auditing? I don’t have to meet any compliance requirements at this point.

      3. Do I get any meaningful increase in security by implementing 2FA on login here using google authenticator? As far as I can see, as long as I'm using best practices to actually ssh into our boxes, then the likeliest risk profile for unwanted access probably isn’t via the authentication mechanism I use personally to access my servers.

      4. Am I missing anything here? Beyond the provisioning script itself, I adhere to best practices around storing and generating passwords and ssh keys.

      Some notes and comments

      1. Eventually I'll use the hosting provider's API to spin up and spin down VPS's on the fly via a custom management application, which gives me an opportunity to programmatically execute the provisioning script above and run some over pre- and post-provisioning things, like deployment of the application and so forth.

      2. Usage alerts and monitoring is configured within DigitalOcean's console, and alerts are sent to our business' Slack for me to action as needed. Currently, I’m settling on the following alerts:
        1. Server CPU utilisation greater than 80% for 5 minutes.
        2. Server memory usage greater than 80% for 5 minutes.
        3. I’m also looking at setting up daily fail2ban status alerts if needed.
      9 votes
    12. What online services do you use to host and share photos?

      Services like Facebook, Instagram, Google Photos, iCloud Photo Sharing, Flickr, SmugMug, 500px, and more are available for hosting and sharing photos online. I'm curious what service, or set of...

      Services like Facebook, Instagram, Google Photos, iCloud Photo Sharing, Flickr, SmugMug, 500px, and more are available for hosting and sharing photos online. I'm curious what service, or set of services, you you use and how you decided. Do you cross post between them, and if so what strategy do you use?

      I'm currently spread a bit and without much cross-posting between Facebook, Instagram, and Flickr. Not a strong conscious decision, though I've been wanting to do a bit more photography and would like to figure out a better strategy.

      I think some key points to consider are cost (free vs pro, ease of upgrade/downgrade), storage space and restrictions (total space, max individual size, filetypes, enforced resizing/compression), ease and control of sharing publicly or privately, network audience and reach, and creative rights (who owns what rights on the content)

      This Terms of Service; Didn't Read site can be helpful for at least determining what the general rights on these services are with some broad judgement.

      14 votes
    13. Is having a business line worth it?

      Does anyone have a business subscriber Internet connection? Is it worth it? I just spoke with my ISP, and for an extra $40/mo I can get a static IP address with 100mbps that I can host my own...

      Does anyone have a business subscriber Internet connection? Is it worth it?

      I just spoke with my ISP, and for an extra $40/mo I can get a static IP address with 100mbps that I can host my own website on. I have a virtualization server, and I've been thinking about hosting my own hobby-scale website for a while. I haven't had any luck finding rack hosting space that I'd feel comfortable using so I'm thinking about just going rogue, and operating solo. If I had a static IP address with a pipe that would allow me to host then all I'd need to do is stand up a server, register a domain, and point it at my IP address.

      Other than the typical security risks, what do I need to worry about? Would the experience be worth it?

      11 votes
    14. Personal Wikis

      I have been looking for some software where I can brain dump all the things I need to remember on a constant basis so I can easily find it again in the future. A personal wiki basically. I am...

      I have been looking for some software where I can brain dump all the things I need to remember on a constant basis so I can easily find it again in the future. A personal wiki basically. I am wondering what any of you tilderians are using?

      The things I am looking for:

      Absolute requirements:

      • Open Source: I want to be in control of the data myself, and I want to be able to hack on it myself as the need arises.
      • Self Hostable: Goes hand-in-hand with with open sourceness, I want the data to live on the server in my apartment, under my own control.
      • An API of some sort so I can programmatically add/read/modify data.

      Nice to haves:

      • Revision history of some sort.
      • Common/simple data format for easy backup and longevity.
      • Web interface, with mobile compatibility.
      • Lightweight as possible, so I can run it on a low powered server.

      Does anything know anything like that?

      Options I have heard of:

      Here is a previous discussion on the topic @ Lobste.rs

      25 votes
    15. Teknik.io registration is open for a few more hours!

      EDIT: signups are now closed. relevant blog post teknik.io is a website that provides services like email, [encrypted] file uploads, Git repos, blogs, URL shortening, and more. I've used them for...

      EDIT: signups are now closed.

      relevant blog post

      teknik.io is a website that provides services like email, [encrypted] file uploads, Git repos, blogs, URL shortening, and more. I've used them for a few years and they're wonderful. It's all open-source and privacy conscious, maybe some Tildes users would like it?

      Registration is usually invite-only, but it's open for a few hours.

      Thanks @duckoverflow for mentioning this.

      Edit: also their privacy policy is short, simple, and easy-to-read if anyone is interested in that. I'd consider it a great example of what a privacy policy should be.

      24 votes
    16. Feedback on a federated decentralized git hosting solution

      I have an idea, it's not particularly new. I think git code sharing could integrate very nicely with blockchains. I think it could be done elegantly without modifying the git protocol at all, just...

      I have an idea, it's not particularly new. I think git code sharing could integrate very nicely with blockchains.

      I think it could be done elegantly without modifying the git protocol at all, just as an optional superset (like Github) to provide forks, PR and discussion.

      Something like:

      • smart contract based system
      • something like lightening network for off master chain pushes
      • local node hosting all obtained versions of code, something like PNPM meets zeronet
      • cloning/pushing over DHT with web torrent.
      • client key pairs for collaboration and authentication

      Do you guys think it could be done? Thoughts? Ideas? Criticisms?

      Would anyone be interested in working on something like this? I'd like all the help I can get and any input people have.

      6 votes