1
42
submitted 2 years ago* (last edited 2 years ago) by Zoe8338@lemmy.ml to c/selfhost@lemmy.ml
2
4

cross-posted from: https://reddthat.com/post/71512059

I'm planning to self-host a 24/7 radio show and need some architecture advice.

The vision:

  • Monitor my RSS feeds and social media posts, then turn them into spoken-word segments.
  • Follow a fixed daily schedule (e.g., news at 8 AM, sports/tech at 9 AM, music blocks, etc.).
  • Serve the stream via a web player on my site.
  • Keep audio files on disk for three days so I can catch up on anything I missed after airing, with the option to choose playback speed.

The confusion:
Are any of the tools I'm considering actually suitable for audio streaming and playlist management? Or am I approaching this the wrong way?

Current thinking:

  • Use radio-dj or SUB/WAVE as the broadcast engine.
  • Use Piper TTS for speech synthesis.
  • Use Cron for scheduling.
  • Write a custom Python script with Ollama (local) for content generation, in case I want an AI "host" to create a continuous flow from all the disparate sources.

Has anyone built something similar? What framework would you recommend? Am I overlooking a dedicated FOSS radio automation tool that already does this?

Thanks in advance!

3
6

Crosspost of [my post in !selfhosted@lemmy.world](https://lemmy.world/post/50560671).

Every time someone asks "will this run on a 1 GB VPS?" the answer is a guess, or a vendor minimum that was written to be safe rather than accurate. So I measured it.

Same box, same method, every app: install, start it, let it settle for 60s at idle with no clients connected, then sum the RSS of the whole process tree. No Docker overhead in the numbers — these are the apps themselves.

App Idle RSS Version
File Browser 16 MB 2.31.2
Gotify 20 MB 2.6.1
ntfy 27 MB 2.11.0
PocketBase 31 MB 0.22.21
Beszel 39 MB 0.9.1
Caddy 40 MB 2.8.4
Navidrome 47 MB 0.63.2
Syncthing 57 MB 2.1.3
Prometheus 70 MB 2.53.2
MinIO 132 MB 2024 release
Uptime Kuma 136 MB 2.5.0
Gitea 158 MB 1.24.4
Grafana 172 MB 11.2.0
Forgejo 173 MB 7.0.9
Prowlarr 188 MB 2.5.2.5491
code-server 191 MB 4.131.0
Lidarr 191 MB 3.1.0.4875
Radarr 192 MB 6.3.0.10514
Sonarr 193 MB 4.0.19.2979

Things I did not expect:

  • *The \arr apps are all the same size. Sonarr, Radarr, Lidarr and Prowlarr land within 5 MB of each other (188–193 MB). That is not a coincidence and it is not the app — it is the .NET runtime setting the floor. Which also means the folklore of "budget ~2 GB for an \*arr stack" is roughly right, and I say that as someone who started this expecting to debunk it.
  • Go binaries are absurdly cheap. File Browser, Gotify, ntfy, PocketBase, Caddy and Navidrome together idle at about 181 MB — less than one Sonarr.
  • Grafana's 512 MB minimum is honest. At 172 MB idle it has real headroom needs once dashboards start querying. Not every vendor minimum is padding.
  • Node apps cost you. Uptime Kuma at 136 MB is ~8x File Browser for a job that is not 8x harder.

Caveats, because they matter: this is idle RSS, not what you need under load. Databases, media transcoding and indexing all blow past these numbers. Treat it as the floor, not the budget. My own rule of thumb from this: sum the idle figures, add ~300 MB for the OS, then add 30% headroom — that has matched what actually fits so far.

Raw data is free under CC BY 4.0 (CSV and JSON), plus per-app pages with the exact commands used so you can reproduce or dispute any number:

https://smeltworks.com/smallserver/

CSV direct: https://smeltworks.com/smallserver/smallserver-dataset.csv

Happy to take corrections — if a number looks wrong for your setup I would rather fix it than defend it. Also taking requests for what to measure next; Jellyfin and Immich are the two I keep getting asked for.

4
3

cross-posted from: https://scribe.disroot.org/post/10609833

Hello all,

Hubzilla version 11.4 was released recently, now has a new docker image built and should be ready for use.

On a technical note, if your setup involves connection pooling regarding your database, you will need to set system.pdo_emulate_prepares to true within your htconfig.php. The 11.4 release of the docker image, has the appropriate line in the htconfig.php commented out, for your convenience; naturally if you edit your htconfig in other ways (CLI, etc) that will still work, as well. Whichever way you choose to deploy your instance, you have options available to you.

If you are unsure about connection pooling, techbuzz has a great article on the subject, that you can access via the link at the end of this post.

Special thanks to the Hubzilla devs, and contributors for their ongoing work.

You can find their work at: https://framagit.org/hubzilla/core

Please review the new release at: https://framagit.org/hubzilla/core/-/releases

And lastly, within the next hour or so, the docker image will be ready to go at: https://hub.docker.com/r/dhitchenor/hubzilla

I hope this finds you all well; please stay safe.

EDIT: Here is the TechBuzz Online article that I mentioned earlier https://techbuzzonline.com/database-connection-pooling-guide/

5
4
submitted 1 week ago by businessfish to c/selfhost@lemmy.ml

I have a Terramaster F6-424 and the vendor site says that the machine can support up to 32gb of RAM. I am running TrueNAS on it.

I have tried 4 different 32gb DDR5 sticks and the machine refuses to POST (or whatever the beep is when it turns on). The latest one I tried I chose specifically because it said it supported my exact machine, despite the price. I don't know if I'm just missing some specific spec on the memory that makes all 4 of the sticks I've tried incompatible with the F6-424, but at this point I'm doubting Terramaster's claim of supporting up to 32gb.

I wanted to post here and ask if anyone has succeeded in upgrading/replacing the RAM in a Terramaster NAS before I return this last one and try a 16gb stick.

Is there something I'm missing here? Does running TrueNAS instead of TOS matter? Has anyone had success with any specific RAM model with this setup?

6
3
submitted 3 weeks ago by r1ck@sh.itjust.works to c/selfhost@lemmy.ml

Hey all, I'm Rick — presenting texttotalk.org v0.3.

Some of you, especially from 4chan, might already know about it. If you haven't heard of it: it's basically an anonymous imageboard-style community, minus a lot of the usual moderation.

What is texttotalk? A text-only board that combines 4chan-style open/custom boards with Reddit-style community structure and moderation tools.

Why text-only? Simple: no images means no image-based moderation headaches, and it gives the board a distinct identity that's different from every other imageboard clone out there.

Why Windows 7 theme? Because I think retro UI is fun and nobody else is doing it. It's a nice break from every board looking like Reddit or Discord.

How it's built: Pure PHP + MySQL. I built it with a lot of AI assistance (Claude, ChatGPT, DeepSeek, others) — I'm upfront about that. If you've got opinions on AI-assisted coding, I'm happy to hear them, but the site works and it's genuinely mine in terms of design and iteration.

Who's it for? Anyone who wants a lighter-moderation alternative to the big platforms, wants to run their own board/community, or just likes messing around on something different.

Come check it out, join a board, make your own. Feedback welcome.

7
8

cross-posted from: https://sh.itjust.works/post/63691946

Looking for advice on setting up a new whole home network and the direction to take of MoCA over existing cabling vs running new Ethernet Cat6A:

Recently in a new space that has an existing HomeConnect CSMAPDU9VPI with coax cables run throughout the home, which seems like a great candidate to just use MoCA and get up and running faster:

But I am also interested in "future proofing" the network setup and replacing the coax cables that are already run with Cat6A Ethernet, all connecting to a central 10G switch / homelab setup.

Is it worth the effort to re-run all of the cables and swap out the wall plates or just go with the simple thing an run with a MoCA setup? I'd really prefer to not spend on one setup with the plan to update in the future, but maybe that's the compromise solution to get setup and running sooner.

The CSMAPDU9VPI is currently completely isolated from the cable line to the modem (picture above is old and shows a cable connected to the IN port, this cable is no longer connected) so I don't think I have to worry about interference with my DOCSIS 3.1 service / modem.

8
3
submitted 1 month ago* (last edited 1 month ago) by Starkon@lemmy.ml to c/selfhost@lemmy.ml

Hey! I have a VPS with 4GB and noticed that authentik, my identity provider is eating up a big chunk of it (1.2GiB on average) limiting how many services I can run on my server. I've been considering migrating to a more lightweight identity provider as authentik feels bloated for my use case (I have hardly 5 users and don't need all these enterprise features). I'm mainly looking for an identity provider that:

  • has good documentation
  • supports OAuth2
  • supports user creation through invites/registration links
  • supports password and 2FA login
  • lower RAM footprint

