Skip to content

new: Hister guide - #2019

Draft
comet73 wants to merge 2 commits into
Uberspace:mainfrom
comet73:main
Draft

new: Hister guide#2019
comet73 wants to merge 2 commits into
Uberspace:mainfrom
comet73:main

Conversation

@comet73

@comet73 comet73 commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Guide for setting up Hister (personal search index).

Comment thread source/guide_hister.rst
Prerequisites
=============

You might want to expose Hister under a specific sub domain:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't mention additional document roots. Keep it simple. Don't use subfolders. Always use the standard document root ~/html. Always assume the document root is empty.

https://github.com/Uberspace/lab/blob/main/STYLE.md

Comment thread source/guide_hister.rst
.. include:: includes/web-backend.rst

.. note::
Uberspace's web backend will handle HTTPS and proxy all requests (including WebSockets) to your Hister service.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd strike that note. Web Backends are explained in the backends manual article.

Comment thread source/guide_hister.rst

Download the latest Hister binary from the releases_ page and place it in your ``~/bin`` directory:

[user@stardust ~]$ wget -O ~/bin/hister https://github.com/asciimoo/hister/releases/download/v0.15.0/hister_0.15.0_linux_amd64

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is missing a

.. code-block::

Comment thread source/guide_hister.rst

Create additional users accordingly.

Security

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not necessary. Files and folders in your home folder are not world-readable by default.

Comment thread source/guide_hister.rst

.. code-block:: console

[user@stardust ~]$ hister create-config ~/.config/hister/config.yml

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

include (expected) command output

✓ Config file created: /home/isabell/.config/hister/config.yml

Comment thread source/guide_hister.rst

.. code-block:: console

[isabell@stardust ~]$ hister listen

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

include expected command output

2026-07-10T11:30:52Z | INFO   | server/server.go:189 > Starting webserver Address=0.0.0.0:4433 URL=https://isabell.uber.space/ Version="v0.15.0 (6c51924)"

Comment thread source/guide_hister.rst
To run Hister behind Uberspace's native web backend (reverse proxy), you need to:

- Set Hister to listen on interface ``0.0.0.0:4433`` by editing the entry server/address in ``~/.config/hister/config.yml``.
- Configure your public domain that you have created above by setting ``server/base_url`` e.g. ``https://hister.user.uber.space``.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

assume isabell.uber.space

Comment thread source/guide_hister.rst
autostart=true
autorestart=true
stopsignal=INT
startsecs=5

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you're setting up a supervisord-service, make sure to include startsecs=60 in the service definition.

Comment thread source/guide_hister.rst
-------------------------------

Now, connect the Uberspace web backend to your running Hister instance
(use the port configured in your configuration file, like ``4433`` and your configured domain name instead of /):

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just assume the default.

.. note::
  Hister is running on port 4433.

Comment thread source/guide_hister.rst
Usage
=====

Test your setup by visiting your instance in a browser: ``https://hister.user.uber.space``.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

assume isabell.uber.space

@salocinhb
salocinhb marked this pull request as draft July 14, 2026 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants