refactor: Update references from Dragonfly to NyaTerm across documentation and codebase
This commit replaces all instances of "Dragonfly" with "NyaTerm" in various files, including documentation, configuration, and UI elements. The changes ensure consistency in branding and improve clarity for users transitioning from the previous version. Additionally, updates to the changelog and README reflect the new application name and its features.
This commit is contained in:
1 parent
e48c47abc4
commit
f7875d7871
178 files changed
+1046
-694
No files matched your search
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
# Purpose: Print text patterns that Dragonfly action links can recognize.
|
||||
# Purpose: Print text patterns that NyaTerm action links can recognize.
|
||||
# Run: bash scripts/demo-action-links.sh
|
||||
# Docs: docs-site/docs/guide/terminal.md
|
||||
# Settings: Enable action links before running; open a link with Ctrl/Cmd + click.
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
# Purpose: Append visible changes to a file so Dragonfly's auto-upload prompt can be triggered.
|
||||
# Purpose: Append visible changes to a file so NyaTerm's auto-upload prompt can be triggered.
|
||||
# Run: bash scripts/demo-file-watch.sh /path/to/file [iterations] [delay_seconds]
|
||||
# Docs: docs-site/docs/guide/file-transfer.md
|
||||
# Settings: First open a remote file from Dragonfly so the local temp copy is being watched.
|
||||
# Settings: First open a remote file from NyaTerm so the local temp copy is being watched.
|
||||
|
||||
TARGET_FILE=${1:-./demo-file-watch-target.txt}
|
||||
ITERATIONS=${2:-5}
|
||||
@@ -13,7 +13,7 @@ DELAY_SECONDS=${3:-1}
|
||||
mkdir -p "$(dirname "$TARGET_FILE")"
|
||||
|
||||
if [[ ! -f "$TARGET_FILE" ]]; then
|
||||
printf '# Dragonfly file watch demo\n' > "$TARGET_FILE"
|
||||
printf '# NyaTerm file watch demo\n' > "$TARGET_FILE"
|
||||
fi
|
||||
|
||||
printf 'Updating %s for %s iterations with %ss delay.\n' "$TARGET_FILE" "$ITERATIONS" "$DELAY_SECONDS"
|
||||
@@ -25,4 +25,4 @@ for ((i = 1; i <= ITERATIONS; i++)); do
|
||||
sleep "$DELAY_SECONDS"
|
||||
done
|
||||
|
||||
printf 'File watch demo finished. If Dragonfly opened this file, you should have seen upload prompts.\n'
|
||||
printf 'File watch demo finished. If NyaTerm opened this file, you should have seen upload prompts.\n'
|
||||
@@ -32,9 +32,9 @@ EOF
|
||||
section "Service startup log"
|
||||
cat <<'EOF'
|
||||
[web] 2026/04/13 09:18:10 info starting api-server on 0.0.0.0:8080 build=1.18.2
|
||||
[web] 2026/04/13 09:18:11 debug loaded config from "/etc/dragonfly/app.json"
|
||||
[web] 2026/04/13 09:18:11 debug loaded config from "/etc/nyaterm/app.json"
|
||||
[web] 2026/04/13 09:18:12 warn deprecated option --legacy-auth=true will be removed in beta
|
||||
[web] 2026/04/13 09:18:13 notice public endpoint https://dragonfly.example.test/docs?tab=terminal
|
||||
[web] 2026/04/13 09:18:13 notice public endpoint https://nyaterm.example.test/docs?tab=terminal
|
||||
[web] 2026/04/13 09:18:14 success health check passed in 5ms
|
||||
EOF
|
||||
|
||||
@@ -48,7 +48,7 @@ EOF
|
||||
|
||||
section "Security and auth"
|
||||
cat <<'EOF'
|
||||
auth[otp] issuer="Dragonfly" user='ops@example.test' code=042631 period=30s
|
||||
auth[otp] issuer="NyaTerm" user='ops@example.test' code=042631 period=30s
|
||||
ssh[client] host=203.0.113.42 fingerprint="SHA256:AbCdEf123456" status=ok
|
||||
config[policy] strict=true allow_none=false allow_debug=true
|
||||
EOF
|
||||
@@ -70,5 +70,5 @@ EOF
|
||||
|
||||
section "Mixed summary line"
|
||||
cat <<'EOF'
|
||||
2026-04-13T09:20:00Z INFO release=v0.7.0 host=192.168.1.10 url=https://dragonfly.example.test elapsed=45s size=128MB state=success
|
||||
2026-04-13T09:20:00Z INFO release=v0.7.0 host=192.168.1.10 url=https://nyaterm.example.test elapsed=45s size=128MB state=success
|
||||
EOF
|
||||
@@ -1,13 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
# Purpose: Print a structured pseudo-session that looks good when Dragonfly recording is enabled.
|
||||
# Purpose: Print a structured pseudo-session that looks good when NyaTerm recording is enabled.
|
||||
# Run: bash scripts/demo-recording-session.sh
|
||||
# Docs: docs-site/docs/guide/terminal.md, docs-site/docs/getting-started/quick-start.md
|
||||
# Settings: Start recording in Dragonfly before running for the best capture.
|
||||
# Settings: Start recording in NyaTerm before running for the best capture.
|
||||
|
||||
DELAY_SECONDS=${DELAY_SECONDS:-0.35}
|
||||
PROMPT=${PROMPT:-'operator@dragonfly-demo:~/workspace$'}
|
||||
PROMPT=${PROMPT:-'operator@nyaterm-demo:~/workspace$'}
|
||||
|
||||
emit() {
|
||||
printf '%s\n' "$1"
|
||||
|
||||
@@ -10,7 +10,7 @@ DURATION_SECONDS=${1:-20}
|
||||
WORKERS=${WORKERS:-2}
|
||||
PAYLOAD_MB=${PAYLOAD_MB:-8}
|
||||
|
||||
TMP_DIR=$(mktemp -d "${TMPDIR:-/tmp}/dragonfly-stats-demo.XXXXXX")
|
||||
TMP_DIR=$(mktemp -d "${TMPDIR:-/tmp}/nyaterm-stats-demo.XXXXXX")
|
||||
PAYLOAD_FILE="$TMP_DIR/payload.bin"
|
||||
END_TIME=$((SECONDS + DURATION_SECONDS))
|
||||
PIDS=()
|
||||
|
||||
@@ -38,7 +38,7 @@ log_line() {
|
||||
printf '%s%s%s\n' "$color" "$*" "$RESET"
|
||||
}
|
||||
|
||||
section "Dragonfly terminal output demo"
|
||||
section "NyaTerm terminal output demo"
|
||||
log_line "$DIM" "2026-04-13T09:15:30Z [demo] session=alpha host=203.0.113.10 task=deploy-preview"
|
||||
log_line "$BLUE" "INFO Loading release bundle version=v0.7.0 size=128MiB duration=2.4s"
|
||||
log_line "$GREEN" "SUCCESS SSH authentication completed for operator@203.0.113.10"
|
||||
|
||||
@@ -18,16 +18,16 @@ cargo = cargo.replace(
|
||||
writeFileSync('src-tauri/Cargo.toml', cargo);
|
||||
|
||||
// Change the version in Cargo.lock
|
||||
function updateDragonflyVersion(version) {
|
||||
function updateNyaTermVersion(version) {
|
||||
const filePath = 'src-tauri/Cargo.lock';
|
||||
const content = readFileSync(filePath, 'utf-8');
|
||||
|
||||
const pattern =
|
||||
/(\[\[package\]\]\r?\nname = "dragonfly"\r?\nversion = ")([^"]*)(")/;
|
||||
/(\[\[package\]\]\r?\nname = "nyaterm"\r?\nversion = ")([^"]*)(")/;
|
||||
|
||||
if (!pattern.test(content)) {
|
||||
throw new Error(
|
||||
'Could not find the version field for [[package]] name = "dragonfly" in src-tauri/Cargo.lock'
|
||||
'Could not find the version field for [[package]] name = "nyaterm" in src-tauri/Cargo.lock'
|
||||
);
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ function updateDragonflyVersion(version) {
|
||||
|
||||
writeFileSync(filePath, updated, 'utf-8');
|
||||
}
|
||||
updateDragonflyVersion(version);
|
||||
updateNyaTermVersion(version);
|
||||
|
||||
console.log(`✅ Version synced to ${version}`);
|
||||
|
||||
|
||||
Reference in new issue
Block a user