What are your recommendations? Thank you!

9
3
submitted 1 month ago by Shin@piefed.social to c/selfhost@lemmy.ml

Hey self-hosted folks, this is my review after playtesting my little card game table, I did wrote a few weeks about it, if you want to grab and put on your server.

This is more connected to the learnings, what went wrong and the ugly parts of it.

All comments, feedback is appreciated.

10
3
submitted 1 month ago* (last edited 1 month ago) by Feddinat0r@feddit.org to c/selfhost@lemmy.ml

Hello everyone,

i need your help because i am a little bit overwhelmed and dont know the "right" or "best" way to handle this.

I listened a lot over spotify premium the last years and i have a main Playlist with around 1000 songs which i like or sometimes like.

Now i can selfhost with a ugreen nas, and running already some things there.

I also discovered my old music library with around 14000 songs and some live sets.

Now my main task is:

  • organize that existing Music library (picard)
  • sync with my DAP SD Card (Hiby R1)
  • delete stuff i really dont want to hear anymore (mostly on the DAP)
  • get the music i like in better quality
  • rebuild that master spotify playlist

What have i done so far?

  • synthing with sd card wont really work :/ i have to battle that alone, will work somehow
  • deleting stuff on the DAP but that seems like a job for oncoming years
  • got the spotify playlists as plain text files
  • cancelled spotify premium
  • picarded the collection
  • have jellyfin on the server with access to the music library.

