• 2 Posts
  • 16 Comments
Joined 3 months ago
cake
Cake day: May 4th, 2026

help-circle
  • 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.


  • 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: https://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.database config option: https://hister.org/docs/configuration#database-backends

    how 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.


  • 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.




  • Is there a TTL / max database size per user setting?

    As I wrote, you can simply automate deletion by document age. Schedule a delete event on each day with the desired retention time defined as a filter expression. Database size limit isn’t available yet.

    Additionally, is the other parenthetical information materially correct? If not, which points [1 thru to 7] are wrong?

    No, sorry, I don’t have time to correct a copy of a multiple screens long AI prompt.

    I would like to further recommend Hister but your documentation is somewhat confusing at first blush.

    Which parts are confusing?


  • The summary has numerous inaccuracies. Most importantly: it is pretty easy to delete content by topic or age. The hister delete command can accept a search query to remove only matched documents. The same is true on the web UI “actions -> remove all matching documents”. You can quickly filter by age, simply query updated:>365d. Combine it with URLs, labels, domains or phrases.








  • 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 file

    Currently you can import SingleFile HTMLs using the hister import file command, 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! =]