selfhosted

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

renere, in Joplin alternative?
@renere@lemmy.blahaj.zone avatar

for simple note taking, memos github.com/usememos/memos is excellent

renere,
@renere@lemmy.blahaj.zone avatar

i should add there’s an android app you can use with it as well: MoeMemos

Shimitar,

This combo looks promising!

rambos,

I love Memos and MoeMemos, but whenever my phone lose internet I cant open my notes. That made me move to Obsidin and Syncthing (for now)

renere,
@renere@lemmy.blahaj.zone avatar

oh that’s a shame, my phone is almost never offline so ive never had that problem 😅

namelivia, in Memos - Easily capture and share your great thoughts. Open Source and Free forever

Nice! But I’m currently using Obsidian for note taking

N0x0n, (edited ) in Best practices for media + piracy server

I’m also interested :)

What I can add is that if you selfhost locally your arr stack with jellyfin, there is no need for reverse proxy, authelia…or whatsoever !

If you are going to host you stack and make it available over the net and open ports in your router, yeah it’s mandatory ! With a wireguard tunnel… (I think portainer is the way to go for most user).

Locally you can just connect to your jellyfin’s private ip without to much complicated overheat.

Just secure and isolate your torrent connection and use a good VPN (like proton VPN).

A good starting point: github.com/navilg/media-stack/blob/…/README.md

areyouevenreal,

What’s a cie?

N0x0n,

Edited! XD maybe that wasn’t the best acronym ?

An other way to express “etc” xD

areyouevenreal,

Why use a VPN instead of a proxy? I found configuring a proxy much easier. I hate to say it but that stack is too simple for my setup. It’s missing half the stuff I use. I have also been avoiding qbittorrent because of issues with it forgetting login details.

hperrin, in Joplin alternative?

You can use a WebDAV server to sync your notes in Joplin, and if your WebDAV server has a web interface, you can view your notes in a browser.

May I suggest Nephele as a good WebDAV server you can use.

Available for Docker as well.

Shimitar,

Nephele looks promising! But how to view Joplin notes from browser? They don’t seems readable directly from folders but somehow messed up

hperrin,

They’re markdown files, so you can view them in the browser.

Shimitar,

Mmm, not really? This is what i get by opening a “d8c18c2732b5476c932be62a292750f8.md” file from my Joplin storage folder:

id: d8c18c2732b5476c932be62a292750f8 parent_id: 661a69f5c0df4c7fb1a2bf0657f0e198 item_type: 1 item_id: e66b22624674439582bfd11582e0e1db item_updated_time: 1705987325033 title_diff: “[]” body_diff: “[{"diffs":[[0,"/Spaces\n"],[1,"\nNotesnook.com\n"]],"start1":119,"start2":119,"length1":8,"length2":23}]” metadata_diff: {“new”:{},“deleted”:[]} encryption_cipher_text: encryption_applied: 0 updated_time: 2024-01-23T05:22:05.194Z created_time: 2024-01-23T05:22:05.194Z type_: 13

not really human readable to me (yes, readable, but…)

hperrin, (edited )

I didn’t realize Joplin saves in such an odd format. The filename is .md, but the format is something proprietary.

What’s weird is a few of my notes don’t look like that. They look like normal Markdown. But most look just like yours.

Shimitar,

Nephele looks great. After some fiddling i couldn’t make it work with sub-paths (/path/path) so i will keep using Apache as WebDAV server, which fits my bill so far. Unfortunately Joplin notes are NOT plain text (not even .md) as far as i can see, so that is not an option.

helenslunch, in Grocery shopping apps
@helenslunch@feddit.nl avatar

Obsidian?

EarMaster,

Interesting thought. I found this blog post, but I think this is not what I’m looking for.

JASN_DE, in SOLVED. Has anyone installed Shotshare using docker-compose ?

Where does it fail?

Tiritibambix,
@Tiritibambix@lemmy.ml avatar

I struggled a lot with ports.

I still didn’t get how ports are configured in the container, but a user tried to help me and now I get an error 500

Here’s my compose (path is OMV path)


<span style="color:#323232;">version: "3.3"
</span><span style="color:#323232;">services:
</span><span style="color:#323232;">  shotshare:
</span><span style="color:#323232;">    ports:
</span><span style="color:#323232;">      - 2000:2000
</span><span style="color:#323232;">    environment:
</span><span style="color:#323232;">      - HOST=:2000
</span><span style="color:#323232;">      - ALLOW_REGISTRATION=false
</span><span style="color:#323232;">    volumes:
</span><span style="color:#323232;">      - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data:/app/storage
</span><span style="color:#323232;">      - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/database.sqlite:/app/database/database.sqlite
</span><span style="color:#323232;">      - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/.env:/app/.env
</span><span style="color:#323232;">    restart: unless-stopped
</span><span style="color:#323232;">    container_name: shotshare
</span><span style="color:#323232;">    image: mdshack/shotshare:latest
</span><span style="color:#323232;">networks: {}
</span>

