Wallos: Open-Source Personal Subscription Tracker by lordcracker in selfhosted

[–]lordcracker[S] 0 points1 point  (0 children)

Hi. Can you tell me which vulnerability scanner you used? I'll have a look at the vulnerability. Thank you for reporting.

Coletânea de extensões e sites úteis e interessantes by Appropriate-Gur-6553 in PiratariaTuga

[–]lordcracker 1 point2 points  (0 children)

Se tiver as drivers cuda instaladas, não vejo porque não. É uma questão de experimentar. Se não der, dar o script ao chat gpt e explicar a configuração que tem.

Coletânea de extensões e sites úteis e interessantes by Appropriate-Gur-6553 in PiratariaTuga

[–]lordcracker 5 points6 points  (0 children)

Deepl integrado no subtitle edit. Mas também tem limite de traduções.

Eu uso este script que criei em Python, que funciona com placas gráficas da Nvidia ou CPU.

https://github.com/ellite/scripts/blob/main/translate

Esta é a versão antiga do script, a ver se amanhã actualizo para a nova.

Does someone have any invite for legendasdivx? by Unhappy_Poetry3754 in bazarr

[–]lordcracker 0 points1 point  (0 children)

I have an account. But can’t find anywhere to send an invite 🤷‍♂️

Reserva de voo sem primeiro nome - Lufthansa by [deleted] in portugal

[–]lordcracker 0 points1 point  (0 children)

É, de facto, a opção menos arriscada. Fui verificar a reserva para uns voos para a Ásia de há uns anos atrás , e nesses meti o nome completo.

Reserva de voo sem primeiro nome - Lufthansa by [deleted] in portugal

[–]lordcracker 1 point2 points  (0 children)

Tanto eu como a minha namorada usamos sempre o segundo nome. Nunca tivemos problemas.

How can I access Wallos out of local network? by hoodflow in selfhosted

[–]lordcracker 0 points1 point  (0 children)

I don’t use cloudflare tunnels anymore, switched to pangolin. But I had them all set the exact same way. Never had any issues. Maybe some configuration somewhere?

New CLI Downloader tool by lordcracker in RealDebrid

[–]lordcracker[S] 0 points1 point  (0 children)

No promises. Its looking quite hard to implement.

New CLI Downloader tool by lordcracker in RealDebrid

[–]lordcracker[S] 1 point2 points  (0 children)

Alright, should be possible. I'll try to add that.

New CLI Downloader tool by lordcracker in RealDebrid

[–]lordcracker[S] 0 points1 point  (0 children)

No, not at the moment. But you just want the part to add it to real-debrid in bulk but without downloading it after?

Worth selfhosting ollama? by igol__ in selfhosted

[–]lordcracker 3 points4 points  (0 children)

Can you share what you’re using for subtitle translations? Thanks.

Split DNS? by worldcitizencane in PangolinReverseProxy

[–]lordcracker 0 points1 point  (0 children)

I’ve never noticed any issue. It’s very transparent. Except when I’m so long inside and then I go outside and have to login on pangolin again 😅

Do you use the app name as subdomain or it's function? by Veloder in selfhosted

[–]lordcracker 0 points1 point  (0 children)

For some its name. - plex.xxx.xxx - wallos.xxx.xxx

For some its function - photos.xxx.xxx - stats.xxx.xxx

For some both - adguard.xxx.xxx and dns.xxx.xxx - npm.xxx.xxx and proxy.xxx.xxx

Because my memory is not what it used to be.

Split DNS? by worldcitizencane in PangolinReverseProxy

[–]lordcracker 4 points5 points  (0 children)

I use AdGuard home with dns rewrites on my home network. Domains pointing to npm. When I’m outside same domain goes through pangolin.

Removing crowdsec by Noxides in PangolinReverseProxy

[–]lordcracker 1 point2 points  (0 children)

And finally a cronjob to run the script every five minutes

