Comments (3)
Could I have a try at implementing and possibly maintaining this? Isn't pull just cloning the server's database file and adding its unique rows to the client's own? Push is everything backwards: first cloning the server's database file, adding the client's unique rows to it and updating it back on the server (or launch a small process on the server to do it all with SQLite's lock mechanism). Please tell me if I have the wrong idea of the codebase as I haven't contributed to Atuin yet. I'm looking forward to have shell integration (perhaps automatic SSH syncing before, during(?) and after sessions) and easy commands like originally noted.
At it's easiest (not simplest):
ssh -q machine cat '~'/.local/share/atuin.db | atuin merge-database -
# Needs passwordless authentication because stdin is piped so
# that's something to fix with "easy commands" ˇˇˇ
cat ~/.local/share/atuin.db | ssh machine atuin merge-database -
from atuin.
This would be super cool to have! I don't think it would be particularly complex to implement either - could add atuin export
that would basically just dump the database to stdout, and then atuin import dump
(or similar) to read from stdin
Thank you for the suggestion ✨
from atuin.
This would be super cool to have!
I still agree with what I said a year ago yesterday, but I don't think we will ever implement this. I'd rather focus on maintaining just one method of sync
from atuin.
Related Issues (20)
- [Bug]: Scrolling in tmux window invokes Atuin history panel
- [Bug]: Defaults to fish and conf.d ? HOT 4
- [Feature Request]: Allow to save locally command history having secrets but have an ooption to prevent from sending it over the server HOT 2
- Unable to import structured history data from hishtory into atuin and have the atuin program search it HOT 1
- [Bug]: typing more of a string makes it a worse match HOT 3
- Feature request: sync config.toml
- [Bug]: Atuin fzf search to behave the same like my zsh fzf search
- [Bug]: atuin status with Error: unexpected trailing characters; the end of input was expected HOT 1
- [Bug]: atuin + starship + zsh + accept-line override is clearing previous command? HOT 1
- [Bug]: sqlite database corruption on network filesystem AFS HOT 1
- [Bug]: Cannot install on NixOS
- [Bug]: some commands are missed by atuin for no apparent reason? HOT 3
- feature request: allow disable "/" keybind applicable when "ctrl+r" is enabled (for ble.sh compatibility)
- [Bug]: Fish shell plugin not loaded on startup
- [Feature request]: search match syntax highlight HOT 1
- [Bug]: Non-interactive search with limit=1 much slower when query is empty
- Feature: select entries using number in vim-normal mode HOT 1
- Feature HOT 2
- [Bug]: build fails with `atuin` depends on `env_logger`, with features: `anstream` but `env_logger` does not have these features. HOT 3
- [Bug]: panic/crash when executing on i686 system HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atuin.