r_selfhosted | Unsorted

Telegram-канал r_selfhosted - r/SelfHosted

820

@r_channels

Subscribe to a channel

r/SelfHosted

Tandoor 1.5 - Food Properties, Unit Conversion and the Tandoor Open Data Project

Hello again everyone! I can believe its already been another year since I last posted here about the latest Tandoor developments. While the list of changes during that time is too long for a single post I wanted to give you all a quick update about the major changes and additions that have been brought to life during that time.

https://preview.redd.it/hdyyqeazyd7b1.png?width=144&format=png&auto=webp&v=enabled&s=cccd59e123f8643ae6c471016ee44ccb59eeb745

# Unit Conversion

One of the main reasons Tandoor, from the first version on, contained ingredients split into their respective quantity, unit and food, is that I wanted to do more with recipes than just cook them.

​

https://preview.redd.it/5qw71e33wd7b1.png?width=788&format=png&auto=webp&v=enabled&s=c9c24c15a4828a3e14c5e8911ca0e71cef65b15a

With this update a huge step towards enabling this has been done by adding the backend for automatic unit conversion. Tandoor can now convert between all common weight and volume units automatically. Additionally you can add custom conversions to convert from weight to volume (as that is specific for each food) and from any unit special to you (e.g. you grandmas favorite cup, ...) to any other unit.

https://preview.redd.it/5x683sksxd7b1.png?width=631&format=png&auto=webp&v=enabled&s=53ea35845b1a4ad343a3f8d1e34ab5f6042820bf

With each API request every possible conversion will be returned. This allows for features like Food Properties described below but later on also for shopping lists and whatever else we might think of.

# Food and Recipe Properties

Every recipe app can track Nutritions, but why stop there? After building the most powerful unit conversion framework I know of in any recipe manager I added the general purpose Food/Recipe Property.

https://preview.redd.it/lx7av2j0wd7b1.png?width=1130&format=png&auto=webp&v=enabled&s=a212fdf2f614aee669d3431e740131329c1704dd

Each space can define its own set of properties and assign values for these properties either to recipes or even cooler to certain amounts of food. Using the unit conversion backend tandoor is then able to calculate the total value for each property for a given recipe or any portion of that recipe, scaling as you scale up or down your total servings.

https://preview.redd.it/olgpo686wd7b1.png?width=831&format=png&auto=webp&v=enabled&s=c3ae0b1671c89bc30df773765f4f040b2ff5e61d

This way you can not only track the usual calories, fats and carbohydrates but whatever property you want like all the vitamins, weight watcher points, prices, allergens or nutritional goals. For the future I plan on adding custom display logic (colors, scales, images) for each property depending on its value, formula based calculations and much more. It is also planned to integrate the properties into the meal plan to get a property based view of what you have planned for your week to see total prices or nutritional information.

# Tandoor Open Data Project

Now you might think that its going to be quit a bit of work to add all those unit conversions and food properties to Tandoor yourself and you are correct.

To help you get started we founded the Tandoor Open Data Project wich can be found on GitHub. Here everyone from the community can enter structured data about different foods, conversions and even stores. This data can then be imported into your Tandoor space and used in recipes.

​

https://preview.redd.it/c66zv6j8wd7b1.png?width=2560&format=png&auto=webp&v=enabled&s=06dae0533c3f628f3ec0c31f5bfa0f9a80850fc1

As this project is only a few weeks old we are still searching for active helpers building out this database for everyone to use (even independently from Tandoor).

We also tried using open Databases already available for this but decided to go for this approach in the end for a variety of reasons. If you want to understand more about whats going on or get involved further don't hesitate to join the dedicated discord

Читать полностью…

r/SelfHosted

Anyone go nuts trying to self host everything?

I assume that I can't be the first person to go through this, but a few months ago I began learning the concepts of containerization kind of inadvertently in an AWS class I was taking. A few weeks later, a friend kind of said in passing that they were using the starr apps on their own nas (not even on containers). Looking at tutorials on the best way to self-host these apps, I realized that maybe containerization was the way to go. After spending a lot of sweat getting them to work. The concept really blew my mind with the possibilities.

