Tiritibambix

joined 4 years ago
MODERATOR OF
[–] Tiritibambix@lemmy.ml 2 points 5 months ago* (last edited 5 months ago) (4 children)

Thank you for this very valuable feedback on this tutorial. I will address this when I have some spare time again, knowing that what takes most of my time writing this up is translating and error-proofing into English, as well as Markdown formatting for readability. 😅

On a side note, all components are mandatory to get the server to work in my write-up, apart from Monograph, which is only included to allow users to share notes publicly.

As for the adaptability of my process, I am genuinely hoping that developers will use this foundational work to create their own long-overdue self-hosting documentation and guide others more efficiently on how to build their own setups.

[–] Tiritibambix@lemmy.ml 6 points 5 months ago

I did post this in their issues tracking as there is no discussion section :)

[–] Tiritibambix@lemmy.ml 15 points 6 months ago* (last edited 6 months ago) (3 children)
[–] Tiritibambix@lemmy.ml 6 points 6 months ago

Hello, I'm glad you appreciate me for sharing the info on them opening up their doors.

If I had access to their website, I'd gladly share more info...

Actually, here's what a quick search returned.

Genetral Tracker UNIT3D based tracker

Open for 8 days

Signup Link: https://lst.gg/register

Stats:

Torrents: 55,980

Total Torrent Size :1.12 PiB

  • Movies :33,621

  • Shows: 21,774

  • HD: 52,983

  • SD: 2,997

  • Users: 6,062 Peers: 191,116 Seeders: 190,707 Leechers: 409

Traffic:

  • Real Upload: 3.54 PiB
  • Real Download: 3.39 PiB
  • Total Traffic: 6.93 PiB
  • Credited Upload: 5.18 PiB
  • Credited Download: 528.21 TiB
  • Credited Traffic: 5.69 PiB
[–] Tiritibambix@lemmy.ml 2 points 6 months ago

Peertube is awesome but is way overkill for my needs indeed, and their docker install is not as easy as clipbucket. Also, I don't need federation. The choice was easy :)

[–] Tiritibambix@lemmy.ml 2 points 7 months ago

I was following this project for a little while and it's amazing the progress you've done so far.

I'm using a proprietary solution at the moment, and I hate giving them my credentials. Also, the platform is not really reliable (it's Postly, for anyone interested).

I have my posts scheduled for the next couple months there, so it might give me time to have another look at the actual state of Postiz, and see if my small knowledge will be enough to deploy it on docker.

Any plans on adding support to pixelfed anytime soon ?

Thanks for your work.

[–] Tiritibambix@lemmy.ml 8 points 7 months ago (1 children)

I didn't really care about the subreddit even before the API shitshow, as I find the place filled with toxic, elitist gatekeepers.

As I was just starting to self-host and was merely a modest hobbyist, I only encountered hate and downvotes there.

In short, I don't miss that place.

That said, I find the community here much more helpful and positive. It could use a bit more engagement, and we should all post and share more—myself included. But overall, I like it.

/r/selfhosted remains just an entry in my RSS feed to ensure I don't miss anything of interest; mostly, I just read post titles.

So let them have their primary space over there.

[–] Tiritibambix@lemmy.ml 4 points 8 months ago (1 children)

I'm desperate to find a REAL alternative to wetransfer. One that sends an e-mail to the recipient with a link when the file is ready to download.

[–] Tiritibambix@lemmy.ml 2 points 8 months ago

Thank you. I'll have a look

[–] Tiritibambix@lemmy.ml 4 points 8 months ago (2 children)

This is great.

Does anyone know something similar but this time for my navidrome online music ?

[–] Tiritibambix@lemmy.ml 7 points 8 months ago (1 children)

I wish I could start learning how to code. But I'm already stretched too thin on too many fronts :(

 

I suffer several micro cuts a day since a couple weeks. I'd like to monitor these cuts to help diagnose the issue with my ISP.

Is there any docker image that allows to do this ? I only found internet speed monitoring.

 

Solution: Use NFS -_-'


Hello. I've been using hotio's qbittorent, radarr and sonarr images for a while and I've been really happy with it. But A few weeks ago, I started having problems with radarr failing to copy my files to the destination folder. I have qbittorrent on machine A and my video server on machine B (called "orbiter"). I mounted destination folder on machine B to machine A like follow: sudo mount -t cifs //orbiter/Video/ /mnt/OrbiterVideo -o username=root,password=omgstrongpassword,uid=998,gid=100