The most important part for me would be to rebuild the spotify playlist by getting those songs, and then, getting existing songs from the library as FLAC

A big must have for android apps, if you recommend one: it must have the feature to delete a file

I hope you could give me some directions :)

11
31
submitted 1 month ago by opennomad@lemmy.ml to c/selfhost@lemmy.ml

I'm quite happy with my #forgejo replacement for #github. i was missing dependabot enforced correctness and installed a Renovate container. IMO it's an improvement over the github approach. love it.

#SelfHosting #DigitalSovereignty #Homelab #OwnYourData

https://github.com/renovatebot/renovate

12
5
submitted 1 month ago* (last edited 1 month ago) by Shin@piefed.social to c/selfhost@lemmy.ml

I've rewrote the post to be "more pleasant" to read. Sorry for the unhinged original post.

This is my idea, pick something like the FreeBeeGee and make it for Card Games. This is the devlop with some high level concept.

Feedback is welcome. Playtest too. I'll be using this with my friends (reason for why I'm building this). I'll be fixing for the stuff that I need, but if there is some screaming bug, I would fix it.

Thanks for the reading, and any feedback.

13
23
submitted 1 month ago* (last edited 1 month ago) by cedric@lemmy.ml to c/selfhost@lemmy.ml
14
1
#SoftwareBluePrint (swiss.social)
submitted 1 month ago* (last edited 1 month ago) by MicKet@swiss.social to c/selfhost@lemmy.ml

#SoftwareBluePrint

System Administrator Password Management.

A Linux API that fully handles authenticated access for applications.