Cut to now, where if there's anything I want to use, I immediately see if there's a FOSS option out there I could self host. The funny thing is, I have a Macbook Pro with Apple Silicon, and there's a ton of web apps that are basically free that can do a lot of this stuff. Why am I trying to figure out hosting DBeaver on a container on my raspberry pi 4, except to see if I can?

I assume this is something people go through and eventually they hit a plateau, but I'm wondering about others' experiences, and seeing if there's any sort of rule of thumb of self hosting versus other options out there that people use.

https://redd.it/14endwp
@r_SelfHosted

Читать полностью…

r/SelfHosted

anyone else have hardware that looks awful but functions fine? my new NVR is exactly that
https://redd.it/14efbcq
@r_SelfHosted

Читать полностью…

r/SelfHosted

Digger - an open source alternative to Terraform Enterprise, now has RBAC enabled using Open Policy Agent.

Digger’s Open Policy Agent (OPA) integration for role based access control that we shipped last week extends Digger's existing capabilities by enabling you to define custom policies for fine-grained control over who can do what within your infrastructure.

This feature was highly requested by users as it makes it easier to enforce compliance requirements, implement security best practices, and maintain a well-governed infrastructure environment with granular control.

Check the demo out here

https://redd.it/14dgunu
@r_SelfHosted

Читать полностью…

r/SelfHosted

If I only have an IPv6 and a domain, can I use cloudflare to have it show up to IPv4 clients?

Edit: yea downvote me for trying to learn.


So nothing important, not even a personal project... just learning by trying.

* I only have IPv6
* Linux server
* Domain
* Cloudflare free account
* Domain pointing to and using cloudflare's nameservers

how do i go about having the domain and service available when an IPv4 only client connects?

I browsed the sub a bit and got even more confused...
create a AAA record and point it to my IPv6 address?

another question, if later i get an IPv4 address, would it be a simple process to just switch everything to be direct IPv4 as if i'm starting from the beginning without losing whatever website and stuff i had with cloudflare and IPv6 only?

https://redd.it/14d16lt
@r_SelfHosted

Читать полностью…

r/SelfHosted

What self hosted app do you wish existed?

Anything obviously missing,anything just to scratch an itch? What do you wish existed.

https://redd.it/14cr5aq
@r_SelfHosted

Читать полностью…

r/SelfHosted

The Subreddit Will Go On - The Community Must Be Put First

### Hey /r/selfhosted

The community has been split on what's next for /r/selfhosted.

For every good idea on how to replace/move/handle Reddit and its community of devoted users, there are just as many people for it as there are against it.

I had plans to put up a poll, but enough dissonance and fracturing has been clearly made apparent through just comments and what discussion has been had here and on the discord channel that there's only one way to move forward.

### The Show Must Go On

The moderator team here is a team of Reddit Moderators, and that is what we will continue to be. The community was right, and we have no right as the stewards of this community to withhold its function from its users.

We tried. We really, really tried, but it's time to move on and continue our efforts.

For those of you who wish to move to other platforms, we wish you the best of luck!

As of now, the subreddit has been re-opened and will continue to remain so for the foreseeable future.

### External Communities And Resources

I will link here a series of non-Reddit communities as a starting point for those wishing to leave Reddit and find new homes. We wish you all the best!

If you know of a community that is a good fit here, please comment and I will add it here.