And added it to fstab: //orbiter/Video /mnt/OrbiterVideo/ cifs username=root,password=omgstrongpassword,iocharset=utf8,noperm,uid=998,gid=100 0 0

Now, here are my docker-compose for qbittorrent and radarr :

QBittorrentVPN

version: "3.7"

services:
  qbittorrent:
    container_name: qbittorrentvpn
    image: cr.hotio.dev/hotio/qbittorrent
    ports:
      - 8992:8992
      - 8118:8118
    environment:
      - WEBUI_PORTS=8992/tcp,8992/udp
      - PUID=998
      - PGID=100
      - UMASK=0022
      - TZ=Europe/Paris
      - VPN_ENABLED=true
      - VPN_LAN_NETWORK=192.168.1.0/24
      - VPN_CONF=wg0
     # - VPN_ADDITIONAL_PORTS
      - VPN_IP_CHECK_DELAY=5
      - PRIVOXY_ENABLED=false
      - DEBUG=yes
    volumes:
      - /srv/path/Files/QBittorrentVPN:/config
      - /srv/path/Files/QBittorrentVPN/downloads:/downloads
      - /srv/path/Files/QBittorrentVPN/skins:/skins
    cap_add:
      - NET_ADMIN
    sysctls:
      - net.ipv4.conf.all.src_valid_mark=1
      - net.ipv6.conf.all.disable_ipv6=1
    restart: unless-stopped

Radarr

version: "3.7"

services:
  radarr:
    container_name: radarr
    hostname: Radarr
    image: cr.hotio.dev/hotio/radarr
    ports:
      - "7878:7878"
    environment:
      - PUID=998
      - PGID=100
      - UMASK=002
      - TZ=Europe/Paris
    volumes:
      - /srv/path/Files/Radarr/config:/config
      - /srv/path/Files/QBittorrentVPN/downloads:/downloads
      - /mnt/OrbiterVideo/movies/:/movies
    restart: unless-stopped

Radarr manages to grab and download a movie, but it fails to copy it:

2023-07-21 16:15:59.3|Warn|ImportApprovedMovie|Couldn't import movie /downloads/awesomemovie.mkv

[v4.6.4.7568] System.UnauthorizedAccessException: Access to the path '/movies/awesomemovie' is denied.
 ---> System.IO.IOException: Permission denied
  
