Self Hosted - Self-hosting your services.

11419 readers
1 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

Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!

Cross-posting

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

founded 4 years ago
MODERATORS
126
 
 

A new feature has been added, this one is especially useful for recurring post - it allows you to add the date and/or time of the post to the title.

As an example you can use this exact post which should contain a date that looks something like 2023-10-04 14:15:00+0200 (note that the second will most likely be different, because the scheduler is not exact to the second).

This is how I've written the title in Lemmy Schedule: Lemmy schedule - add date to the post title (example: #[InjectDate('Y-m-d H:i:sO')]#).

You may notice the #[InjectDate('Y-m-d H:i:sO')]# - this is an expression that will be evaluated at the time of posting. Currently only the InjectDate expression is supported and it takes exactly one parameter. If you're a programmer, you probably recognize it, it's a format for the date. Just beware that it uses the PHP date format which might differ slightly from your favorite language.

If you're not a programmer, the documentation is not that hard - you see a letter (like F) and its description (A full textual representation of a month, such as January or March). When you include F in the parameter, it means it will be replaced with current month name (October). If this is too hard for you and you want it for one or few posts, tell what you want the title to look like and I'll write it for you.

Note that there's a preview of what the title looks like:

Preview of the Lemmy Schedule dynamic  title

You'll also know if you've provided something that looks like it should be an expression but is not recognized:

Preview of the Lemmy Schedule dynamic title with invalid expression

Here are some examples:

  • Weekly discussion - week ##[InjectDate('W')]# - Weekly discussion - week #40
  • Monthly discussion - #[InjectDate('F')]# #[InjectDate('Y')]# - Monthly discussion - October 2023
  • Monthly discussion - #[InjectDate('F Y')]# - equivalent to the above, just wanted to show that you can use it multiple times
  • Daily thread - #[InjectDate('d.m.Y')]# - Daily thread - 03.10.2023

Let me know what you think!


You can find the tool at https://schedule.lemmings.world
You can also self-host it using docker: https://github.com/RikudouSage/LemmySchedule/#self-hosting---docker

127
 
 

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

I was going to use the built-in OpenVPN in TrueNAS until I found out it's going to be deprecated.

