mim

joined 1 year ago
[–] mim@lemmy.sdf.org 7 points 1 year ago (2 children)

Hexbear? I wasn't expecting that.

Apologies to hexbear users that I may have called Chinese bots. You were just useful idiots after all.

[–] mim@lemmy.sdf.org 3 points 1 year ago* (last edited 1 year ago) (1 children)

Sounds like a full time job. Must be exhausting.

Ain't nobody got time for that.

[–] mim@lemmy.sdf.org 20 points 1 year ago (12 children)

Polyamory is already mainly an upper class thing.

You are hard-pressed to find poly groups in rural areas and blue collar workers. It's usually first-world college educated urbanites.

[–] mim@lemmy.sdf.org 17 points 1 year ago (2 children)

Fascinating country.

It's worth more than one visit, just due to its huge diversity. Food is amazing, and it's very lively. But you have to get used to it, and go with the flow. If you can't live without all the first world luxuries and/or don't feel comfortable stepping outside your bubble, don't go, it's not the place for you.

Would I live there? No. And I'm deeply saddened by the political direction it's heading in. But don't form opinions about countries you've never been to.

[–] mim@lemmy.sdf.org 5 points 1 year ago

He looks like Patrick from SpongeBob.

[–] mim@lemmy.sdf.org 27 points 1 year ago* (last edited 1 year ago)

Nothing says desperation like going to a country even more sanctioned to buy some weapons.

[–] mim@lemmy.sdf.org 2 points 1 year ago* (last edited 1 year ago)

I don't self-host a lot of things, but I'd say this is not the easiest I've done, just because it involves setting up multiple containers (unlike something like SearXNG). Also thought that I had to set-up an SMTP container, but I got away with not having to do it.

I used ansible (and pass to store credentials), so this is how I did it (maybe someone can pitch in and tell me what I can improve):

- name: Deploy Wallabag database
  community.docker.docker_container:
    name: db_wallabag
    image: mariadb
    recreate: true
    state: started
    memory: 500MB
    restart_policy: always
    log_options:
      max-size: "10m"
      max-file: "1"
    env:
      MYSQL_ROOT_PASSWORD: "{{ lookup('community.general.passwordstore', 'self_host_containers/wallabag_mysql_root_password', missing='warn') }}"
    volumes:
    - ~/wallabag/data:/var/lib/mysql
    healthcheck:
      test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
      interval: 20s
      timeout: 3s

- name: Deploy Wallabag redis
  community.docker.docker_container:
    name: redis_wallabag
    image: redis:alpine
    recreate: true
    state: started
    memory: 500MB
    restart_policy: always
    log_options:
      max-size: "10m"
      max-file: "1"
    links:
    - "db_wallabag:db_wallabag"
    healthcheck:
      test: ["CMD", "redis-cli", "ping"]
      interval: 20s
      timeout: 3s

- name: Deploy Wallabag
  community.docker.docker_container:
    image: wallabag/wallabag:latest
    name: wallabag
    recreate: true
    state: started
    memory: 500MB
    restart_policy: always
    log_options:
      max-size: "10m"
      max-file: "1"
    links:
    - "redis_wallabag:redis_wallabag"
    - "db_wallabag:db_wallabag"
    ports:
    - "80"
    env:
      MYSQL_ROOT_PASSWORD: "{{ lookup('community.general.passwordstore', 'self_host_containers/wallabag_mysql_root_password', missing='warn') }}"
      SYMFONY__ENV__DATABASE_DRIVER: pdo_mysql
      SYMFONY__ENV__DATABASE_HOST: db_wallabag
      SYMFONY__ENV__DATABASE_PORT: "3306"
      SYMFONY__ENV__DATABASE_NAME: db_wallabag
      SYMFONY__ENV__DATABASE_USER: db_wallabag
      SYMFONY__ENV__DATABASE_PASSWORD: "{{ lookup('community.general.passwordstore', 'self_host_containers/wallabag_symfony_env_database_password', missing='warn') }}"
      SYMFONY__ENV__DATABASE_CHARSET: utf8mb4
      SYMFONY__ENV__DATABASE_TABLE_PREFIX: "wallabag_"
      SYMFONY__ENV__MAILER_DSN: smtp://127.0.0.1
      SYMFONY__ENV__FROM_EMAIL: wallabag@example.com
      SYMFONY__ENV__DOMAIN_NAME: 
      SYMFONY__ENV__SERVER_NAME: 
    volumes:
    - ~/wallabag/images:/var/www/wallabag/web/assets/images
    - ~/wallabag/data:/var/www/wallabag/data
    healthcheck:
      test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost"]
      interval: 1m
      timeout: 3s