***
End of inner exception stack trace
***
   at System.IO.FileSystem.CreateDirectory(String fullPath)
   at System.IO.Directory.CreateDirectory(String path)
   at NzbDrone.Common.Disk.DiskProviderBase.CreateFolder(String path) in ./Radarr.Common/Disk/DiskProviderBase.cs:line 189
   at NzbDrone.Core.MediaFiles.MovieFileMovingService.CreateFolder(String directoryName) in ./Radarr.Core/MediaFiles/MovieFileMovingService.cs:line 215
   at NzbDrone.Core.MediaFiles.MovieFileMovingService.EnsureMovieFolder(MovieFile movieFile, Movie movie, String filePath) in ./Radarr.Core/MediaFiles/MovieFileMovingService.cs:line 185
   at NzbDrone.Core.MediaFiles.MovieFileMovingService.EnsureMovieFolder(MovieFile movieFile, LocalMovie localMovie, String filePath) in ./Radarr.Core/MediaFiles/MovieFileMovingService.cs:line 165
   at NzbDrone.Core.MediaFiles.MovieFileMovingService.CopyMovieFile(MovieFile movieFile, LocalMovie localMovie) in ./Radarr.Core/MediaFiles/MovieFileMovingService.cs:line 90
   at NzbDrone.Core.MediaFiles.UpgradeMediaFileService.UpgradeMovieFile(MovieFile movieFile, LocalMovie localMovie, Boolean copyOnly) in ./Radarr.Core/MediaFiles/UpgradeMediaFileService.cs:line 73
   at NzbDrone.Core.MediaFiles.MovieImport.ImportApprovedMovie.Import(List`1 decisions, Boolean newDownload, DownloadClientItem downloadClientItem, ImportMode importMode) in ./Radarr.Core/MediaFiles/MovieImport/ImportApprovedMovie.cs:line 129

It is important to note that I didn't change anything in my config.

Is there something I am doing wrong here ? I can't see through this anymore.

 

Hello !

I bought a Splinter V2 a few years ago and I loved it. It's what got me into vaporizing and it was the first entry in my small collection.

BUT... I lost it past summer. I f.... ing don't know how or where and I just gave up today looking for it.

I loved that vape. I loved how it worked, I loved how it was made and I loved the taste you could get out of it.

So I decided to buy another one. But I can't find one !! Rbt site seems down and it is out of stock everywhere I look.

Did rbt close their door ? What happened ?

Any idea where I can get one in Europe ?

 

Hi all.

I used to follow the progress of Florisboard and stoped hearing from it a while back. I was anxiously waiting for swipe gestures and French predictive text.

I went to the GitHub, and while I see a few commits past June, latest release is more than a year old.

Was the project abandoned ?

 

Yesterday, I answered to some buddy about mixing THC / CBD.

Today, I came back to see if there was any interaction with other people, and only then noticed the "crossposted from r/vaporents" thing.

Damn I feel awful. Not only did I take some of my personal tome to try and help some fellow vaporents, but also this person will never even know I tried to help.

I perfectly understand that we need some content here to attract new people / former redditors, but I do no wish this place to be a ghost town.

What do you think ?

 

I just discovered libretube thanks to someone who gave me this link : https://f-droid.org/packages/com.github.libretube/

It opens in my default browser, not in froid, and I don't find the app when searching in fdroid.

Is there any way to find the repo from the http link and add it to fdroid ?

 
 

Hello all !

Following that post, I'm offering to noobs like me the opportunity to learn how to install Teddit with Docker.

Being a beginner myself, I don’t pretend to know the perfect or more appropriate way to achieve this, and I hope that more experienced people will join the conversation to correct and complete the informations I’m about to give.

Teddit is a free and open source alternative Reddit front-end focused on privacy.

#The config#

  • First, let's say you want to have your persistent volume at /srv/path/Teddit/
  • Create that volume. In it, create a config.js file.
  • Paste this and edit the names of the subreddits you want to "follow":
    spoiler
const config = {
  domain: process.env.DOMAIN || '127.0.0.1', // Or for example 'teddit.net'
  use_reddit_oauth: process.env.USE_REDDIT_OAUTH === 'true' || false, // If false, teddit uses Reddit's public API. If true, you need to have your own Reddit app ID (enter the app ID to the "reddit_app_id" config key). 
  cert_dir: process.env.CERT_DIR || '', // For example '/home/teddit/letsencrypt/live/teddit.net', if you are using https. No trailing slash.
  theme: process.env.THEME || 'auto', // One of: 'dark', 'sepia', 'auto', ''. Auto theme uses browser's theme detection (Dark or White theme). White theme is set by the empty the option ('').
  clean_homepage: !('CLEAN_HOMEPAGE' in process.env) || process.env.CLEAN_HOMEPAGE === 'true', // Allows the clean homepage to be used (similar to invidious), instead of the usual reddit-like frontpage
  flairs_enabled: !('FLAIRS_ENABLED' in process.env) || process.env.FLAIRS_ENABLED === 'true', // Enables the rendering of user and link flairs on teddit
  highlight_controversial: !('HIGHLIGHT_CONTROVERSIAL' in process.env) || process.env.HIGHLIGHT_CONTROVERSIAL === 'true', // Enables controversial comments to be indicated by a typographical dagger (†)
  api_enabled: !('API_ENABLED' in process.env) || process.env.API_ENABLED === 'true', // Teddit API feature. Might increase loads significantly on your instance.
  api_force_https: process.env.API_FORCE_HTTPS === 'true' || false, // Force HTTPS to Teddit API permalinks (see #285).
  video_enabled: !('VIDEO_ENABLED' in process.env) || process.env.VIDEO_ENABLED === 'true',
  redis_enabled: !('REDIS_ENABLED' in process.env) || process.env.REDIS_ENABLED === 'true', // If disabled, does not cache Reddit API calls
  redis_db: process.env.REDIS_DB,
  redis_host: process.env.REDIS_HOST || '127.0.0.1',
  redis_password: process.env.REDIS_PASSWORD,
  redis_port: process.env.REDIS_PORT || 6379,
  ssl_port: process.env.SSL_PORT || 8088,
  nonssl_port: process.env.NONSSL_PORT || 8080,
  listen_address: process.env.LISTEN_ADDRESS || '0.0.0.0',  // '0.0.0.0' will accept connections only from IPv4 addresses. If you want to also accept IPv6 addresses use '::'.
  https_enabled: process.env.HTTPS_ENABLED === 'true' || false,
  redirect_http_to_https: process.env.REDIRECT_HTTP_TO_HTTPS === 'true' || false,
  redirect_www: process.env.REDIRECT_WWW === 'true' || false,
  use_compression: !('USE_COMPRESSION' in process.env) || process.env.USE_COMPRESSION === 'true',
  use_view_cache: process.env.USE_VIEW_CACHE === 'true' || false,
  use_helmet: process.env.USE_HELMET === 'true' || false, // Recommended to be true when using https
  use_helmet_hsts: process.env.USE_HELMET_HSTS === 'true' || false, // Recommended to be true when using https
  trust_proxy: process.env.TRUST_PROXY === 'true' || false, // Enable trust_proxy if you are using reverse proxy like nginx
  trust_proxy_address: process.env.TRUST_PROXY_ADDRESS || '127.0.0.1',
  http_proxy: process.env.HTTP_PROXY,
  nsfw_enabled: !('NSFW_ENABLED' in process.env) || process.env.NSFW_ENABLED === 'true', // Enable NSFW (over 18) content. If false, a warning is shown to the user before opening any NSFW post. When the NFSW content is disabled, NSFW posts are hidden from subreddits and from user page feeds. Note: Users can set this to true or false from their preferences.
  videos_muted: !('VIDEOS_MUTED' in process.env) || process.env.VIDEOS_MUTED === 'true', // Automatically mute all videos in posts
  post_comments_sort: process.env.POST_COMMENTS_SORT || 'confidence', // "confidence" is the default sorting in Reddit. Must be one of: confidence, top, new, controversial, old, random, qa, live.
  reddit_app_id: process.env.REDDIT_APP_ID || 'ABfYqdDc9qPh1w', // If "use_reddit_oauth" config key is set to true, you have to obtain your Reddit app ID. For testing purposes it's okay to use this project's default app ID. Create your Reddit app here: https://old.reddit.com/prefs/apps/. Make sure to create an "installed app" type of app.
  domain_replacements: process.env.DOMAIN_REPLACEMENTS
    ? (JSON.parse(process.env.DOMAIN_REPLACEMENTS).map(([p, r]) => [new RegExp(p, 'gm'), r]))
    : [], // Replacements for domains in outgoing links. Tuples with regular expressions to match, and replacement values. This is in addition to user-level configuration of privacyDomains.
  cache_control: !('CACHE_CONTROL' in process.env) || process.env.CACHE_CONTROL === 'true', // If true, teddit will automatically remove all cached static files. By default this is set to true.
  cache_control_interval: process.env.CACHE_CONTROL_INTERVAL || 24, // How often the cache directory for static files is emptied (in hours). Requires cache_control to be true. Default is every 24 hours.
  show_upvoted_percentage: !('SHOW_UPVOTED_PERCENTAGE' in process.env) || process.env.SHOW_UPVOTED_PERCENTAGE === 'true',
  show_upvotes: !('SHOW_UPVOTES' in process.env) || process.env.SHOW_UPVOTES === 'true', // If true, teddit will show number of upvotes in posts and points in comments.
  post_media_max_heights: {
    /**
    * Sets the max-height value for images and videos in posts.
    * Default is 'medium'.
    */
    'extra-small': 300,
    'small': 415,
    'medium': 600,
    'large': 850,
    'extra-large': 1200
  },
  setexs: {
    /**
    * Redis cache expiration values (in seconds).
    * When the cache expires, new content is fetched from Reddit's API (when
    * the given URL is revisited).
    */
    frontpage: 600,
    subreddit: 600,
    posts: 600,
    user: 600,
    searches: 600,
    sidebar: 60 * 60 * 24 * 7, // 7 days
    shorts: 60 * 60 * 24 * 31,
    wikis: 60 * 60 * 24 * 7,
    subreddits_explore: {
      front: 60 * 60 * 24 * 1,
      new_page: 60
    },
  },
  rate_limiting: {
    enabled: false,
    initial_limit: 100, // This is the amount of page loads one IP address can make in one minute without getting limited.
    limit_after_limited: 30 // When an IP is limited, this is the amount of page loads the IP can make in one minute.
  },
  valid_media_domains: process.env.VALID_MEDIA_DOMAINS
    ? JSON.parse(process.env.VALID_MEDIA_DOMAINS)
    : ['preview.redd.it', 'external-preview.redd.it', 'i.redd.it', 'v.redd.it', 'a.thumbs.redditmedia.com', 'b.thumbs.redditmedia.com', 'emoji.redditmedia.com', 'styles.redditmedia.com', 'www.redditstatic.com', 'thumbs.gfycat.com', 'i.ytimg.com', 'i.imgur.com'],
  valid_embed_video_domains: ['gfycat.com', 'youtube.com'],
  reddit_api_error_text: `Seems like your instance is either blocked (e.g. due to API rate limiting), reddit is currently down, or your API key is expired and not renewd properly. This can also happen for other reasons.`,
  /**
   * Here you can configure the suggested subreddits which are visible in the
   * cleaned homepage, and in the top bar.
   * You should keep at least 'All', and 'Saved'.
   *
   * If you set your configs with an environment variables for example with
   * docker-compose.yml, your suggested_subreddits config could be something
   * like this (note the quotes):
   * - SUGGESTED_SUBREDDITS=["Popular", "All", "Saved", "selfhosted", "linux", "datahoarder", "Monero"]
   * or
   * - 'SUGGESTED_SUBREDDITS=["Popular", "All", "Saved", "selfhosted", "linux", "datahoarder", "Monero"]'
   */
  suggested_subreddits: process.env.SUGGESTED_SUBREDDITS
                        ? JSON.parse(process.env.SUGGESTED_SUBREDDITS)
                        :
                        ['Popular', 'All', 'Saved', 'AskReddit', 'pics', 'news',
                        'worldnews', 'funny', 'tifu', 'videos', 'gaming', 'aww',
                        'todayilearned', 'gifs', 'Art', 'explainlikeimfive',
                        'movies', 'Jokes', 'TwoXChromosomes',
                        'mildlyinteresting', 'LifeProTips', 'askscience',
                        'IAmA', 'dataisbeautiful', 'books', 'science',
                        'Showerthoughts', 'gadgets', 'Futurology',
                        'nottheonion', 'history', 'sports', 'OldSchoolCool',
                        'GetMotivated', 'DIY', 'photoshopbattles', 'nosleep',
                        'Music', 'space', 'food', 'UpliftingNews', 'EarthPorn',
                        'Documentaries', 'InternetIsBeautiful',
                        'WritingPrompts', 'creepy', 'philosophy',
                        'announcements', 'listentothis', 'blog'],
};

module.exports = config;

#The stack#

Then, and as a noob, I recommend deploying this as a stack in Portainer:

spoiler

version: "3.8"

services:

  teddit:
    container_name: teddit
    image: teddit/teddit:latest
    environment:
# uncomment if running behind a reverse proxy
    #  - DOMAIN=your domain.tld
    #  - USE_HELMET=true
    #  - USE_HELMET_HSTS=true
    #  - TRUST_PROXY=true
      - REDIS_HOST=teddit-redis
    ports:
      - "8080:8080"
    networks:
      - teddit_net
    healthcheck:
      test: ["CMD", "wget" ,"--no-verbose", "--tries=1", "--spider", "http://localhost:8080/about"]
      interval: 1m
      timeout: 3s
    depends_on:
      - teddit-redis
    volumes:
      - /srv/path/Teddit/config.js:/teddit/config.js

  teddit-redis:
    container_name: teddit-redis
    image: redis:6.2.5-alpine
    command: redis-server
    environment:
      - REDIS_REPLICATION_MODE=master
    networks:
      - teddit_net

networks:
  teddit_net:

You're set up. Enjoy the few niche subs you didn't find here on Lemmy and browse them with maximum privacy :)

 

Please, comment on the thread to show people how strong, friendly and funny we all are ♥

 

It's a fun community. We are robust, we don't break, we drink milk. Read the sidebar for more info.

!nerverbrokenabone@lemmy.ml

https://lemmy.ml/c/neverbrokenabone

https://lemmy.world/c/neverbrokenabone@lemmy.ml

 

With threads coming to the Fidiverse, I feel dirty and violated. I don't care about my posts being accessible from various instances, but I fucking don't want meta to use what I write, from my username to my subbed communites and such.

I leave in Europe where the app is not allowed right now. How can I protect myself from meta ?

 

Hi. I installed the update to Android 13 the other and I hate it. I found comprehensive guided on how to downgrade, but I can't on the life of me find the rollback package for my phone.

https://oxygenos.oneplus.net/ can not be browsed and search engines return no pertinent result.

Do you know where I can find it ?

view more: ‹ prev next ›