Run It Yourself

2762 readers
1 users here now

Overlaps somewhat with /c/floss_replacement and /c/privacy; crossposts welcome

founded 4 years ago
MODERATORS
26
 
 

cross-posted from: https://lemmy.ml/post/1800585

I assume many of you host a DMS such as Paperless and use it to organise the dead trees you still receive in the snail mail for some reason in the year of the lord 2023.

How do you encode your scans? JPEG is pretty meh for text even at better quantisation levels ("dirty" artefacts everywhere) and PNGs are quite large. More modern formats don't go into a PDF, which means multiple pages aren't possible (at least not in Paperless).

Discussion on GH: https://github.com/paperless-ngx/paperless-ngx/discussions/3756

27
 
 

Just thought I'd share this since it's working for me at my home instance of federate.cc, even though it's not documented in the Lemmy hosting guide.

The image server used by Lemmy, pict-rs, recently added support for object storage like Amazon S3, instead of serving images directly off the disk. This is potentially interesting to you because object storage is orders of magnitude cheaper than disk storage with a VM.

By way of example, I'm hosting my setup on Vultr, but this applies to say Digital Ocean or AWS as well. Going from a 50GB to a 100GB VM instance on Vultr will take you from $12 to $24/month. Up to 180GB, $48/month. Of course these include CPU and RAM step-ups too, but I'm focusing only on disk space for now.

Vultr's object storage by comparison is $5/month for 1TB of storage and includes a separate 1TB of bandwidth that doesn't count against your main VM, plus this content is served off of Vultr's CDN instead of your instance, meaning even less CPU load for you.

This is pretty easy to do. What we'll be doing is diverging slightly from the official Lemmy ansible setup to add some different environment variables to pict-rs.

After step 5, before running the ansible playbook, we're going to modify the ansible template slightly:

cd templates/

cp docker-compose.yml docker-compose.yml.original

Now we're going to edit the docker-compose.yml with your favourite text editor, personally I like micro but vim, emacs, nano or whatever will do..

favourite-editor docker-compose.yml

Down around line 67 begins the section for pictrs, you'll notice under the environment section there are a bunch of things that the Lemmy guys predefined. We're going to add some here to take advantage of the new support for object storage in pict-rs 0.4+:

At the bottom of the environment section we'll add these new vars:

  - PICTRS__STORE__TYPE=object_storage
  - PICTRS__STORE__ENDPOINT=Your Object Store Endpoint
  - PICTRS__STORE__BUCKET_NAME=Your Bucket Name
  - PICTRS__STORE__REGION=Your Bucket Region
  - PICTRS__STORE__USE_PATH_STYLE=false
  - PICTRS__STORE__ACCESS_KEY=Your Access Key
  - PICTRS__STORE__SECRET_KEY=Your Secret Key

So your whole pictrs section looks something like this: https://pastebin.com/X1dP1jew

The actual bucket name, region, access key and secret key will come from your provider. If you're using Vultr like me then they are under the details after you've created your object store, under Overview -> S3 Credentials. On Vultr your endpoint will be something like sjc1.vultrobjects.com, and your region is the domain prefix, so in this case sjc1.

Now you can install as usual. If you have an existing instance already deployed, there is an additional migration command you have to run to move your on-disk images into the object storage.

You're now good to go and things should pretty much behave like before, except pict-rs will be saving images to your designated cloud/object store, and when serving images it will instead redirect clients to pull directly from the object store, saving you a lot of storage, cpu use and bandwidth, and therefore money.

Hope this helps someone, I am not an expert in either Lemmy administration nor Linux sysadmin stuff, but I can say I've done this on my own instance at federate.cc and so far I can't see any ill effects.

Happy Lemmy-ing!

28
29
 
 

Greetings, self-hosting enthusiasts and welcome to the Selfhosted group on Lemmy! I am Fimeg, your tour guide through the labyrinth of digital change. As you’re likely aware, we’re witnessing a considerable transformation in the landscape of online communities, particularly around Reddit. So let’s indulge our inner tech geeks and dive into the details of this issue, and explore how we, as a self-hosting community, can contribute to the solution.

The crux of the upheaval is a policy change from Reddit that’s putting the existence of beloved third-party apps, like Reddit is Fun, Narwhal, and BaconReader, in jeopardy. Reddit has begun charging exorbitant fees for API usage, so much so that Apollo is facing a monthly charge of $1.7 million. The ramifications of these charges have resulted in an outcry from the Reddit community, leading to a number of subreddits planning to go dark in protest.

These actions have pushed many users to seek out alternative platforms, such as Lemmy, to continue their digital explorations. The migration to Lemmy is especially significant for us self-hosters. Third-party applications have long been a critical part of our Reddit experience, offering unique features and user experiences not available on the official app.

