←back to thread

131 points tosh | 7 comments | | HN request time: 0.609s | source | bottom
Show context
moonshot5 ◴[] No.44364547[source]
For zsh users who like this idea and don't want to have to worry about anything leaving the device (not to insinuate that Atuin is doing anything below board, I don't think they are) I built my own version of this for myself called raven:

https://github.com/tylersaunders/raven

Raven has no sync component, stores your history in a sqlite, and never tries to move data off the device. It has a similar / large overlap in features with Atuin.

Sharing here in case anyone else could benefit from it, it only supports zsh for the moment since that's what I use.

Atuin is great though!

replies(3): >>44364554 #>>44364569 #>>44364574 #
1. ellieh ◴[] No.44364574[source]
our sync is opt-in + optional, e2e encrypted, and self-hostable.

if that's not enough, you can disable all network features via a feature flag at compile time

if you don't care for sync, there are a bunch of other projects doing this (and supporting several shells), eg:

- mcfly: https://github.com/cantino/mcfly

- resh: https://github.com/curusarn/resh

replies(3): >>44364848 #>>44365180 #>>44367099 #
2. nidnogg ◴[] No.44364848[source]
this is my only quip with atuin, despite my endorsement in a sibling comment. this should absolutely be opted-out BY DEFAULT. not defaulted to opt-in.

if you have someone outright cloning your entire project just to skip this opted-in privacy gap feature, it's a good indicator it's an issue to be mindful of!

replies(3): >>44364869 #>>44364873 #>>44364879 #
3. phaer ◴[] No.44364869[source]
I think you might be mixing them up?

Opt-in means that the user needs to actively decide to use the feature, it's OFF by default. That's currently the case for atuin (happy user without sync here).

Opt-out would mean the feature would be ON by default and users would need to actively decide NOT to use it.

4. ellieh ◴[] No.44364873[source]
You actually have to go and register an account or log in for sync to happen at all

Otherwise it’s offline, by default, right after install

5. fluidcruft ◴[] No.44364879[source]
Isn't it off by default? That's what opt-in means as far as I know.
6. electromech ◴[] No.44365180[source]
I am happy Atuin user now, but I was initially worried that it would sync my data unless I explicitly disabled that feature. The fact that it's opt-in becomes clear once you read the docs and understand how it works, but it might be worth emphasizing that on the landing page. Currently it says:

    Shell history sync
    Sync your shell history to all of your machines, wherever they are
In any case, thanks for building a great tool!
7. yjftsjthsd-h ◴[] No.44367099[source]
> if that's not enough, you can disable all network features via a feature flag at compile time

Are there network features other than sync?