this post was submitted on 23 Aug 2023
19 points (95.2% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

54627 readers
561 users here now

⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don't request invites, trade, sell, or self-promote

3. Don't request or link to specific pirated titles, including DMs

4. Don't submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder

📜 c/Piracy Wiki (Community Edition):


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 1 year ago
MODERATORS
 

Hey everyone,

I’m reaching out because I could use some help or guidance here. So, I kinda ended up being the go-to person for collecting and storing data in a project I’m involved in with my team. We’ve got a bunch of data, like tens of thousands of files, and we’re using nextcloud to make it accessible to our users. The thing is, we’re facing a bit of a challenge with the search function on nextcloud when accessed through a public link. Being that there isn’t a search function. While we really appreciate the features it offers from an administrative standpoint, it’s not working that well for our users.

I was wondering if anyone has any suggestions or resources that could point us in the right direction for this project? It would be super awesome if it’s something open-source and privacy retaining. 😄

Thanks a bunch in advance!

top 16 comments
sorted by: hot top controversial new old
[–] rambos@lemm.ee 10 points 1 year ago

Just want to let you know there is a nextcloud and selfhosted community on lemmy

[–] antlion@lemmy.dbzer0.com 9 points 1 year ago (1 children)

That is a new one for us! Thank you for the info I will do some research!

[–] luthis@lemmy.nz 7 points 1 year ago (1 children)

Already read this? https://github.com/nextcloud/server/issues/39162

Seems like there is active work on improving search with nextcloud.

I've never heard of it before this.

I use Mega. It has a search function. No idea how fast it would be in your use case though.

Not open source though.

Yeah our problem is we are hosting everything on a website for public use. I didn't know that they were working on public search I will give that a read thank you!

[–] FuckyWucky@hexbear.net 3 points 1 year ago (1 children)
[–] 500PuzzlePieces@lemmy.dbzer0.com 1 points 1 year ago (1 children)

Is there a specific version of Webdav you'd suggest? another user suggested using SFTPGo, do you have any preferences?

[–] FuckyWucky@hexbear.net 1 points 1 year ago* (last edited 1 year ago)

I use this one

https://hub.docker.com/r/ugeek/webdav

Its not been updated in a while though. I've found performance to be roughly the same.

Sftpgo includes webdav too so that too could work

Advantage of webdav is that you can view it in browser if needed

[–] swirls@lemmy.dbzer0.com 2 points 1 year ago* (last edited 1 year ago) (1 children)

If they're well named files, just spin up a webDAV server via rclone and search by file name in the browser. You could also use davfs2 to mount the server locally in a directory and then filter through the content with fd | fzf

If they're text files, spin up a docker with Forgejo (formerly gitea) and enable the bleve search indexer.

If you wanted to get really fancy, you could have wikijs in the same docker container, use git as a backend and get a wiki that's easy to fork and distribute among the team.

[–] 500PuzzlePieces@lemmy.dbzer0.com 1 points 1 year ago (1 children)

Would the rclone method work with a public website? I only have a vague familiarity with rclone from the .edu google drive days.

[–] swirls@lemmy.dbzer0.com 1 points 1 year ago

Of course, it's just a http server. All you have to do is port-forward.

[–] anzo@programming.dev 2 points 1 year ago

I understand these files are not images or binary. But you should specify a bit better if they're PDF, XLS, DOC, etc or what else...

I'm sure that apache solr or elasticsearch can index these files. And there are nextcloud apps to integrate such indexes. For example, this one https://github.com/nextcloud/fulltextsearch/wiki

[–] crow@beehaw.org 2 points 1 year ago (1 children)

I’ve had great experiences with SFTPGo.

[–] 500PuzzlePieces@lemmy.dbzer0.com 1 points 1 year ago (1 children)

This one already looks extremely interesting. Have you had any experience utilizing it with a public facing website?

[–] crow@beehaw.org 1 points 1 year ago

I’ve had it hosted for a bit, but there’s no branding options I know of like Nextcloud has so I only use it as a backup file server. One thing I really like it has built in 2FA.

[–] JoMiran@lemmy.ml 0 points 1 year ago

Have you looked into combining Cryptomator with commercial cloud storage? Once mounted, you can search the directory like any other local drive. I only use it for my work directory so that I can maintain an encrypted cloud backup, so I am not sure how well it does when working in a multi-user environment with different levels of access.