As members of the Selfhosted group on Lemmy, we’re not just bystanders in this shift - we have the knowledge, skills, and power to contribute to the solution. One of the ways we can contribute is by assisting with the archiving efforts currently being organized by r/datahoarder on Reddit. As self-hosting enthusiasts, we understand the value of data preservation and have the technical acumen required to ensure the wealth of information on Reddit is not lost due to these policy changes.

So, while we navigate this new territory on Lemmy, let’s continue to engage in productive discussions, share insights, and help to shape the future of online communities. Your decision to join Lemmy’s Selfhosted group signifies a commitment to maintain the spirit of a free and open internet, a cause that is dear to all of us.

Finally, in line with the spirit of the original Reddit post, if you wish to spend money, consider supporting open-source projects or charities that promote a free and accessible internet.

With that, let’s roll up our digital sleeves and embark on this new journey together. Welcome to the Selfhosted group on Lemmy!

30
 
 

Crossgeposted von: https://beehaw.org/post/432577

You host your own service, which can also federate with other Databag nodes. It is Public-Private key based identity (not bound to any blockchain or hosting domain) and End-to-End encrypted (the hosting admin cannot view sealed topics, default unsealed).

This is not a service for finding friends in your contact list. You, or your organisation, hosts the service, and has completely private and secure chatting amongst yourselves.

Another use-case may be if you are visiting a foreign country which blocks many public messenger services. This app would connect back to your private server, which is very unlikely to have been blocked.

See https://github.com/balzack/databag

#technology #opensource #privacy #selfhosted

31
32
33
1
Self-hosted Invidious (de-Google) (redirect.invidious.io)
submitted 2 years ago* (last edited 2 years ago) by lemmyreader@lemmy.ml to c/selfhosted@lemmy.ml
 
 

Shared November 7, 2022

34
35
 
 

cross-posted from: https://feddit.de/post/134214

They seem redundant, selfhost seems to have a couple of rules, but they pretty much do the same thing, right?

I would prefer if they would be merged, it's confusing and annoying to figure out which of both is bigger, since that's all that matters. Also naming is nearly the same.

I just can't see a difference.

36
 
 

Is Seafile any good? It's similar to nextcloud, but apparently faster etc.

https://play.google.com/store/apps/details?id=com.seafile.seadroid2&showAllReviews=true

https://apps.apple.com/cn/app/seafile-pro/id639202512?l=en&platform=iphone

Mobile apps both have pretty bad ratings on the app stores.

What would you host for yourself, friends and family, basic dropbox functionality is all I need.

I have hosted Nextcloud in the past but it's a huge program with way too many tools, apps and a complicated way to update, the end result is often a slow and not very comfortable way to use the aforementioned basic dropbox functionality.

37
 
 

Would self-hosting a Nextcloud instance locally without an internet connection be viable?

Use case: Around 5 people need to share files over the network, collaborate on Office documents in real-time, use GitLab, and a To-do/Task management tool.

Beyond the initial setup, does any of these requirements need an active Internet connection, or can we all connect to the Raspberry Pi server via Ethernet?

38
39
 
 

if I have communications with someone through the internet with a homeserver. I would inevitably give out my IP address. Is that a bad thing? In my country they don't have services like that, RTCing would be a bit sluggish using available euro servers.

40
41
42
 
 

and is there any detailed video about how to host it using windows 10?

43
1
submitted 2 years ago* (last edited 2 years ago) by Sal@mander.xyz to c/selfhosted@lemmy.ml
 
 

I have been learning a lot thanks to Lemmy and the people behind it, so I wanted to contribute a bit back by making some easy-to-follow video tutorials.

I have also made the same video in Spanish: https://www.youtube.com/watch?v=h50M6jYZ8YU

As a beginner myself, I do have a level of concern that I might teach something incorrectly, or that I might expose others to security risks and liabilities. I hope that these concerns are not well-founded, but I am open to criticism!

44
45
46
 
 

I thought about using my Raspberry Pi 3 B+ as a NextCloud server, but research told me it would be too slow to be useful. Any cool useful projects I can do, without any extra purchases? I'm extremely low on money currently.

47
48
 
 

cross-posted from: https://lemmy.ml/post/72747

Ever since the Pterodactyl Game Panel software had changed theming in 1.x versioning I am left to the hands of 3rd party gaming providers to get things done. Which of course doesn't checks all of the boxes. :(

The issues? Lack of contrasts, or as I like to "call it" grey on top of grey!

Nobody can give me a feasible solution to either correct this or even to part ways to still be able to host a User Interface on my own server rental.

49
 
 

I am felt up with my Game Service shared provider's billing policies and I seriously trying to consider all options/help i might be able to get. Including trying to just rent a suitable VPS instead...

Does anybody know anything else that might help me runs Minetest gaming servers? Or anybody here who might be able help me sort this out?

Thanks you very much in advance!

50
 
 

cross-posted from: https://lemmy.ml/post/70927

I am looking for something which u can selfhost and have a web UI or client where u choose the game and launch it.

Edit: Something open source would be great!

view more: ‹ prev next ›