Skip to content

Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.

refactor(nami): rename open-nami assets to nami and purge dead mascot

IGECT769c2f59cf3e
diff --git a/src-tauri/src/commands/nami/fetcher.rs b/src-tauri/src/commands/nami/fetcher.rs
index 275ccbfb..877c047c 100644
--- a/src-tauri/src/commands/nami/fetcher.rs
+++ b/src-tauri/src/commands/nami/fetcher.rs
@@ -135,7 +135,7 @@ pub async fn download_binary(url: &str, target_path: &Path) -> Result<PathBuf, S
}
let client = reqwest::Client::builder()
- .user_agent("omniget-open-nami/1.0")
+ .user_agent("omniget-nami/1.0")
.build()
.map_err(|e| format!("Client builder error: {}", e))?;
diff --git a/src/components/shell/NavIcon.svelte b/src/components/shell/NavIcon.svelte
index f481218f..632d1c15 100644
--- a/src/components/shell/NavIcon.svelte
+++ b/src/components/shell/NavIcon.svelte
@@ -14,8 +14,8 @@
home: "/icons/nav/home.svg",
downloads: "/icons/nav/downloads.svg",
tools: "/icons/nav/tools.svg",
- "open-nami": "/icons/nav/open-nami.svg",
- nami: "/icons/nav/open-nami.svg",
+ "open-nami": "/icons/nav/nami.svg",
+ nami: "/icons/nav/nami.svg",
marketplace: "/icons/nav/marketplace.svg",
convert: "/icons/nav/convert.svg",
settings: "/icons/nav/settings.svg",
diff --git a/src/lib/nami/extractors/instagram.ts b/src/lib/nami/extractors/instagram.ts
index 7b27d4b8..486d1089 100644
--- a/src/lib/nami/extractors/instagram.ts
+++ b/src/lib/nami/extractors/instagram.ts
@@ -19,9 +19,9 @@ export const IG_QUERIES = {
export const IG_POLARIS_DOC_ID = IG_QUERIES.PolarisProfilePostsTabContentQuery_connection
function logExtractorDebug(endpoint: string, err: unknown): void {
- if (process.env.DEBUG || process.env.OPEN_NAMI_DEBUG) {
+ if (process.env.DEBUG || process.env.NAMI_DEBUG || process.env.OPEN_NAMI_DEBUG) {
const message = err instanceof Error ? err.message : String(err)
- console.debug(`[open-nami:instagram] ${endpoint} query fallback: ${message}`)
+ console.debug(`[nami:instagram] ${endpoint} query fallback: ${message}`)
}
}
diff --git a/src/routes/nami/+page.svelte b/src/routes/nami/+page.svelte
index 24e429c2..e6f8389f 100644
--- a/src/routes/nami/+page.svelte
+++ b/src/routes/nami/+page.svelte
@@ -10,9 +10,9 @@
let activeTab = $state<TabKey>('download');
const NAV_ITEMS: { key: TabKey; labelKey: string; icon: string }[] = [
- { key: 'download', labelKey: 'nami.tab_download', icon: '/icons/open-nami-download.png' },
- { key: 'profiles', labelKey: 'nami.tab_profiles', icon: '/icons/open-nami-profiles.png' },
- { key: 'settings', labelKey: 'nami.tab_settings', icon: '/icons/open-nami-settings.png' }
+ { key: 'download', labelKey: 'nami.tab_download', icon: '/icons/nami-download.png' },
+ { key: 'profiles', labelKey: 'nami.tab_profiles', icon: '/icons/nami-profiles.png' },
+ { key: 'settings', labelKey: 'nami.tab_settings', icon: '/icons/nami-settings.png' }
];
const DESCRIPTION_KEYS: Record<TabKey, string> = {
diff --git a/static/icons/open-nami-download.png b/static/icons/nami-download.png
similarity index 100%
rename from static/icons/open-nami-download.png
rename to static/icons/nami-download.png
diff --git a/static/icons/open-nami-profiles.png b/static/icons/nami-profiles.png
similarity index 100%
rename from static/icons/open-nami-profiles.png
rename to static/icons/nami-profiles.png
diff --git a/static/icons/open-nami-settings.png b/static/icons/nami-settings.png
similarity index 100%
rename from static/icons/open-nami-settings.png
rename to static/icons/nami-settings.png
diff --git a/static/icons/nav/open-nami.svg b/static/icons/nav/nami.svg
similarity index 100%
rename from static/icons/nav/open-nami.svg
rename to static/icons/nav/nami.svg
diff --git a/static/open-nami-mascot.png b/static/open-nami-mascot.png
deleted file mode 100644
index 27634a75..00000000
Binary files a/static/open-nami-mascot.png and /dev/null differ