this post was submitted on 15 Jul 2023
48 points (94.4% liked)

Selfhosted

39435 readers
5 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I just discovered this. Sync's your shell history between multiple servers. You can use their free, open source server (your history is encrypted) or run your own server.

No affiliation with the project, just thought it looked useful!

Atuin is a command-line tool that enables you to make better use of your shell, by giving ctrl-r superpowers.

Every line you write is stored - ready to be queried and run again at any point, from any machine you wish. Never forget again!

Sync your history between all of your machines, and search it from anywhere

top 7 comments
sorted by: hot top controversial new old
[–] [email protected] 8 points 1 year ago

This is pretty cool, make sure you go to the GitHub for it to grab the docker compose file if you want to self host since most of the documentation seems to default to the hosted version.

[–] [email protected] 3 points 1 year ago (1 children)

Been using this for a few months and now I don't know how I lived without it before.

[–] [email protected] 2 points 1 year ago

Exactly the same happened to me. It just feels so natural. I run basically every single command with the Atuin up key. It is faster then typing it all again and again. Atuin is what the history search in terminal should have always been.

[–] [email protected] 2 points 1 year ago (3 children)

Can’t wait to accidentally run rm -fr

[–] [email protected] 2 points 1 year ago

A friend's pet ferret jumped onto my keyboard once, right as I was typing rm -rf /... on a work machine ... exciting!

[–] YonatanAvhar 1 points 1 year ago* (last edited 1 year ago)

I made my shell (fish) auto-delete invocations of rm from my history when I run them so I never get autocomplete from past rms

https://github.com/yonatan8070/dotfiles/blob/1f3edcedbc6863317fe6eb4df8acb14123fcb00a/fish/.config/fish/functions/prompt.fish#L25C1-L25C1

[–] [email protected] 1 points 1 year ago

You forgot the /