feat (ct): add atuin - #2173
Conversation
Try this scriptCOMMUNITY_SCRIPTS_URL=https://raw.githubusercontent.com/pascaldevink/ProxmoxVED/pascaldevink/atuin \
bash -c "$(curl -fsSL https://raw.githubusercontent.com/pascaldevink/ProxmoxVED/pascaldevink/atuin/ct/atuin.sh)"
Against a core branch as wellAdd Useful flags while testing
|
|
I have multiple machines that I want to sync the terminal history for. This is useful for example when that useful bash one-liner I executed at my home machine is also one I need at work, or on the go. Atuin offers a centralised store in which they say everything is stored encrypted, but they also offer this self-hosted version of their server. Since setup is a bit involved, with a database, I think having it as a CT script, with easy updating and sane defaults could be very useful |
|
so is this a server that atuin interacts with to sync or is this a ct that is just a shell with atuin installed? |
|
@asylumexp This is a server that atuin interacts with |
| PG_DB_NAME="atuin" PG_DB_USER="atuin" setup_postgresql_db | ||
|
|
||
| msg_info "Installing Atuin" | ||
| curl --proto '=https' --tlsv1.2 -LsSf https://github.com/atuinsh/atuin/releases/latest/download/atuin-server-installer.sh | ATUIN_SERVER_INSTALL_DIR="/opt/atuin" $STD sh |
There was a problem hiding this comment.
--proto '=https' --tlsv1.2
is this needed?
There was a problem hiding this comment.
I copied it directly from the atuin server documentation: https://docs.atuin.sh/latest/self-hosting/server-setup/
| "text": "Registration is open by default, do not forget to close if required", | ||
| "type": "info" | ||
| }, | ||
| { | ||
| "text": "Uses PostgreSQL", | ||
| "type": "info" | ||
| } |
There was a problem hiding this comment.
| "text": "Registration is open by default, do not forget to close if required", | |
| "type": "info" | |
| }, | |
| { | |
| "text": "Uses PostgreSQL", | |
| "type": "info" | |
| } | |
| "text": "Credentials are saved in /root/atuin.creds", | |
| "type": "info" | |
| } |
There was a problem hiding this comment.
also add external script warning from other scripts
There was a problem hiding this comment.
I've updated the notes, are there more notes needed?
There was a problem hiding this comment.
external warning + remove registration comment like i said, also remove the config comment it is shown on the website
| "website": "https://atuin.sh", | ||
| "repository": "https://github.com/atuinsh/atuin", | ||
| "logo": "https://avatars.githubusercontent.com/u/122059230?s=60&v=4", | ||
| "description": "Sync, search, and back up your shell history with end-to-end encryption. Ask Atuin AI for help without leaving your prompt.", |
There was a problem hiding this comment.
can this be a bit more descriptive?
There was a problem hiding this comment.
I've updated to focus more on what sync and search means, and express that this is Atuin server
89bf102 to
3ff167b
Compare
3ff167b to
d8c006e
Compare
| PG_DB_NAME="atuin" PG_DB_USER="atuin" setup_postgresql_db | ||
|
|
||
| msg_info "Installing Atuin" | ||
| curl --proto '=https' --tlsv1.2 -LsSf https://github.com/atuinsh/atuin/releases/latest/download/atuin-server-installer.sh | ATUIN_SERVER_INSTALL_DIR="/opt/atuin" $STD sh |
| "text": "Registration is open by default, do not forget to close if required", | ||
| "type": "info" | ||
| }, | ||
| { | ||
| "text": "Uses PostgreSQL", | ||
| "type": "info" | ||
| } |
There was a problem hiding this comment.
external warning + remove registration comment like i said, also remove the config comment it is shown on the website

✍️ Description
Community installation script for atuin
🔗 Related PR / Issue
Link: #
✅ Prerequisites (X in brackets)
🏗️ arm64 Support (X in brackets)
🛠️ Type of Change (X in brackets)
README,AppName.md,CONTRIBUTING.md, or other docs.🔍 Code & Security Review (X in brackets)
CODE-AUDIT.md&CONTRIBUTING.mdguidelinesAppName.sh,AppName-install.sh,AppName.json)fetch_and_deploy_gh_release,fetch_and_deploy_codeberg_release,fetch_and_deploy_gl_release, orfetch_and_deploy_from_urlinstead ofgit pull.🤖 AI Assistance (X in brackets)
AGENTS.mdand.github/agents/pve-script-creator.agent.mdas guidance, and the output has been reviewed and corrected to match those guidelines.📋 Additional Information (optional)
📦 Application Requirements (for new scripts)
🌐 Source
Github link