image


<span style="color:#323232;">ERR | ts=1705936180.7673454 logger=http.log.access msg=handled request request={"remote_ip":"192.168.1.106","remote_port":"57659","client_ip":"192.168.1.106","proto":"HTTP/1.1","method":"GET","host":"192.168.1.104:2000","uri":"/","headers":{"Dnt":["1"],"Sec-Gpc":["1"],"Connection":["keep-alive"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"],"Accept-Language":["en-US,en;q=0.5"],"Accept-Encoding":["gzip, deflate"],"Cookie":[]}} bytes_read=0 user_id= duration=0.168065318 size=651 status=500 resp_headers={"Status":["500 Internal Server Error"],"X-Powered-By":["PHP/8.3.1"],"Cache-Control":["no-cache, private"],"Content-Encoding":["gzip"],"Vary":["Accept-Encoding"],"Server":["Caddy"],"Date":["Mon, 22 Jan 2024 15:09:40 GMT"],"Content-Type":["text/html; charset=UTF-8"]} 
</span>

I can’t wrap my head around this

mouse, (edited )
@mouse@midwest.social avatar

This appears to be the exact same problem as github.com/mdshack/shotshare/issues/31

For testing I just spun up a VM with Docker, I tried the same compose file as you. I found I had to use the volume instead of a bind mount for /app/storage.

This compose file should work.


<span style="color:#323232;">version: "3.3"
</span><span style="color:#323232;">services:
</span><span style="color:#323232;">  shotshare:
</span><span style="color:#323232;">    ports:
</span><span style="color:#323232;">      - 2000:80
</span><span style="color:#323232;">    environment:
</span><span style="color:#323232;">      - HOST=:80
</span><span style="color:#323232;">      - ALLOW_REGISTRATION=false
</span><span style="color:#323232;">    volumes:
</span><span style="color:#323232;">      - shotshare_data:/app/storage
</span><span style="color:#323232;">      - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/database.sqlite:/app/database/database.sqlite
</span><span style="color:#323232;">      - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/.env:/app/.env
</span><span style="color:#323232;">    restart: unless-stopped
</span><span style="color:#323232;">    container_name: shotshare
</span><span style="color:#323232;">    image: mdshack/shotshare:latest
</span><span style="color:#323232;">volumes:
</span><span style="color:#323232;">    shotshare_data:
</span><span style="color:#323232;">networks: {}
</span>
Tiritibambix,
@Tiritibambix@lemmy.ml avatar

Oh wow, thanks for trying this. It is working indeed.

I am an absolute begginer so let me ask. Where is shotshare_data on my machine ? Is it in docker volumes ( like /var/lib/docker/volumes/) ? Is there a way I can store data in /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/ ?

mouse,
@mouse@midwest.social avatar

It will be stored in /var/lib/docker/volumes, you can find the exact location by inspecting the volume. Use docker volume ls to list the volumes, and do docker volume inspect <volume_name> replacing <volume_name> with the one from the list. Look for “Mountpoint”, that is the exact location. You could try copying that to bind mount location, though I can’t be sure if it will continue to work.

mouse, (edited )
@mouse@midwest.social avatar

I just did another test.

You should be able to create the directories manually. I cheated by simply cloning the repo and copying them to the bind mount location like so. You can use the bind mount method like you wanted.


<span style="color:#323232;">git clone https://github.com/mdshack/shotshare
</span><span style="color:#323232;">cp -r shotshare/storage/* /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data/
</span><span style="color:#323232;">chown 82:82 -R /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data
</span>
Tiritibambix,
@Tiritibambix@lemmy.ml avatar

Oh that’s great.

So do I need to keep this ?


<span style="color:#323232;">volumes:
</span><span style="color:#323232;">    shotshare_data:
</span>
mouse,
@mouse@midwest.social avatar

No, since you are using the bind mount, you do not need to use the volume.

Tiritibambix,
@Tiritibambix@lemmy.ml avatar

Thank you very much !

mouse,
@mouse@midwest.social avatar

You’re welcome! Also thanks for asking this question, I hadn’t seen ShotShare before, it looks useful.

N0x0n, (edited )

Ugh permission issues…

I have no idea how the shotshare image works, but an easier method is to specify the puid/pgid in the docker-compose:


<span style="color:#323232;">environment:
</span><span style="color:#323232;">  - PUID=82
</span><span style="color:#323232;">  - PGID=82
</span>

If the docker image supports it, the –user flag is also helpful :).

I know those works with volume mounts, no idea about bind mounts.

MrBadApple, in Grocery shopping apps

Are there any tools that use published store ads to help with local sales when shopping?

sudoroot, (edited )
@sudoroot@lemmy.zip avatar

It’s not foss or self hostable, but Flipp does this. Pulls weekly ads you can compare.

N0x0n, (edited ) in Grocery shopping apps

I really like tandoor reciepe. Maybe not exactly what your are looking for, but who knows :).

I like how the meal planner works and that you can save your own meal reciepes, add them to a grocery list…

BUT it is maybe a bit too complex and to much features?

EarMaster,

I like the recipe management, but I dislike the grocery list for the same reason I don’t like Grocy. It is just too complex and hard to use in the store.

N0x0n,

Yeah, I know !

How I do it:

I bought a mobile holder for bicycles, and put it on the cart when I’m in the store. It works, its not perfect but I does what I need !

But i totally agree that the grocery list could be better integrated, but it’s FOSS, self-hosted and free. So I’m happy :)

rambos, in Suggestions for NAS (or other hardware) solution to home setup

I backup with kopia from one disk to another. Also having another backup to backblaze B2 cloud. Both backups are incremental and encrypted, you choose how many (daily, weekly, monthly,…) backups to keep. I have debian OS on DIY PC with OMV installed and Im happy with it

atzanteol, in Suggestions for NAS (or other hardware) solution to home setup

A fileserver that does something else is not a fileserver. Squeezing lots of services into a single machine makes it harder to maintain and keep stable.

If you do want to do that it helps to run those other services in docker or some other container to isolate them from the host.

c10l, in Recommendations on running GPTs on Asahi - M1 Ultra?

On macOS I’ve been using Ollama. It’s very easy to setup, can run as a service and expose an API.

You can talk to it directly from the CLI (ollama run ) or via applications and plugins (like continue.dev ) that consume the API.

It can run on Linux but I haven’t personally tried it.

ollama.ai

helenslunch, in Suggestions for NAS (or other hardware) solution to home setup
@helenslunch@feddit.nl avatar

Do I have to use a special NAS-specific OS to make use of the NAS hardware? Like to do snapshots and stuff?

No you don’t have to. It’s usually just the easiest way to get one up and running and will have some additional configuration options.

Kinda related: what if I install something like Debian/Ubuntu on it? Can I still use the NAS hardware in the same way?

Yeah of course. Most NAS OSs are just forks of Debian anyway.

I looked into some solutions like TrueNAS and Synology. I prefer an OS that’s free software

TrueNAS is FOSS.

vegetaaaaaaa,
@vegetaaaaaaa@lemmy.world avatar

TrueNAS is FOSS.

I don’t think it is? www.truenas.com/docs/core/…/coreeula/

vegetaaaaaaa, in Docker Container Status Displays on Public Website
@vegetaaaaaaa@lemmy.world avatar

I use netdata badges to display the current status of services/HTTP checks to my users.

Toes, in VPN speed

You mentioned that your cpu is getting maxed out on wireguard. That makes a lot of sense since it’s generally not hardware accelerated, old low end CPUs could struggle here.

What choices do you have for protocols with your VPN software?

Try AES128 UDP mode with openVPN.

rambos,

I want to use glueten container, but I’m flexible about everything else. I can try openVPN server, but not sure what AES128 means (I know its some kind of encryption, but don’t know how to use that in my case). There are many different servers to chose, Ill try few with UDP openVPN. thanks

Toes,

Ok in that case. The goal is to use a cipher suite that works well on your device that is still secure. AES is accelerated on most processors these days. But you’ll want to confirm that by looking up your specific cpu (both host and client machines!) and checking for AES acceleration.

AES-128-GCM would be my suggestion.

UDP mode provides less overhead, so it should be faster for you.

Alternatively you could use IPsec instead of openvpn but that’s a chore to configure. But it has the benefit of being free and being natively supported by many devices.

You would still want to configure an appropriate cipher suite that’s fast and secure.

rambos,

My CPU (g3930) supports Intel AES New Instructions if thats it. Ill look more into it, thank you

Toes, (edited )

Yeah give that a go. Glad to help 🙂

narc0tic_bird, in VPN speed

Use Wireguard instead of OpenVPN.

rambos,

I am, but as others said I think my CPU cant handle it

  • All
  • Subscribed
  • Moderated
  • Favorites
  • selfhosted@lemmy.world
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #