• 0 Posts
  • 20 Comments
Joined 2 years ago
cake
Cake day: June 16th, 2023

help-circle

    • OS - - > Linux OpenSuSE with KDE

    • YouTube - - > Freetube - opensource, private YouTube client for Linux, MacOS and Windows

    • Downloading music/videos --> yt-dlp

    • Downloading videos/images --> gallery-dl

    • Email - - > Thunderbird (really moved forward in last few years)

    • Notes - - > Joplin

    Selfhosting (mine is on raspberry pi) :

    • Streaming library - Jellyfin

    • Photo library - imich

    • Downloads - qbittorrent, prowlaar, radaar, sonaar, lazy librarian in a docker stack with VPN

    • smart home - Homeassistant

    • filesync - - > Syncthing (I don’t have problems with long file names - maybe a Windows issue or Linux FS? I use EXT4 on all my devices and don’t use Windows anymore)


  • In terms of KDE dependencies, you’re talking basically about QT. The amount of packages you download shouldnt be too much and likely used for other QT programs which are common.

    However there is also GSconnect which is a Gnome extension and uses the KDE connect protocol.

    I would say that your concerns regarding the KDE Connect dependencies should be balanced against the good Android and iOS support, and the wide use of KDE connect means it is well maintained, supported and responsive to security updates. These considerations may outweigh the installation of packages that you otherwise won’t be using? It may be better to go mainstream and accept the dependencies than hunt down a lesser supported alternative and deal woth the associated shortcomings.


  • So in terms of hardware, I use a Raspberry Pi 5 to host my server stack, including Jellyfin with 4k content. I have a nvme module with a 500gb stick and an external HDD with 4tb of space via USB. The pi5 is headless and accessed directly via SSH or RDC.

    The Raspberry Pi 5 has H.265 hardware decoding and if you’re serving 1 video at a time to any 1 client you shouldn’t have any issues, including up to 4k. It will of course use resources to transcode if the client can’t support that content directly but the experience should be smooth for 1 user.

    For more clients it will depend on how much heavy lifting the clients do. I my case I have a mini PC plugged into my TV, I stream content from my pi5 to the mini PC and the mini PC is doing the heavy lifting in terms of decoding. The hardware on the pi5 is not; it just transfer the video and the client does the hard work. If all your clients are capable then such a set up would work with the pi5.

    An issue would come if you wanted to stream your content to multiple devices at the same time and the clients don’t directly support H.265 content. In that case, the pi5 would have to transcode the content to another format bit by but as it streams it to the client. It’d cope with 1 user for sure but I don’t know how many simultanous clients it could support at 1440p.

    The other consideration is what other tools are being use on the sever at the same time. Again for me I live alone so I’m generally the only user of my pi5 servers services. Many services are low powered but I do find things like importing a stack of PDFs into Paperless NGX is surprisingly CPU intense and in that case the device could struggle if also expected to transcode content.

    I think from what you describe the pi5 could work but you may also want to look at higher powered mini PC as your budget would allow that.

    For reference I use dietpi as the distro on my server, and I use a mix of dietpi packages (which are very well made for easy install and configuration) and docker. I am using quite a few docker stacks now due to the convenience of deploying. Dietpi is debian based, and has a focus on providing pre configured packages to make set up easy, but it is still a full debian system and anything can be deployed on it.

    Obviously the other consideration in the pi5 is an ARM device and a mini PC would be X86_64. But so far I’ve not found any tools or software I’ve wanted that aren’t compiled and available for the Pi5 either via dietpi or docker; ARM devices are popular in this realm. I have come across a bug in docker on ARM devices which broke my VPN set up - that was very frustrating and I had to downgrade docker a few months ago while awaiting the fix. That may be worth noting given docker is very important in this realm and most servers globally are still x86.

    If I were in your position and I had $200 I’d buy the maximum CPU and GPU capability I could in 1 device, so I’d actually lean to a mini PC. If you want to save money then the Pi5 is reasonabkr value but you’d need to include a case and may want to consider a nvme or ssd companion board. Those costs add up and the value of the mini PC may compare better as an all in one device; particularly if you can get a good one second hand. There are also other SBC that may offer even better value or more power than a pi5.

    Also bear in mind for me I have a mini PC and pi5; they do different things with the pi5 is the server but the mini PC is a versatile device and I play games on it for example. If you will only have 1 server device and pre exisiting smart tvs etc you’ll be more reliant on the servers capabilities so again may want to opt for the most powerful device you can afford at your price point.


  • I used to use Homeplug to get network from my router front downstairs of the house to the my office upstairs and back. It’s a small house, and I thought the homeplug was ok - I was getting about 150-200mbps of my 900mbps; not great but I thought it was a good as I could get. The electrics are about 10 years old but I could see there was a lot of noise and error correction when I looked at the software that came with the plugs. Simple direct wifi connection was atrocious as the walls are largely solid brick.

    Then a couple of years later I read about how good they Mesh systems could be so I decided to try a cheap one. I was skeptical as wifi hadn’t worked for me. I got a Google Wifi system (not a fan of google but it was a cheap system compared to other mesh networks); it has no backhaul connection, just 3 wifi points (one in front room, one in hallway and one in office), and my speed jumped to 500mbps and low latency. I also hadn’t realised how bad the latency had been on my homeplug set up - it was night and day.

    I have since upgraded to an ASUS XT8 system; 2 units only and I now get close to 800mbps on a good day, and 600-700mbps floor. My PC in my office is where I work (which involves high data transfers) and also game and chill, it’s been a huge boon.

    So yeah, Homeplug does the job but it’s not great in my experience. It was cheap compared to a mesh network, but you get what you pay for. You can get some of the cheaper and older mesh systems 2nd hand on ebay - but unfortunately a good system is pricey. In my experience it was totally worth it.


  • Brave is being forced to use Googles version of Manifest 3 meaning ad blockers and anti trackers are crippled in favour of advertisers and Googles ad business. Brave will be including 4 manifest 2 extensions in its backend but that’s it. They’re stuck because Google decided to screw over the entire Chrome based ecosystem.

    Mozilla is implementing Manifest 3 differently so the original techniques for adblocking and privacy still work.

    So the only choice is Librewolf. Sacrificing privacy and security for smoother animations and Web translation of pages is not worth it.



  • I’ve been going down the slef hosting rabbit hole recently.

    First, Home Assistant is worth doing - you’ve not got a smart home yet but this is the easy way to get one going. So worth it. You can buy a few cheap WiFi plugs, and plug in devices like lights or stuff you don’t want on stand by and you have the start of a smart home. A smart thermostat and smart radiator valves are surprisingly easy to set up if you want to save some money and keep your home efficient - a bit more of an investment but worth it if you find you like the ease and power of WiFi plugs.

    I also recommend Pihole - it’s an ad blocker for your entire network. You can run it on Docker on x86 machines - you just point your router to use it as the DNS and it then filters all requests for you. It’s really improved my experience on all my devices.

    Next, Paperless NGX - scan your documents and paperless NGX will OCR read them to make them searchable and keep them in a database for you. You can use it to go paperless. Just make sure to sort our a backup.

    Joplin is quite a good note taking app which you can self host to sync your devices and keep your data secure.

    Syncthing is fantastic for syncing files between devices. I sync my main PC and living room theatre PC, plus in my case my Raspberry Pi as an always on broker and local backup.


  • Some good advice already in this thread.

    Also worth considering QEMU as an alternative to VirtualBox. The Virt-manager tool is decent way of managing machines, and it’s relatively straight forward to create a base machine if you’re duplicating it. Virtualbox is perhaps initially more user friendly for absolute beginners, but once you have any familiarity with virtualization I’d suggest QEMU offers much more.

    Also I find integration between the guest and the host linux system is generally more straight forward. Most linux systems already ship with samba and other relevant tools QEMU uses to interact between host and guest. There isn’t a need to faff around with the guest-additions stuff. Plus KVM virtual machines can run with near native performance.


  • I have one of these, it’s a decent mini PC. It’s decently powerful - I used to play some steam games on it; a bit equivalent to steam deck or a bit more powerful. I used it for streaming on my home TV. I upgraded to a even better one as I liked it so much - and wanted to do more gaming.

    It’s a full PC basically. Whether it suits your purposes really depends on what you want to host? It could be overpowered and a bit redundant for a lot of self hosting uses.

    I have a Raspberry Pi 5 which is cheaper than this, and am hosting docker with Home Assistant, Sync thing, and fresh RSS running on it at the moment with plenty of spare memory and cpu resource.

    This mini PC is considerably more powerful and will have a higher power use at idle. You may struggle to use it at capacity so may be a bit wasteful?

    And even the rasp pi 5 is over powered and expensive for a lit of common home server users.

    So whether this PC is a good price and choice really depends on what you want to do with it. It’s at the end of the spectrum of being able to comfortably play 4k video. So it’d likely be a decent Jellyfin streaming host if that’s what you want?


  • BananaTrifleViolin@lemmy.worldtoOpen Source@lemmy.mlRepurposing Apple TV Gen 3A
    link
    fedilink
    English
    arrow-up
    24
    arrow-down
    3
    ·
    edit-2
    7 months ago

    So I dont own one but was interested in what could be done.

    As far as I can see the 3rd gen model is less versatile than the 1st and 2nd, because its so locked down and has very limited storage. Its more like an iPhone than a PC.

    However apparently it can be jailbroken and Kodi installed onto it: https://github.com/NSSpiral/Blackb0x

    Jail breaking means “unlocking” the restrictions apple put on the is on the device so you can do more with it.

    But this project is last updated in 2021 and from the looks of it online, fundamentally there isn’t much more that can be done. Jail breaking it would be a first step to do anything with it if you want to experiment.

    Kodi would certainly give it a new lease of life but that still keeps it as a media consumption device. Kodi is an open source media tool that has a good TV friendly interface, and a huge range of plugins for streaming video and audio (legally but also illegally; kodi itself is perfectly legit and legal but there are plenty of plugins that essentially allow media piracy). You could then sell it on eBay if its working? Someone might want it even if only for cheap?

    Other than that, recycle it? If your local refuse centre doesnt recycle it some companies might?



  • I use Jellyfin as a home media server - in my set up I have it running on my desktop PC, and I use it to stream a media library to my tv.

    A home media server basically just means its meant to be deployed at a small scale rather than as a platform for 1000s of people to use.

    Your scenario is exactly what Jellyfin and Plex can do. If you have 5 users then you just need a host device running the server that is powerful enough to run 5 video streams at the same time. The server can transcode (where the server takes on the heavy lifting needing a more powerful CPU) or direct play (where all the server does is send the bits of the file and the end user’s device such as a phone or smart tv does the hard work of making a quality play, so a lower power server device can work).

    If this is contained within your home, your home wifi or network should be fine to do this, even up to 4k if your network is good enough quality. If the 5 people are outside your home then your internet bandwidth - particularly your upload bandwidth - and your and their internet quality will be important determinant of quality of experience. It will also need more configuring but it is doable.

    This doesn’t need to be expensive. A raspberry pi with storage attached would be able to run Jellyfin or Plex, and would offer a decent experience over a home network if you direct play (I.e. just serve up the files for the end users device to play). You might need something more powerful for 5 simultaneous direct play streams but it would still be in the realms of low powered cheap ARM devices.

    If you want to use transcoding and hardware acceleration you’d need better hardware for 5 people to stream simultaneously. For example an intel or amd cpu, and ideally even something with a discrete graphics card. That doesn’t mean a full desktop PC - it could be an old PC or a minipc.

    However most end user devices such as TVs, PCs, Phones and tablets are perfectly capable of direct playing 1080p video themselves without the server transcoding. Transcoding has lots of uses - you can change the audio or video format on the fly, or enable streaming of 4k video from a powerful device to a less powerful device - but its not essential.

    Direct play is fine for most uses. The only limitation is the files on the server need to be in a format that can be played on the users device. So you may need to stick to mainstream codecs and containers; things like mp4 files and h.264/avc. You could get issues with users not being able to playback files if you have say mkv files and h. 265/hevc or vp9. Then you’d either need to install the codecs in the users device (which may not be possible in a smart tv for example) or use transcoding (so the server converts the format on the fly to something the users device can use but then needing a more powerful server)

    I prefer Jellyfin as its free and open source. It has free apps for the end user for many devices including smart tvs, streaming sticks, phones, tablets and PCs. Its slightly less user friendly than plex to set up but not much. And the big benefit is your users are only exposed to what you have in your library.

    Plex is slightly more user friendly but commerical. You have to pay for a licence to get the best features and even then it pushes advertising and tries to get your users to buy commercial content. Jellyfin does not do that at all.

    Finally if your plan is to self host in the cloud, again this is doable but then you stray into needing to pay for a powerful enough remote computer/server, the bandwidth for all content to be served up (in addition to your existing home internet) and the potential risk of issues with privacy and even copyright infringement issues around the content you are serving. A self hosted device in your home is much more secure and private. A cloud hosted solution can be secure but youre always at risk of the host company snooping your data or having to enforce copyright laws.

    Edit: the other thing to consider ia an FTP server. If you just want to share the files, its very simple to set up. What Jellyfin and Plex offer is convenience by having a nice library to organise things, and serving up the media. But direct play from a media server is not far off just downloading the file from an ftp server to your home device and playing it. But you can also download files from a Jellyfin server so I’d say its worth going the extra step and to use a dedicated media server over ftp.




  • Then I’d definitely set up a test system in a VM on your own PC (I.e. not the actual server machines). Even if you don’t want to use Docker, you can set up a complete version of your new server and practice deploying Jellyfin and Plex, and then test accessing it “remotely” to manage it. You can then decide whether switching away from Win11 is worth it.

    If you’re not familiar with the process of setting up a linux server then I’d actually suggest Debian instead of OpenSuSe. Looking at the Jellyfin guide for example it specifically covers the steps for installing directly onto a Debian host (while OpenSuSE set up means using the Fedora RPM guide). There are also straight forward guides for setting up a Debian server.

    Personally I’m not a fan of Ubuntu (because of Canonical and Snap etc) but there may also be a good choice just because there are so many guides out there for setting up Ubuntu server.


  • Docker is pretty easy to use, and is easy to play with either on your own system (linux or windows) or in VM guest system. The learning curve isn’t that high and Jellyfin for example has a clear set up guide for docker on their wiki.

    But radarr, sonarr etc can be installed directly within linux without docker. The Servarr wiki (that these projects use officially to share information as they’re so similar) has lots of straight forward guides for set up on Linux, Windows, Mac etc as well as Docker.

    I have a Linux guest VM set up with a Radarr, Sonarr etc set up, VPN and torrent set up. It was easy to do and means its network activity is all securely contained away from my host system. The tools let me set naming rules and file preferences. The library is a shared n folder in my host system, and that is included in my Jellyfin library. So all I have to do is subscribe to something i am interested in and it will just appear in my library once downloaded. The servarr tools are extremely convenient and worth looking at if you’re adding to that 30tb library over time.


  • OpenSuSE is a good distro with nice tools like Yast that have a decent CLI interface, and has server releases. The leap edition is stable but relatively up to date.

    But there are lots of viable alternatives, and if you’re going to use Docker then the host distro is probably not as important as you think.

    Simplest route may be to set up a demo server within a VM and see which one chimes the most with your style of use and maintenance. You could have a functioning demo server with docker and deploy both jellyfin and Plex in 20mins.