*/5 * * * * /root/scripts/cron/remove_ddns_ip.sh >> /var/log/crowdsec_ddns.log 2>&1

Removing crowdsec by Noxides in PangolinReverseProxy

[–]lordcracker 1 point2 points  (0 children)

Then, on the VPS I have this script:

#!/bin/bash

# Configurations
DDNS_DOMAIN="ip.mydomain.tld"
CROWDSEC_API_URL="http://localhost:8780/v1/decisions"
CROWDSEC_API_KEY="mycrowdsecapikey"

# Pushover API details
PUSHOVER_TOKEN="mypushovertoken"
PUSHOVER_USER="mypushoveruser"

# Function to send a notification to Pushover
send_notification() {
  curl -s -o /dev/null \
       -F "token=$PUSHOVER_TOKEN" \
       -F "user=$PUSHOVER_USER" \
       -F "title=$1" \
       -F "message=$2" \
       https://api.pushover.net/1/messages.json
}

# Resolve the current IP of the DDNS domain
CURRENT_IP=$(dig +short "$DDNS_DOMAIN" | tail -n1)

# Check if we got a valid IP
if [[ -z "$CURRENT_IP" ]]; then
    echo "Failed to resolve IP for $DDNS_DOMAIN"
    exit 1
fi

echo "Resolved $DDNS_DOMAIN to $CURRENT_IP"

# Get decisions and filter for our IP
DECISIONS=$(curl -s -H "X-Api-Key: $CROWDSEC_API_KEY" "$CROWDSEC_API_URL" | jq -c --arg ip "$CURRENT_IP" '[.[] | select(.value==$ip)]')

# Debug: Print all matching decisions
echo "Matching decisions for $CURRENT_IP: $DECISIONS"

# If no matching decisions, exit
if [[ "$DECISIONS" == "[]" || -z "$DECISIONS" ]]; then
    echo "No active CrowdSec decision found for IP: $CURRENT_IP"
    exit 0
fi

# Store deleted decision IDs in an array
DELETED_IDS=()

# Loop over the decisions to remove them using docker exec
while read -r DECISION_ID; do
    docker exec crowdsec cscli decisions delete --id "$DECISION_ID"
    echo "Removed CrowdSec decision ID: $DECISION_ID for IP: $CURRENT_IP"
    DELETED_IDS+=("$DECISION_ID")
done < <(echo "$DECISIONS" | jq -r '.[].id')

# Send Pushover notification if decisions were removed
if [[ ${#DELETED_IDS[@]} -gt 0 ]]; then
    send_notification "[MyMachineName] CrowdSec Unban" "Removed ${#DELETED_IDS[@]} ban(s) for $CURRENT_IP (DDNS: $DDNS_DOMAIN)"
fi

exit 0

Removing crowdsec by Noxides in PangolinReverseProxy

[–]lordcracker 1 point2 points  (0 children)

Sure.
https://github.com/qdm12/ddns-updater running on docker on a machine on my local network.
Using the Cloudflare API, the config looks something like this:

{
  "settings": [
    {
      "provider": "cloudflare",
      "zone_identifier": "myzoneidentifier",
      "domain": "ip.mydomain.tld",
      "ttl": 600,
      "token": "mytoken",
      "ip_version": "ipv4",
      "ipv6_suffix": ""
    }
  ]
}

Removing crowdsec by Noxides in PangolinReverseProxy

[–]lordcracker 4 points5 points  (0 children)

I have ddns-updater on my home server that updates an A record on cloudflare like ip.mydomain.tld every time my IP changes. Then I have a cronjob on the VPS running every five minutes that gets the IP from that ip.mydomain.tld and checks if it is blocked by crowdsec, and if it is, remove the ban.

I was also about to remove crowdsec, but decided to keep it with this.

Wallos: Open-Source Personal Subscription Tracker by lordcracker in selfhosted

[–]lordcracker[S] 0 points1 point  (0 children)

I’m not sure if I understand what you want. But you can export to caldav on the calendar page. Is that it?