mhredox

joined 11 months ago
[โ€“] mhredox@lemmy.world 3 points 8 months ago

Exact same thing happened to me the other day. Like exactly. Maybe we live in the same area.

[โ€“] mhredox@lemmy.world -1 points 8 months ago

Can't tell if you're having a problem with birds or debris. Maybe it's a problem of debris from debirding. Either way, good luck ๐Ÿ‘

[โ€“] mhredox@lemmy.world 1 points 9 months ago* (last edited 9 months ago)

I ended up just making my own helper container for authelia. It can generate a link that expires after a set time and only allows a set number of users to access. Then I can just give the link to whoever I want to join and they can fill in their own username and pwd. It then adds them to the authelia user db with the correct groups and PW hashing. Only issue is I have to manually restart authelia for the changes to take effect. Eventually I want to see if I can automate that.

I'm still working on editing the configuration through the app though. I want to be able to change the access control rules, etc.

As far as having the services behind authelia automatically detect and login the user, that will depend on the service, but authelia does pass user credentials and login status in the request headers. Many of the services I host were created myself, so it's pretty trivial to have it automatically "log in" from the authelia sign on.

[โ€“] mhredox@lemmy.world 1 points 11 months ago (1 children)

So admittedly I'm fairly new to the world of self-hosting, but have been a web dev for a long time. My terminology may be way off here. I always sort of assumed that headless meant that I'm running a version of Linux that does not have a desktop UI (Ubuntu server specifically).

If I added a PiKVM, would I suddenly get a desktop UI, or would it still be command-line only?

[โ€“] mhredox@lemmy.world 5 points 11 months ago

I am serious, and don't call me Shirley.

[โ€“] mhredox@lemmy.world 4 points 11 months ago* (last edited 11 months ago)

As ikidd mentioned, definitely speed and access. It's just a react web-app. There's no VM required, and it's not streaming a video capture of a desktop. I'm actually amazed at how performant it is. It loads almost instantly and feels like a regular desktop, even on mobile.

Even with all the windows open in the screenshot and streaming a transcoded video, it still uses less memory than a single open YouTube tab.

[โ€“] mhredox@lemmy.world 2 points 11 months ago* (last edited 11 months ago)

One of the main reasons I ended up building a home server was that one of my drives failed in my main PC, and I lost a lot of my data (I know, I know). When I built my server, I intended it to be used as a backup. I was able to recover most of my data, but a lot of the filenames and directory structure were lost. I ended up just dumping all of this onto my server.

I wanted a way to go through all my recovered files and organize them. I needed to be able to play any unnamed music files and name them + put them in the appropriate directory. I also produce music so some of the files couldn't just be re-downloaded. Similarly with any text/video/pictures/etc.

I'm running Ubuntu server and I can't watch videos or listen to audio via a shell, so I needed a front end. I initially tried file browser but it was slow and clunky, and I couldn't have multiple directories open at once for dragging and dropping.

[โ€“] mhredox@lemmy.world 2 points 11 months ago

Thanks!

I tried nextcloud initially. It seemed a bit bulky and slow for me, with a lot of extra stuff I wasn't going to use. I know you can disable features and customize it, but it just wasnt really a good fit for me.

This initially started as an exercise to find out what is possible and see what I could manage to do by myself. As I progressed, I started realizing the possibilities and am so far very happy with how it's turning out.

I honestly didn't realize there were so many existing alternatives (orb, ArozOS, etc). However, this is built entirely in react and can therefore load and run any JavaScript/HTML easily as a plugin. I think it's a bit more modular than the alternatives in that sense.

Either way it's been a fun project to work on, and it fits my needs exactly how I want.

After seeing all the responses I'll very likely make it all open source so maybe others can contribute and customize it for themselves. Although I am a bit shy to release my code to public scrutiny lol ๐Ÿ˜‚. I have a bad habit of not leaving comments and I'm sure there are plenty of places where people will point out flaws and wonder why the hell I did x instead of y...

[โ€“] mhredox@lemmy.world 1 points 11 months ago (3 children)

Google drive isn't self-hosted though, and they charge for any significant amount of storage.

I'm running Ubuntu server, so there is no desktop to access via rdp, and I don't have to open an ssh port to access this. I still get all of my files, while also being able to put it all behind 2fa and grant as much or as little privilege as desired.

[โ€“] mhredox@lemmy.world 2 points 11 months ago* (last edited 11 months ago)

Thanks!

Another reason for the project was that I too wanted a desktop experience while also being being able to access remotely. I just didn't want to open any "scary" ports on my server lol. I can throw this whole thing behind 2fa and it's still completely isolated in a docker container, thus it has as much or as little privilege as I want.

I actually can ssh into my main server through this, if desired, without opening any ssh ports publicly.

[โ€“] mhredox@lemmy.world 3 points 11 months ago

Definitely way less resource-intensive. I'm actually amazed at how quickly it spins up and loads everything. Even with all of these windows open, and streaming a full length movie, it uses less memory than a single YouTube tab.

162
submitted 11 months ago* (last edited 11 months ago) by mhredox@lemmy.world to c/selfhosted@lemmy.world
 

Decided I'd give a sneak peek at something I'm working on:

Since building my home server I've constantly been on the lookout for a decent frontend to manage my files, etc. I initially tried file browser, but it was always really buggy for me, and honestly I hated it.

Since my server is headless, a PiKVM and the like wouldn't really work for me the way I wanted, so I decided to just build what I was looking for on my own.

And with that, I'd like to introduce: ~~redox_os~~ TBD

It's an emulated OS built in react with a node+express backend. It's made to be as fully customizable as you want. You can create new "apps" for it very easily. Anything you can make in react/JavaScript can be loaded as an "app" with just a simple config file.

It's still very much a work in progress, but I figured it was complete enough for a little show and tell.

Current features:

  • a desktop with icons/etc
  • a file browser
  • text editor (complete with syntax highlighting)
  • a full featured terminal
  • a picture viewer
  • a music player
  • a video player (capable of live-transcoding to an html5 compatible format)
  • a file downloader (for downloading files to the server from the web)
  • full drag and drop capabilities (even drop files from outside your browser to upload)
  • downloading files from the server to local
  • full mobile/touch support

I'm also still very much deciding how to handle the release. It's mostly functional already, but I'd really want it to be polished before a proper release.

Since I also have a full time job, that may take a while. Contributors would definitely help, but I'm also a little split on whether I should make if FOSS. I'm definitely leaning so, but idk.

Definitely open to any feedback, suggestions, criticism, etc.

Edit: Thanks to everyone for the feedback! Looks like I'll definitely be going FOSS. Also I'll be changing the name ๐Ÿ˜„

Not sure what to call it now though. Maybe reDOS? Lol

I still wanna tidy everything up a bit before making the code public. Maybe go back and start adding some comments/documentation as currently there is none. I'm really terrible about that.

Also definitely a bit shy to open up my code to public scrutiny haha. I'm sure there are plenty of mistakes and bad practices.

view more: next โ€บ