Self-Hosted Alternatives to Popular Services

0 readers
0 users here now

A place to share, discuss, discover, assist with, gain assistance for, and critique self-hosted alternatives to our favorite web apps, web...

founded 1 year ago
MODERATORS
1
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/selfhosted by /u/kindly_formation71 on 2023-12-06 18:35:50.


Hi self-hosters πŸ‘‹

I've built a library that makes it easy to integrate LLMs into any react app. We are launching on product hunt tomorrow, but wanted to give you an early look :) πŸŽ‰

Github:

CopilotKit currently has two react components:

    1. A "chatGPT" inside your app that can see the app state and take actions.
    1. A drop-in replacement for any with the features of Github CopilotX (autocomplete, insertions, prompting). Context aware.

Everything is open-source and fully customizable. It is plugged in to OpenAI by default but you can literally run everything locally, including the LLM. It's built to be deeply customized and still work.

<https://preview.redd.it/20rrkws3mp4c1.png?width=3071&format=png&auto=webp&s=90072ad62138ef1f251c248074ac1e7ce588f8c3>

Please check it out and let us know what you think. If you like it, give us a star🌟 while you're there :)

Come join our journey πŸ—ΊοΈ


Discord:

<https://discord.gg/6dffbvGU3D>

Github:

<https://github.com/CopilotKit/CopilotKit>

2
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/selfhosted by /u/aRnonymousan on 2023-12-06 13:56:57.


So for the past couple of years i've been running a bunch of services with docker, and my default is to just put :latest behind everything.

But now the question is whether that's good practice, this question applies for all the "supporting" images: Redis, Postgres, etc.While the main app, often has new features and fixes, so i will more actively want to update it.

Are there any real security risks to using an older version of postgres and updating maybe once a year? I feel like when a real vulnerabilities surface it is highlighted as big news.

*Bonus question, alpine version or not?

3
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/selfhosted by /u/guesswhochickenpoo on 2023-12-06 04:40:19.


TL;DR what do you use for documentation / wiki that meets the criteria section below?

Currently I'm using Confluence for our household documentation. At the time I wanted something outside of my self hosted / homelab stuff because I wanted it to be always available for my wife when she needs to access processes and such for our household. I recognize that Confluence and/or the free tire could go away at some point, I generally host my own stuff, and I would prefer something more 'open' like plain-text / markdown behind the scenes... if possible.

I could easily host something like wiki.js, or some other option but if our home infra goes down she / we don't have access to the doc which I don't like. Plus there is the whole "If I die" thing which is another reason I'm hesitant to self host the doc / wiki.

Criteria (ideally):

  • Always available (which might mean cloud hosted)
  • Simple / portable storage format (Markdown at it's core would be ideal)
  • Diagram feature built in (bonus, not a hard requirement)
  • Full data ownership
  • No monthly costs

Can't think of anything that meets all the criteria, there's always some compromise, which might just be the way it is. For example I could 'self-host' otterwiki or wiki.js on a VPS for a pretty small monthly fee, which I could also use for other stuff that doesn't make sense for a home lab, but then I also need to deal with security since it's hosted on the internet. Or I could self-host and just accept that there's risk of it not being available when my wife needs it or if I die suddenly.

I thought Obsidian might do the trick because we can easily share and sync the markdown files behind the scenes but I find Obsidian bloated and not a great mobile experience and I found out recently it's not open source. iOS notes is pretty limited and locked it the Apple ecosystem with no easy way to migrate.

What is everyone else doing for this?

UPDATE:

This might be the 'best of both worlds' solution I was looking for.

TL;DR: Use a self-hosted option but have it export the documentation to a universal format like PDF and send it to a shared Google Drive or iCloud drive or something. No cloud hosting fees or other downsides but it's still always accessible to her if home lab does down if I'm messing with the lab or I'm flat out dead lol

4
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/selfhosted by /u/Deferkai on 2023-12-06 02:38:55.

5
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/selfhosted by /u/IacovHall on 2023-12-05 16:43:08.


hey

i would like to achieve logging into my VMs via SSH with an each unique key pair and deactivated password logins

i've found several guides how to achieve that via puttygen etc but i still don't get the hang of it and am afraid of locking myself out of my machines

how do you generate your keys for your machines? do you generate a pair for each machine or do you use one "general key"?

how do you manage those keys? do you store them in a password manager or simply in putty?

how do you recover from a data loss? (e.g. OS has to be reinstalled and you loose the local putty config)

what is the most foolproof step by step guide for dummies like me to generate the keys, push them onto the machine and deactivate the pw login?

because i once stood in pooring rain in front of my home because i forgot my keys - i don't want to experience something similar with my VMs ;)

edit:

thank you for your great help so far

i will summarize my understanding of now, in the hope for others, that share my confusion ;) , to get started quickly - but i recommend reading the threads - there are a lot of good explanations, thank you all!

out of the box, u/Ovasak 's recommendation of Veronica Explains' video helped a lot

a user will have to make slight adjustments to the paths and commands depening on wether they are using linux or windows

in my case, i use w11 and connect to linux OSs (Dietpi, Debian Bookworm)

on the client, use ssh-keygen to generate a keypair - if you are on the current openssh client, it will generate a ed25519 key pair. if it creates a RSA key, use the ssh-keygen -t ed25519 command. Veronica Explains uses the command ssh-keygen -t ed25519 -f ~/.ssh/filename -C "comment" to explicitly define the path and add a comment.

after that, copy the key to the desired machine via ssh-copy-id -i .ssh/filename.pub [email protected]. if you are on windows, ssh-copy-id does not work currently. i've found the powershell command type c:/path/filename.pub | ssh [email protected] "cat >> .ssh/authorized_keys"

after that, it should normally suffice to edit a file on the server: nano /etc/ssh/sshd_config. uncomment PasswordAuthentication and set it to no. PubkeyAuthentication should be set to yes be default. PermitRootLogin set to no if you are using a root user (still have to test if it interfers with the key based authentication for root).

reload sshd with sudo systemctl reload sshd

don't close the connection, open a seperate shell and test your connection - edit in the still open session if needed

for easy logins (via ssh hostname) edit a config under .ssh: nano .ssh/config

and set your entries accordingly

Host voyage
    Hostname 000.000.000.000
    IdentityFile ~/.ssh/filename
       User root

for dietpi, the aforementioned way to disable pw-logins does not suffice - i am still looking for a solution

6
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/selfhosted by /u/BunkerMoewe on 2023-12-05 08:31:35.


Hello everyone, do you turn your servers/homelab off during the night? I'm at the point, where I use my self hosted stuff on a daily basis. At night though, I turn my server off and back on in the morning. Do you guys do that as well and safe some electricity, or are all your servers up 24/7? Maybe you have some clever system in place to shut your servers off automatically. I would love to hear your approach!

7
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/selfhosted by /u/igotabridgetosell on 2023-12-05 00:16:11.


Hey all,

Just started this selfhosted thing a month ago. I currently have jellyfin reverse proxied thru duckdns w caddy. Just wondering what ya'll have setup on the reverse proxy. I'm thinking I want SSH and plex? Other suggestions are welcome.