No more secrets files in bash or Docker-compose files, and it replaces systemd-secrets. In any case, the API ensures that two applications can communicate with each other in an authenticated manner without having to deal with these secrets.
Nevertheless, an authenticated admin can still retrieve this data for backup or emergency cases.

@selfhost #Kernel

15
13

Conducting deep web searches and gathering sources is one of the main things I've been using LLMs for. How far away are we from being able to self-host something like Claude's web search capabilities? Or even just a service where I'd pay with my money instead of my data?

16
17
navidrome <--> subsonic? (lemmy.dbzer0.com)

A while ago, I saw people suggesting Navidrome for self hosted music streaming.

I don't understand what's the relationship between Subsonic and Navidrome. Navidrome makes some use of Subsonic API. What does that mean?

Subsonic looks like a proprietary software. How does Navidrome, an open source (MIT) package, use their API? Is the API licensed for this?

Do I expect any Subsonic app to work perfectly with Navidrome? Or is it partial inter-compatibility?

Extra questions:

  • Recommended android app? I would like to have good offline support to select and sync music that will then be available on my phone without network

  • Podcast/audiobook support? Am currently using audiobookshelf, is this compatible at all? Not sure if any benefit even if theoretically possible.

17
2
#SoftwareBluePrint (swiss.social)
submitted 2 months ago* (last edited 1 month ago) by MicKet@swiss.social to c/selfhost@lemmy.ml

#SoftwareBluePrint
I wish for a Communication proxy that manage several communication channels by given rules

- Input:
eMail1, eMail2, Matrix1, Signal, RSS, Mastodon PM, CalDAV
- Work to-do:
filter, tagging every message and redirect if needed.
- Output:
local Mail and Matrix server

Example:
Collect the communication handles per person in CardDAV
Redirect eMail-Newsletter, forum-notification to certain Matrix channel.
Redirect messages of certain user to Mail

@selfhost #selfhosting

18
12
submitted 2 months ago by anzo@programming.dev to c/selfhost@lemmy.ml

cross-posted from: https://programming.dev/post/51407459

Check what can you use and at what rate of token per seconds would it be... It has examples of many models and quantization levels. Huge resource!

19
9
submitted 2 months ago* (last edited 2 months ago) by laserjet@lemmy.dbzer0.com to c/selfhost@lemmy.ml

How do I set jellyfin to stop playing TV shows after a while? Like a "sleep" function.

Tried creating a playlist with only limited number of episodes but it just keeps playing other episodes of same show.

Settings > Playback > Play next episode automatically is UNchecked.

Using the Jellyfin official app on android phone. Don't mind using a different client, especially if it's available from f-droid.

Is there a separate android app? (Halt any playing media + turn off screen on a timer.) When watching on TV set, there is a feature that does this.

20
6
submitted 2 months ago* (last edited 2 months ago) by basiliscos2@lemmy.ml to c/selfhost@lemmy.ml

I'm glad to announce v0.4.5 release!

Syncspirit is continuous peer-to-peer realtime syncrhonization tool. It implements BEP protocol and provides seamless interoperability with existing syncthing nodes and clients.

https://raw.githubusercontent.com/basiliscos/syncspirit/refs/heads/master/docs/fltk-overview.gif

You can download ready-to-use binaries for Linux x86_64 (AppImage), Windows 32 bit (WindowsXP is supported), Windows 64 bit and Mac OS X (Apple silicon).

Notable changes:

  • [core] monitor local filesystem changes in realtime and propagate updates across the cluster (inotify/ReadDirectoryChangesW/kqueue)
  • [core] allow arbitrary subfolder rescan
  • [core] do not accept files with non-valid utf8 filenames
  • [ci/cd] use https://sourcecraft.dev/ infrastructure for building
  • [core] bugfixes

Syncspirt source code uses GPLv3 license.

Any feedback is welcome!

WBR, basiliscos.

21
4
submitted 2 months ago by kiol@discuss.online to c/selfhost@lemmy.ml