I only really need it for the qbitorrent/transmission and prowlarr/jackett (haven't decided yet) apps in TrueNAS, so I don't know what the next best option is.

I have found plenty of documentation on how to use the integrated OpenVPN feature of TrueNAS, but since the announcement of it's deprecation and future elimination is only ~2 months old, I haven't found any new documentation yet on alternate methods.

I see stuff about tailscale but that doesn't seem to be what I'm trying to do.

Thanks.

128
 
 

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

You know BOINC, the thing where you can donate your processing power to specific computational projects?
Is there anything like that, but for hosting platforms / services?
Something where you could say "I am willing to dedicate this much of my CPU, RAM and storage space to this project or this group of people".
Say that I have a server that is more or less collecting dust, and I want to make it do something productive.
I am aware of YUNOHost and alternatives, but that still requires me to choose which things to deploy and also somehow then offer that to the community.
As a certified lazy dude, I would much rather say "here's the computer, use it for whatever you need the most".
The issue I see with this is that my goodwill could be abused for hosting something inappropriate or even illegal, and then I would be held responsible. So there should be some transparency requirement or some other mechanism that helps prevents this.

And yes, self-hosting would not be the accurate term to describe this kind of distributed resource sharing. "croud-sourced self-hosting"? "crowd-hosting" sounds like a good description for this phenomenon.
Some implementation of this probably already exists. Please provide any relevant names or links that would help me find more about this.

129
 
 

Hey there, I'm a newbie when it comes to self-hosting and working with Docker. I'm looking to route traffic from a couple of my Docker containers (specifically, qBittorrent and Prowlarr) through a Wireguard container that's hooked up to Mullvad. Any tips on how to set this up?


Here is my compose file:

version: "3.7"

services:
  prowlarr:
    container_name: prowlarr
    image: ghcr.io/hotio/prowlarr
    ports:
      - "9696:9696"
    environment:
      - PUID=1000
      - PGID=1000
      - UMASK=002
      - TZ=ETC/GMT
    volumes:
      - '/home/${USER}/server/configs/prowlarr:/config'
    restart: unless-stopped
  sonarr:
    image: lscr.io/linuxserver/sonarr:latest
    container_name: sonarr
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=ETC/GMT
    volumes:
      - '/home/${USER}/server/configs/sonarr:/config'
      - '/home/${USER}/server:/data'
    ports:
      - 8989:8989
    restart: unless-stopped
  radarr:
    image: lscr.io/linuxserver/radarr:latest
    container_name: radarr
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=ETC/GMT
    volumes:
      - '/home/${USER}/server/configs:/config'
      - '/home/${USER}/server:/data'
    ports:
      - 7878:7878
    restart: unless-stopped
  jellyfin:
    image: lscr.io/linuxserver/jellyfin:latest
    container_name: jellyfin
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=ETC/GMT
    volumes:
      - '/home/${USER}/server/configs/jellyfin:/config'
      - '/home/${USER}/server/media:/data/media'
    ports:
      - 8096:8096
    restart: unless-stopped
  qbittorrent:
    image: lscr.io/linuxserver/qbittorrent:latest
    container_name: qbittorrent
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
      - WEBUI_PORT=8080
    volumes:
      - '/home/${USER}/server/configs/qflood:/config'
      - '/home/${USER}/server/torrents:/data/torrents'
    ports:
      - 8080:8080
      - 6881:6881
      - 6881:6881/udp
    restart: unless-stopped
130
 
 

My Lemmy Schedule app now includes the option to get notified of new posts in a specific community!

In case you haven't heard about the app before, here's what other things it can do:

  • schedule a post and post it to multiple communities
    • you can upload an image as well and choose between uploading to your Lemmy instance or to Imgur
  • create a recurring post that gets posted at a specific date and time (especially useful for daily/weekly/monthly/end-of-month threads)
  • schedule pinning and unpinning of posts (instance and community)
    • the pinning and unpinning can be specified as part of creating a post
  • the aforementioned notifications about unread posts from a specific community (useful for mods)
    • can be also set using a recurring schedule, so you can get the report daily/weekly/monthly etc.

To learn more, visit the !schedule@lemmings.world community.

P.S. It's open source and can be self-hosted using docker!

131
 
 

anyone successfully deployed Gab's code? https://code.gab.com/gab/gab-open-source

if yes, how you did it?

132
13
submitted 2 years ago* (last edited 2 years ago) by danileonis@lemmy.ml to c/selfhost@lemmy.ml
 
 

Looks like it isn't even supported by OpenWrt, can I find a sense to this poor old device in 2023?

Thanks for any suggestion!

133
 
 

Its stupid fast, reliable, and rarely has any conflicts. If it does it seems to work them out without intervention. I've tried Nextcloud including the AIO image and its just so clunky and slow. I was getting sync errors just on the simple Notes apps. Repeatedly. I mean I get why people like it, it can do way more than Seafile. But for a pure Dropbox replacement, I love it.

The fact I can reach any file on any device from any other device without syncing EVERYTHING is fantastic. I know Syncthing is also popular, but seems to require more manual settings if you want to be selective on what syncs.

I will say, I've tried and failed numerous times to get Collabora CODE and S3 storage integration to work with Seafile and that is a nightmare, at least for me. I cannot get my head around it. But standing Seafile up itself was fairly easy.

Does anyone else use it? If so, have you tried the CODE and/or multiple storage backend integrations?

134
30
Mastodon 4.2 (blog.joinmastodon.org)
submitted 2 years ago by JRepin@lemmy.ml to c/selfhost@lemmy.ml
135
 
 

Until yesterday, I didn’t even know you could use the docker images and the same docker-compose configs with Podman.

The UI you are looking at is Cockpit, which can be installed on almost any Linux Server. I have used it before but I am amazed by its integration with Podman.

Seriously, consider trying this, once.

Here's another screenshot of Cockpit:

136
 
 

I used the ansible method to install Lemmy on a DigitalOcean VPS. They do block port 25 and there is no way around that. I tried to change the port from 25 to 465 in the config.hjson file but still no luck. I am super new to this but I want to get this working so bad. I'm so close! The site is working fine, just no emails. I've checked spam, trash, etc. - nothing is getting sent.

137
 
 

What are your selfhosted recommendation to manage your bibliography ?

138
 
 

Noob starting first server. Installed Ubuntu server, and opted for LVM. However, will that cause me problems on a headless server if I get a power outage and need to reboot? I think yes. Is there a solution, or should i remove LVM before i go too deep setting things up?

139
 
 

I am making a series of blog posts about website and application hosting. There are many topics I'd like to talk about (IP, DNS, logs, linux settings). I am sharing here some knowledge and documenting for myself too.

This first post is not the most interesting in my opinion as this is talking about the basis : hardware and Linux distribution. I am not talking about non-Linux OS (OpenBSD, FreeBSD, etc). For the next one I will document way more commands and process to go through (iptable, fail2ban, logs on memory, etc).

I don't consider myself good at writing so any help is welcome, I try to put as many images/charts as possible but this one is tricky. Feedbacks are welcome.

140
 
 

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

Currently deciding between Fujitsu Futro S920 with intel quad NIC and Intel N100 Celeron router from Aliexpress.

Looking to spend around 80-150€. I live in EU so something that either ships from EU or china.

Any input is appreciated.

141
 
 

What Nextcloud password manager do you use and recommend?

I am using the default namesake. I like it except for the Linux desktop client which has awful UI, no password adding or export. Passman looks good, and like NC Password it has browser ext. and an Android app - but it has no Linux desktop client at all. Authpass looks good also, but has no Nextcloud browser app. I am not sure if the desktop client can export or search passwords. It is concerning that if NC goes down that there is no local database - or one that is useful.

Any others?

142
 
 

Suggestion of fediverse server that doesn't consume so many resources (unlike both Mastodon and Filefish)

cc @selfhost@lemmy.ml @selfhosted@lemmy.world

143
 
 

As an example: some people might be using the offerings from Microsoft or Amazon, whilst other people might be running a VM with a VPS somewhere and hosting their apps like Homeassistant, OpenHAB, Node-Red etc there.

I wanted to know if you do something like this, and what might be the downsides to doing something like this.

Thanks!

144
 
 

From the article:

Since Tailscale was founded in 2019, customers have been forced to choose between either Tailscale or Mullvad without the ability for them to co-exist.
Today we announce a partnership with Tailscale that allows you to use both in conjunction through the Tailscale app. This functionality is not available through the Mullvad VPN app. This partnership allows customers of Tailscale to make use of our WireGuard VPN servers as “exit nodes”. This means that whilst connected to Tailscale, you can access your devices across Tailscale’s mesh network, whilst still connecting outbound through Mullvad VPN WireGuard servers in any location.

Announcement also on Tailscale blog.

145
 
 

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

Introduction

Hello everybody, About 5 months ago I started building an alternative to the Searx metasearch engine called Websurfx which brings many improvements and features which lacks in Searx like speed, security, high levels of customization and lots more. Although as of now it lacks many features which will be added soon in futures release cycles but right now we have got everything stabilized and are nearing to our first release v1.0.0. So I would like to have some feedbacks on my project because they are really valuable part for this project.

In the next part I share the reason this project exists and what we have done so far, share the goal of the project and what we are planning to do in the future.

Why does it exist?

The primary purpose of the Websurfx project is to create a fast, secure, and privacy-focused metasearch engine. While there are numerous metasearch engines available, not all of them guarantee the security of their search engine, which is critical for maintaining privacy. Memory flaws, for example, can expose private or sensitive information, which is never a good thing. Also, there is the added problem of Spam, ads, and unorganic results which most engines don't have the full-proof answer to it till now. Moreover, Rust is used to write Websurfx, which ensures memory safety and removes such issues. Many metasearch engines also lack important features like advanced picture search, which is required by many graphic designers, content providers, and others. Websurfx attempts to improve the user experience by providing these and other features, such as providing custom filtering ability and Micro-apps or Quick results (like providing a calculator, currency exchanges, etc. in the search results).

Preview

Home Page

Search Page

404 Page

What Do We Provide Right Now?

  • Ad-Free Results.
  • 12 colorschemes and a simple theme by default.
  • Ability to filter content using filter lists (coming soon).
  • Speed, Privacy, and Security.

In Future Releases

We are planning to move to leptos framework, which will help us provide more privacy by providing feature based compilation which allows the user to choose between different privacy levels. Which will look something like this:

  • Default: It will use wasm and js with csr and ssr.
  • Harderned: It will use ssr only with some js
  • Harderned-with-no-scripts: It will use ssr only with no js at all.

Goals

  • Organic and Relevant Results
  • Ad-Free and Spam-Free Results
  • Advanced Image Search (providing searches based on color, size, etc.)
  • Dorking Support (in other words advanced search query syntax like using And, not and or in search queries)
  • Privacy, Security, and Speed.
  • Support for low memory devices (like you will be able to host websurfx on low memory devices like phones, tablets, etc.).
  • Quick Results and Micro-Apps (providing quick apps like calculator, and exchange in the search results).
  • AI Integration for Answering Search Queries.
  • High Level of Customizability (providing more colorschemes and themes).

Benchmarks

Well, I will not compare my benchmark to other metasearch engines and Searx, but here is the benchmark for speed.

Number of workers/users: 16
Number of searches per worker/user: 1
Total time: 75.37s
Average time per search: 4.71s
Minimum time: 2.95s
Maximum time: 9.28s

Note: This benchmark was performed on a 1 Mbps internet connection speed.

Installation

To get started, clone the repository, edit the config file, which is located in the websurfx directory, and install the Redis server by following the instructions located here. Then run the websurfx server and Redis server using the following commands.

git clone https://github.com/neon-mmd/websurfx.git
cd websurfx
cargo build -r
redis-server --port 8082 &
./target/debug/websurfx

Once you have started the server, open your preferred web browser and navigate to http://127.0.0.1:8080 to start using Websurfx.

Check out the docs for docker deployment and more installation instructions.

Call to Action: If you like the project then I would suggest leaving a star on the project as this helps us reach more people in the process.

"Show your love by starring the project"

Project Link:

https://github.com/neon-mmd/websurfx

146
 
 

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

I've recently started using a self hosted SearXNG instance but I'm still using the search engines enabled by default (google, duckduckgo and qwant). What search engines do you have enabled or which ones do you feel you've gotten the best results with?

147
 
 

I'm trying to stand up an instance of Cryptpad on a VPS. I have followed 3 different articles to try to get my way through it. They all end in the same result, browser errors and I see the Cryptpad logo with "loading" and that's it.

Browser error is always some variation of this:

NOTE: Actual error I receive right now, blurring out my domain name

And I don't know enough of HTML and JS to figure this out beyond it's missing something it's looking for. I did get it to load once, where the icons for the various apps loaded, but clicking on any of them yielded similar errors.

The tutorials I tried (formatting and reloading the OS between attempts):

  1. Official documentation
  2. How To Forge
  3. Make Tech Easy

Option 3 was the clearest tutorial by far, but I still ran into issues. I followed each step exactly and still can't seem to figure this out. Does anyone have a second set of eyes and point out what I'm clearly doing wrong? I don't think I missed any steps in my multitude of attempts, but clearly I am.

I know I can pay someone to host it or use a public instance, but I'd really like to know what I missed so I can learn from it.

148
1
... (github.com)
submitted 2 years ago* (last edited 1 year ago) by CoderSupreme@programming.dev to c/selfhost@lemmy.ml
149
 
 

Please advise me, where i can place a mini computer such as Raspberry Pi, in data center, I mean. No matter where, send them my computer and let them install it in the rack?!

150
 
 

since the weather is going to start getting colder, i’ve been looking ahead and trying to plan out some projects that i want to work on over the winter. mostly, network service projects, ai server build, home assistant stuff, various 3d printer projects, etc. and i’m looking for a way to keep all the notes and files in a main “notebook” type of system. i’ve got gitea setup and nextcloud, ( and most common network services). i was looking at openproject, but that seems WAY to much for what i need, focalboard looks kind of interesting though.

basically, i’d like to be use git for all file storage, but with a more complete frontend. or integrations with nextcloud, i was thinking of trying to piece something together using gitea actions or node-red (i’m VERY new to both, so this would be an adventure), but before i head down that rabbit hole, i’d like to know if there is a better, easier, more complete option?

view more: ‹ prev next ›