Then I set up caddy for the reverse proxy

- name: Upload Caddyfile
  ansible.builtin.copy:
    src: ./upload_files/Caddyfile
    dest: ~/Caddyfile

- name: Deploy caddy
  community.docker.docker_container:
    image: caddy:2
    name: caddy
    user: "1000:1000"
    recreate: true
    state: started
    memory: 500MB
    restart_policy: always
    log_options:
      max-size: "10m"
      max-file: "1"
    links:
    - "wallabag:wallabag"
    ports:
    - "80:80"
    - "443:443"
    volumes:
    - ~/Caddyfile:/etc/caddy/Caddyfile
    - ~/caddy_data:/data
    - ~/caddy_config:/config

And this is the Caddyfile

my.url.com {
    reverse_proxy wallabag:80
}

Finally, you then have to login with user:wallabag and password:wallabag and change them in the webUI. I changed the "wallabag" user to my user and set a new password.

[–] mim@lemmy.sdf.org 6 points 1 year ago* (last edited 1 year ago) (1 children)

I'm in the US and "lefty" might mean something different for me than it does for you. Where I live and the sites I go on - have leftys on there but no, they never use the term tankie.

As I mentioned, it's used in discussion circles with leftists beyond center left (i.e. someone who's more left than Bernie Sanders): Anarchists, Marxists, Maoists, etc. Lemmy might be the only site you go to that has a sizable proportion of these.

On Reddit, if you go to places like r/anarchism, r/socialism, r/stupidpol, you get to see it being used.

Annoying is an opinion yes, but I'm saying its annoying because of how often it is brought up.

It's brought up a lot here because there are a lot of them on lemmy. You'd never hear people around your neighborhood complain about something that doesn't happen in your neighborhood.

Maybe you are not seeing as many because your instance might block them. But I see them all the time is news articles about Ukraine or North Korea.

I see that there's a discussion thread that goes on about this, not gonna get involved on that.

[–] mim@lemmy.sdf.org 3 points 1 year ago

You're welcome!

[–] mim@lemmy.sdf.org 22 points 1 year ago* (last edited 1 year ago) (4 children)

Wallabag.

I self-host my own instace, save articles I want to read from my laptop, and then they sync with the app on my phone. I read them offline when I have some time to kill

[–] mim@lemmy.sdf.org 12 points 1 year ago* (last edited 1 year ago) (8 children)

It's a very common word in leftist circles. So if Lemmy is your first contact with leftists (beyond center left), then that explains it.

Being annoying is your opinion, but it's not a buzzword that someone from gen z invented recently.

[–] mim@lemmy.sdf.org 17 points 1 year ago (11 children)

The term goes back to the 50s and 60s, hardly a buzzword.

Sorry to tell you, but you've been living under a rock.

https://en.m.wikipedia.org/wiki/Tankie

 

I am currently self-hosting a meta search engine instance (searxng), which allows me combine searches from different engines (e.g. Google, Bing, Yahoo, etc), but also to filter out websites that I don't want to show up.

The only website to make my blacklist so far is slant.co (useless SEO-riddled site that always comes up when I search for software comparisons). I also automatically redirect all reddit.com links to old.reddit.com.

I'm looking to expand this list. So, which websites do you blacklist? Either using software, or just mentally.

 

I was reading this guide on how to run a snowflake proxy, and I'm considering doing it.

https://snowflake.torproject.org/

I'm currently renting a small VPS for my self-hosted services, and I have some spare capacity. So I was wondering, are there any downsides that I might be overlooking?

My self-hosted services are on a URL with my real name. Could there be any privacy or legal implications for me? (I don't live under an authoritarian regime)

17
submitted 1 year ago* (last edited 1 year ago) by mim@lemmy.sdf.org to c/privacy@lemmy.ml
 

age seems to be the new hot thing to encrypt data.

However, when you generate a key pair, the private key just sits as a plaintext file on your computer.

Maybe I'm too used to PGP, but this makes me a bit nervous. There doesn't see to be a key manager that allows you to pass in a key id with which you encrypt / decrypt. It's all done using the public key directly in the command line (for encrypting), or the plaintext private key file (to decrypt).

Am I missing something? Is there a better / easier way to manage these private key files?

view more: next ›