cross-posted from: https://discuss.online/post/40076349

My thought is to use 3 VPS I already have as a small cluster... 2gb, 2gb, and 8gb running Debian 13. Traffic to Pangolin (Traefik + Wireguard) on all three, to serve Castopod for podcasting, whose media is served from garage S3 across all nodes. Authentication from Authentik + LLDAP, with plan for adding additional services once the base setup is solid. Thoughts and suggestions appreciated!

  +---------------+
  |  Internet    |
  +---------------+
           |
           |
           v
  +---------------+
  |  Load Balancer  |
  |  (Pangolin)    |
  +---------------+
           |
           |
           v
  +---------------+---------------+
  |         VPS 1  |         VPS 2  |         VPS 3  |
  +---------------+---------------+---------------+
  |  Castopod    |  Castopod       |  Garage S3     |
  |  Authentik   |  LLDAP         |  Authentik     |
  | Garage S3   | Garage S3   |  LLDAP         |
  +---------------+---------------+---------------+
22
14

Hi all! i finally come around publishing a small side project i am running at my home for the last few years. This past month i have revamped it by rewriting the C++ backend and improving the web UI (single page HTML+CSS+AlpineJS) for a broader public.

LazyNVR is a different take on hosting webcams and centralizing access to them. Instead of working on the cameras feed, which is CPU/GPU heavy and doesn't scale much, it relies on cameras on-board capabilities to detect motion and upload recorded videos to your own server.

If you own IP cameras from brands like Dahua, Reolink and many others, you can leverage their on board motion detection capabilities and off-load your server computational power using LazyNVR.

I have some 15 cameras and tools like Frigate or MotionEye just kill my server CPU, but all my cameras can detect motions and automatically record a video and upload it to my server using different protocols (like FTP, sftp, and such). So LazyNVR was born.

The server is written in C++ and basically detect incoming videos, recode (without re-encoding) them to an MP4 web streammable format, and store them well sorted. It will also keep your incoming folders clean and purge stored videos when they are too old. The server will also fetch and refresh still live images from the cameras.

The client is a WEB GUI, actually a single HTML file with CSS and some AlpineJS, which will show the still live images and the list of all the recorded videos letting you download or view them directly.

I am running over 15 cameras from my RaspPi with basically 0% CPU overhead.

I have published LazyNVR on Codeberg (here https://codeberg.org/LazyNVR/lazynvr-sources) because well, i think it's better than GitHub. And there is also a pretty lazy web site on https://www.lazynvr.it/ (which mostly redirect to Codeberg).

Currently there are docker images for AMD64 and ARM64, but it's pretty easy to compile directly, with the provided instructions in the Codeberg Wiki.

Please, feel free to try it!

Mandatory AI disclaimer: i don't use AI for coding. Zero code (C++ or Javscript) has been written by or with AI support in this project. I have used AI extensively for the CSS stuff that i hate, but reviewed and mostly edited it anyway. I have also used AI for research and to write the dockerfile faster, since i am no docker expert. I have personally written the dockerfile anyway, and personally tested as well. The logo has been created with AI, probably it shows.

23
5
submitted 3 months ago by ratatouille@feddit.org to c/selfhost@lemmy.ml

I work for a local club we have some rarly used Social Media accounts. But we have also the problem our head does work voluntary and some - like me and not only me - do not like facebook instagram or tiktok. But we have to work with these tools.

We need a selfhosting, web accessibility tool that allows a club to send posts to several social media services and allow also to manage comments social media independent.

In best case it made social media management that easy that I could get also a Fediverse account.

24
3
submitted 3 months ago by ray@lemmy.ml to c/selfhost@lemmy.ml

Pretty wild video about how LLMs can find vulnerabilities.

25
24
view more: next ›

Self Hosted - Self-hosting your services.

20616 readers
4 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules

Important

Cross-posting

If you see a rule-breaker please DM the mods!

founded 5 years ago
MODERATORS