asciimoo
@asciimoo@lemmy.ml
- Comment on Hister: a private search engine 2 weeks ago:
How do i use environment variables to make a indexer? I couldn’t get it to work
Repeatable config options are not supported from env vars. In this case you have to mount a config file to your container. But, if you want to track local files from docker, you have to mount those files/directories anyway. I suggest to use the standalone binary release if you’d like to track local files, it is way more convenient.
- Comment on Hister: a private search engine 2 weeks ago:
can i connect it to other services like paperless, or would i need to manually import files?
Hister supports importing data from a few services, but paperless isn’t supported yet. More details: hister.org/docs/import
Is it better to run it in docker or e.g. a LXC in proxmox? If i want to index files, it seems it needs the config.yml file
Docker is perfectly fine. Every settings option from the config file can specified using environment variables. The syntax is
HISTER__[SECTION]__[OPTION]=[VALUE].After just playing with it for a day, the disk usage is 150 MB
Probably most of the disk space is occupied by the Hister binary which contains all the N-grams required to identify ~30 languages. The index should be much smaller.
I figure I should use postgres instead of sqlite.
SQLite is more than enough for personal use, but if you prefer to use postgres, just specify the standard DSN formatted connection data to the
server.databaseconfig option: hister.org/docs/configuration#database-backendshow to set that up, preferably with docker
Use the
HISTER__SERVER__DATABASE=“host=localhost user=hister password=hister dbname=hister port=5432”environment variable.I am not familiar with pgvector
Hister automatically creates the database model and handles the migrations if required.
- Comment on Hister: a private search engine 2 weeks ago:
Currently it is not planned. Hister guarantees that non of your data/query/metadata leaves the service if you use it. As I see, this is a more valuable and unique feature than having an integrated metasearch. There are already great metasearch solutions and Hister provides an easy fallback to search providers, so in my opinion this direction would be more of a sacrifice than an improvement.
- Comment on Hister: a private search engine 3 weeks ago:
Though maybe the resource folder can be ignored and the html file can already be imported?
It depends. Hister always requires a unique URL for each document. SingleFile snapshots include the original URL of the document as a meta HTML element. I’m not sure if the built-in page saver provides URL information.
- Comment on Hister: a private search engine 3 weeks ago:
I’d appreciate it, thanks. No special requirements. Providing sensible defaults and explaining usage/potential customization options would be great.
- Comment on Hister: a private search engine 3 weeks ago:
Exactly, the echo chamber phenomenon is mostly problematic for “discovery type” searches while Hister is mainly for “recall type” search.
Implementing federated search/index sharing could be a partial solution to this issue in the long run.
- Comment on Hister: a private search engine 3 weeks ago:
Oh damn this could replace the bookmakers.
The inspiration for Hister was a bookmarking app, but I realized that I always forget to manually trigger the bookmarking and I miss so many great resources.
Would it be possible to attach an HTML file from like single
Currently you can import SingleFile HTMLs using the
hister import filecommand, but no further integrations are implemented yet. Although, rendering the exact SinglePage file as a preview can be added relatively quickly. It would be also nice to accept files directly from the SingleFile extension.Thanks for the good suggestion, I’ve added it to my TODO! =]
- Comment on Hister: a private search engine 3 weeks ago:
Federated search is the direction I’d like to go when the core is mature enough.
I’m still trying to figure out the best approach to make the federation secure (no accidental private/confidential data leak) and easy to use. Related conversations: github.com/asciimoo/hister/discussions/432 & github.com/asciimoo/hister/issues/387 . I’d appreciate help to figure out an optimal solution.
- Comment on Hister: a private search engine 3 weeks ago:
Thanks for letting me know. I’ve updated the post.
- Submitted 3 weeks ago to selfhosted@lemmy.world | 31 comments