The Official [Discord Server](https://discord.gg/UrZKzYZfcS)
The Official Matrix Server
Lemmy.ML [SelfHosted Lemmy](https://lemmy.ml/c/selfhost)
Homelab Forum - Curated by /u/caponate

I am sorry, /r/selfhosted. We really, really did try.

https://redd.it/14cqjeb
@r_SelfHosted

Читать полностью…

r/SelfHosted

MSI laptop as NAS

Hello everyone!

I have been wanting to have a NAS for a while now, mainly for two reasons, and potentially a third one.

1. I want to set up my Adguard Home and be able to use it on all the devices in my house and my Android devices when I'm away (if possible through PrivateDNS).
2. I want to set up Plex (to avoid continuing with my precarious way of consuming media through portable drives).
3. If possible, I would like to use it as an alternative to Dropbox (Nextcloud).

Instead of buying specialized software, since I'm buying a new laptop now, I wanted to use this old one (2017), which, in my opinion, is more than capable:

**https://www.msi.com/Laptop/GP72-6QF-Leopard-Pro/Specification** With the following modifications: 32 GB RAM, 1 TB SSD, 1 TB HDD (I plan to buy a 5 TB HDD).

I know it's generally discouraged to use laptops as NAS (they are not designed for it), but I don't see the point in spending more money when I have these quite acceptable specs. So, I have a couple of questions for anyone kind enough to take the time to answer me.

1. Do you see it as a bad idea?
2. What OS do you recommend I install? I was thinking of Ubuntu Server 22.04, but on second thought, I could install a version with a desktop environment. What do you think? The idea would still be to access it via SSH from another PC running Kubuntu, but it's nice to have the option. I'm quite a novice with the command line, so I like having alternatives. What issues could I encounter if I install a desktop version of Ubuntu and use it as a server? Does it consume many resources?
3. Any security advice? I don't plan on installing any apps other than the ones I already mentioned, and I'm afraid of receiving DDoS attacks due to my inexperience in setting something up incorrectly.

Thank you very much to this fantastic community in advance!

https://redd.it/146vcn1
@r_SelfHosted

Читать полностью…

r/SelfHosted

Transmission keeps throwing Input/output error

Hi everyone I'm not sure if this is the right sub to post to but I've beaten my head trying to figure out what's wrong with my setup. I'm currently using a Raspberry Pi 3B+ which I'm using as a seedbox. I have attached an external hdd mounted to '/media/pidrive' by following this guide. I then installed Transmission on the pi using this guide. I have kept the folder names for inprogress and completed directories the same as shown in the guide for ease of purposes. However in the 'Configureing the Transmission Software' after Step 3, I added the commands 'sudo chmod 777 -R /media/pidrive/torrent-complete' and ' 'sudo chmod 777 -R /media/pidrive/torrent-inprogress' in hopes that might solve the issue as said here by one redditor. I have also set up ngrok too, to access the web ui outside of my home network. However whenever I add a toorent after a few minutes it gives me the error 'Error: Input/output error (/media/pidrive/torrent-complete/name-of-file-being-downloaded)'. I checked the download path in the transmission settings and it is pointing to /media/pidrive/torrent-complete for completed torrents and /media/pidrive/torrent-inprogress for incomplete ones. If anyone can help me with this, I'll be relieved.

https://redd.it/146wltm
@r_SelfHosted

Читать полностью…

r/SelfHosted

JWT to basic auth reverse proxy?

Hi, I'm setting a unique login system with Pomerium, however, none of my apps accept JWT, any of you know any service that takes a JWT, and given the email there (and passwords stored somewhere) make a basic auth header? That way I wouldn't ave to login twice, and that would be pretty cool.

https://redd.it/146yaqu
@r_SelfHosted

Читать полностью…

r/SelfHosted

Dual reverse proxy with Immich

Hello. Lately i've been deploying Immich with Traefik on top of it and Keycloak for authentication. I solved all issues until now. The problem here is the dual proxy setup. As Immich docs tells me, i can add custom reverse proxy on top of immich's nginx proxy. There was no issue with it until i want to implement Keycloak to this setup.

I quickly set up new realm and client in Keycloak, filled up all the required fields on both sides (Keycloak and Immich) and it turned into this error inside immich-server container:

Nest 1 - 06/11/2023, 2:19:46 PM ERROR ExceptionsHandler getaddrinfo ENOTFOUND keycloak.local.dashrave.eu
Error: getaddrinfo ENOTFOUND keycloak.local.dashrave.eu
at GetAddrInfoReqWrap.onlookup as oncomplete (node:dns:107:26)

It looks like Immich server can't resolve keycloak.local.dashrave.eu domain. On keycloak's end there isn't any mark of any action so immich server clearly can't get to the keycloak. And here's the issue with double proxy setup. If i directly connect immich-server container to the proxy network (made by Traefik) keycloak hostname with it's port can be resolved by Immich.

Did someone have issue like this? If so, how did you solve it? I might need to edit the nginx immich proxy in order to make it work.

PS: In case of need to see any configuration, i will provide of course.

PS2: I did a more detailed description of the issue here

https://redd.it/146zp74
@r_SelfHosted

Читать полностью…

r/SelfHosted

Best way to sync folders to a central server?

I've got a NAS (raspi), and some folders I want mirrored across all my devices using said server. Is there any program that just does that? I tried syncthing, but I couldn't figure out the installation process, it seems to be mainly meant for end devices, not a headless server, so it doesn't work for my purposes.

https://redd.it/1477cia
@r_SelfHosted

Читать полностью…

r/SelfHosted

Anything like ChatGPT that we can run ourself where we train with with our own data, so we can use it as personal assistant, where it only knows about oneself better than themselves ?



https://redd.it/1478vk6
@r_SelfHosted

Читать полностью…

r/SelfHosted

Apple Notes - self hosted alternative?

Hi guys,

I’m currently using Nextcloud Notes, served from a Proxmox VM and access it both from my Mac and iPhone. Everything “works”, yet it feels a bit clunky and slow compared to native Apple Notes.

Are there any recommendations for a better solution in June 2023?

The requirement would, obviously, be a self hosted solution which, as a bonus, doesn’t require any SQL database for storage and comes with both iOS and Mac clients.

Am I asking too much? :)

https://redd.it/1478cw1
@r_SelfHosted

Читать полностью…

r/SelfHosted

How to Selfhost Signal Server?

I need help building Signal Server v9.

I am currently building the latest version (v9.89.0) from the GitHub repository but facing some issue.
These are the steps i follow.

git clone https://github.com/signalapp/Signal-Server.git

cd Signal-Server

mvn clean install -DskipTests -Pexclude-abusive-message-filter

java -jar service/target/TextSecureServer-*.jar server service/config/sample.yml

Error: no main manifest attribute, in service/target/TextSecureServer-9.89.0.jar

I am unable to find any guide corresponding to this version. Is there anyone who can help me with this?.

https://redd.it/1472smn
@r_SelfHosted

Читать полностью…

r/SelfHosted

The latest umbrelOS release brings a redesigned app store for self-hosted apps
https://redd.it/14f8bk7
@r_SelfHosted

Читать полностью…

r/SelfHosted

Medusa Recap: What we shipped in the past 10 weeks to our Node.js commerce SDK

Hi all,

Nick, co-founder of Medusa, here. As per tradition now, we love to share the progress we make on our open-source commerce SDK with this amazing community. Always keen to hear your feedback!

We started Medusa with the aim of providing the right tools and foundation for developers to build custom commerce applications. We do this by bundling core commerce logic into modules that are customizable and portable into new, modern environments.

With our latest release, we are taking another important step in this direction. You can get a full overview at medusajs.com/recap, but otherwise, here is a short summary below:

Our New Product Module which brings our commerce logic closer to frontend frameworks, so you no longer have to switch contexts between your storefront and backend codebases when building customizations. The Product Module enables developers to access products, variants, categories, and more through a standalone package that can be installed and run in Next.js functions and other Node.js-compatible runtimes.

You can check out our Next.js demo of how this can be used to create, for instance, real-time personalized in-store experiences.

Admin Widget and UI Routes, which makes it easier to build extensions to your Medusa Admin UI. The new Extensions API allows you to customize your merchant experience without compromising the maintainability of your Admin. The extensions can be shipped as part of your own project or through a plugin.

Reservation Management, which gives you a better overview and control of product inventory and allows you to manage Reservations across multiple stock locations. These improvements simultaneously add a powerful new primitive to create omnichannel experiences.

We also built a demo to show how you can use Reservations to create a reserve-online-try-in-store experience for customers.

\----------

Would love to hear your feedback on what you think about our releases and what you'd hope to see more of in the future from our side.

Once again, thanks to this community for all the support since we first launched this project!

https://redd.it/14em1g0
@r_SelfHosted

Читать полностью…

r/SelfHosted

Budibase, a GUI for building apps on top of SQL, REST, Google Sheets, and open-source alternative to Airtable and Retool, now ships with a 👥 Multiplayer Collaboration, 🤖 Autocomplete Bindings, 🔄 and Synchronous Automations.
https://redd.it/14eaxc8
@r_SelfHosted

Читать полностью…

r/SelfHosted

Just released Baserow 1.18 with a Count field, Rollup field, improved pasting capabilities, and more! — open source Airtable alternative.

We are excited to announce the release of Baserow 1.18, which includes many community-awaited features such as the count field, rollup field, improved pasting capabilities and more.

More information at: https://baserow.io/blog/1-18-release-of-baserow.

Do you have ideas for how can we improve Baserow? Many features, just like the ones you use, come directly from community feedback. Drop us a note at the forum or tweet us to share your thoughts.

Hot discussions: Add your ideas to this thread on what to include to ensure Baserow newcomers have a smooth onboarding experience.

Try out Baserow 1.18 at: https://baserow.io.

GitLab repository: https://gitlab.com/baserow/baserow.

Our community: https://community.baserow.io/.

https://redd.it/14d9f0i
@r_SelfHosted

Читать полностью…

r/SelfHosted

Ansible Playbooks to Setup a Home Server

Hi everyone,

I have put together a set of playbooks to automate setting up your own server (hopefully somewhat beginner friendly). It uses docker to containerize applications and Traefik as the reverse proxy.

https://github.com/nickjg1/homeserver-ansible

Much of this was my first exposure to self-hosting and Ansible, so any feedback is welcome! Please feel free to message me if you need help. Thanks!

https://redd.it/14cyu7n
@r_SelfHosted

Читать полностью…

r/SelfHosted

We’re back and…
https://i.imgur.com/7aMognD.jpg

https://redd.it/14cqs63
@r_SelfHosted

Читать полностью…

r/SelfHosted

What OSS does companies use to create their own Sandboxed Environments?

I've come across several companies having their own sandbox environments for learning things without the fear of runaway costs and maintenance. I'm referring to sandboxes like killerkoda.

If I want to setup one of my own, where would I start? It's mostly for homelabbing. So I assume there would be something that's open source.

Would you folks happen to know any?

https://redd.it/146v8uq
@r_SelfHosted

Читать полностью…

r/SelfHosted

Web-based knowledge management software recommendation?

I found Affine, but it's still missing some features. I want it to be web-based so I don't have to care about sync and installing software. What knowledge management software are you guys using?

https://redd.it/146qxw6
@r_SelfHosted

Читать полностью…

r/SelfHosted

Network problems with Nginx/Traefik as Reverse Proxies

Hello, has anyone ever set up Traefik or Nginx as a reverse proxy? I'm trying to set this up in my home network to access different servers, but with both I have the problem that I can't access my subdomains, i can access my domain mydomain.ddns.org (that leads to my home ip adress), but not vpn.mydomain.ddns.org. And only the base domain comes up in the nginx logs.

I guess it has more to do with my router settings, but I don't know where.

So far I only forward port 80 to the reverse proxy server.
Has anyone ever had this Problem?

This is my Nginx config file:

events {
workerconnections 1024; ## Default: 1024
}

http {
server {
listen 80;
server
name mydomain.ddns.net;

location / {
proxypass http://172.16.2.108:81;
}
}

server {
listen 80;
server
name www.mydomain.ddns.net;

location / {
proxypass http://172.16.2.108:81;
}
}

server {
listen 80;
server
name vpn.mydomain.ddns.net;

location / {
proxypass http://172.16.2.108:82;
proxy
sslservername on;
}
}
}

https://redd.it/146xjm7
@r_SelfHosted

Читать полностью…

r/SelfHosted

wger docker help please - Pastebin.com

This is my WGER docker run file I am using. I get a host of errors when running. Any ideas to correct would be greatly appreciated. See Pastebin link for docker errors.

https://pastebin.com/vJYLpiPm

docker run -ti \\

\-v /share/Container/wger/checkout:/home/wger/src \\

\--name wger.devel \\

\--publish 8123:8000 wger/server

https://redd.it/1474082
@r_SelfHosted

Читать полностью…

r/SelfHosted

Anyone selfhosting a gemini server here?

Just curious, would love to get to know about your site!

https://redd.it/1470rpf
@r_SelfHosted

Читать полностью…

r/SelfHosted

One last quickie before the blackout: Configuration tool for bare metal homebrew NAS?

I did a project like this once, many moons ago, using LDAP and Webmin, and I know I can pretty much redo it the same way again if I need to. Mostly, I'm wondering if there's something more elegant available now, without having to go to stuff like TrueNAS or Unraid which go way beyond what I need. I literally just want to make a bunch of drives available to the network in the simple old ways. I don't need to run any services (other than for ssh and the UIs, obviously) or docker daemons on it.

Just need access controlled SMB and/or NFS shares for internal use, like if I were able to buy an 8-bay dumb NAS for cheap.

https://redd.it/1479ffu
@r_SelfHosted

Читать полностью…

r/SelfHosted

After the Dark - Beyond the Blackout and Next Steps

I wish I had more time to go into more in-depth, granular details here. Unfortunately, the necessity for a post of this nature preceded my freedom of time to more thoroughly address this and beyond.

but y'all know what is going on, and if you don't, at least take a look at the last post where we announced we were going dark to gain some insight on what this post is relating to, if you happen to have been out of the loop for long enough time for this information to be new to you.

### Subreddit To Remain Restricted

There's just too much valuable content on this subreddit to remove it permanently from view. It will, however, be locked for the foreseeable future, only allowing moderators to post. Essentially, the subreddit is being archived.

### Chat about Next Steps
Since we dont' want to stop creating content, there is an active chat in our newly-created Matrix || Discord channel (Will link below) titled After the Dark, to discuss where and how this community will continue sharing content.

Much discussion has been had already in the 24 hours it's been live, and we are far from finding a solution, whatever that ends up looking like.

Join the Discord: https://discord.gg/gHuGQC7sP7

Or Join the Matrix Server/Channel: https://matrix.to/#/#after-the-dark:selfhosted.chat

We are still discussing options moving forward, and will continue to do so until a good option is settled on.

So far, the options, in no particular order of preference or weight, looks something like this:

Lemmy Instance - Selfhosted and managed by Mods
Lemmy Instance - We joined an established one
kbin Instance - similar options to above
Stack Exchange Network Site - not 100% possible, and isn't exactly fully a replacement
Old-School Forum - Functional, but...well, it's a forum...
Discourse - Probably the best option as of yet, but still not exactly a full-fledged replacement.

Come chat. Or, look for a future update as we ultimately come to a conclusion as this month comes to a close and the API Changes ruin reddit forever.

As always,

happy (self)hosting!

https://redd.it/14ba2a6
@r_SelfHosted

Читать полностью…

r/SelfHosted

Exposing Navidrome to the web

I recently set up Navidrome on a Debian thin client with my music files stored on a USB SSD. Now, I'm looking to access it remotely, such as in my car, and I'm a bit overwhelmed by the options and potential risks. I've come across VPNs, nginx reverse proxies, cloudflare tunnels, and port forwarding. I wanted to ask the community for advice on the safest and most accessible method for a beginner. Ideally, I'm looking for a free or low-cost solution.

TL;DR: I have Navidrome running on a Debian thin client with music files on a USB SSD. Want to access it remotely (e.g., in my car) but unsure about the safest and beginner-friendly method. Seeking advice on free/affordable options.

https://redd.it/1470eta
@r_SelfHosted

Читать полностью…

r/SelfHosted

I finally finished configuring my new homepage, what do you think?
https://redd.it/1473bc3
@r_SelfHosted

Читать полностью…
Subscribe to a channel