diff --git a/public/languages/javascript/nodejs/uncloseai.js b/public/languages/javascript/nodejs/uncloseai.js index 4163dfb..631d282 100644 --- a/public/languages/javascript/nodejs/uncloseai.js +++ b/public/languages/javascript/nodejs/uncloseai.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com const https = require('https'); diff --git a/public/languages/javascript/openai/nodejs/uncloseai.js b/public/languages/javascript/openai/nodejs/uncloseai.js index 546d5e7..8309237 100644 --- a/public/languages/javascript/openai/nodejs/uncloseai.js +++ b/public/languages/javascript/openai/nodejs/uncloseai.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com import OpenAI from 'openai'; diff --git a/public/src/chat.js b/public/src/chat.js index eb22443..43f7fa5 100644 --- a/public/src/chat.js +++ b/public/src/chat.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // Chat functionality and message handling diff --git a/public/src/code-execution.js b/public/src/code-execution.js index 03273ef..1186dcb 100644 --- a/public/src/code-execution.js +++ b/public/src/code-execution.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // Code execution sandbox functionality diff --git a/public/src/config.js b/public/src/config.js index f06db67..d27bfec 100644 --- a/public/src/config.js +++ b/public/src/config.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // Configuration and endpoints for uncloseai.js diff --git a/public/src/content.js b/public/src/content.js index 2af1648..e2334d6 100644 --- a/public/src/content.js +++ b/public/src/content.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // Content extraction and processing functionality diff --git a/public/src/file-upload.js b/public/src/file-upload.js index 1921a8d..bde93d3 100644 --- a/public/src/file-upload.js +++ b/public/src/file-upload.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com import { chatHistory } from "./chat.js"; diff --git a/public/src/groq-fetch.js b/public/src/groq-fetch.js index 22c0b06..10a7c7e 100644 --- a/public/src/groq-fetch.js +++ b/public/src/groq-fetch.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // Groq-aware fetch wrapper that handles TPM rate limits diff --git a/public/src/language-detection.js b/public/src/language-detection.js index f8f51c2..af0b547 100644 --- a/public/src/language-detection.js +++ b/public/src/language-detection.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // Language detection functionality using AI and fallback methods diff --git a/public/src/languages/add-missing-keys.js b/public/src/languages/add-missing-keys.js index c5b9780..cad7022 100644 --- a/public/src/languages/add-missing-keys.js +++ b/public/src/languages/add-missing-keys.js @@ -1,6 +1,4 @@ #!/usr/bin/env node -// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com diff --git a/public/src/languages/ar.js b/public/src/languages/ar.js index f22b1a2..2aa9a0e 100644 --- a/public/src/languages/ar.js +++ b/public/src/languages/ar.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // Arabic (العَرَبِيَّة) UI Translations @@ -153,4 +179,11 @@ export const ar = { vaultNewPassword: "كلمة المرور الجديدة", vaultPasswordChanged: "تم تغيير كلمة المرور!", vaultDeleted: "تم حذف الإعدادات.", + + // Vault gate + vaultGateTitle: "uncloseai.", + vaultGateNew: "سجل محادثاتك ومفاتيح API وإعداداتك مشفرة بتقنية AES-256 باستخدام كلمة مرور تختارها وملح خاص بالجهاز. كل موقع ويب له خزنته الخاصة — يمكنك استخدام كلمة مرور مختلفة لكل موقع. اختر كلمة مرور للبدء.", + vaultGateReturning: "سجل محادثاتك المشفر ومفاتيح API وإعداداتك في انتظارك. أدخل كلمة المرور لفتح خزنة هذا الموقع.", + vaultGateCreate: "إنشاء الخزنة", + vaultGateUnlock: "فتح", }; \ No newline at end of file diff --git a/public/src/languages/bn.js b/public/src/languages/bn.js index ac157b1..59954ec 100644 --- a/public/src/languages/bn.js +++ b/public/src/languages/bn.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // Bengali (বাংলা) UI Translations @@ -153,4 +179,11 @@ export const bn = { vaultNewPassword: "নতুন পাসওয়ার্ড", vaultPasswordChanged: "পাসওয়ার্ড পরিবর্তন হয়েছে!", vaultDeleted: "সেটিংস মুছে ফেলা হয়েছে।", + + // Vault gate + vaultGateTitle: "uncloseai.", + vaultGateNew: "আপনার চ্যাট ইতিহাস, API কী এবং সেটিংস AES-256 দিয়ে এনক্রিপ্ট করা হয়েছে — আপনার বেছে নেওয়া পাসওয়ার্ড এবং ডিভাইস-নির্দিষ্ট সল্ট ব্যবহার করে। প্রতিটি ওয়েবসাইটের নিজস্ব আলাদা ভল্ট রয়েছে — আপনি প্রতিটি সাইটের জন্য আলাদা পাসওয়ার্ড ব্যবহার করতে পারেন। শুরু করতে একটি পাসওয়ার্ড বেছে নিন।", + vaultGateReturning: "আপনার এনক্রিপ্ট করা চ্যাট ইতিহাস, API কী এবং সেটিংস অপেক্ষা করছে। এই সাইটের ভল্ট আনলক করতে আপনার পাসওয়ার্ড দিন।", + vaultGateCreate: "ভল্ট তৈরি করুন", + vaultGateUnlock: "আনলক করুন", }; \ No newline at end of file diff --git a/public/src/languages/de.js b/public/src/languages/de.js index 512ca7d..405ee38 100644 --- a/public/src/languages/de.js +++ b/public/src/languages/de.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // German (Deutsch) UI Translations @@ -153,4 +179,11 @@ export const de = { vaultNewPassword: "Neues Passwort", vaultPasswordChanged: "Passwort geändert!", vaultDeleted: "Einstellungen gelöscht.", + + // Vault gate + vaultGateTitle: "uncloseai.", + vaultGateNew: "Dein Chatverlauf, API-Schlüssel und Einstellungen werden mit AES-256 verschlüsselt — mit einem Passwort deiner Wahl und einem gerätespezifischen Salt. Jede Website hat ihren eigenen Tresor — du kannst für jede Seite ein anderes Passwort verwenden. Wähle ein Passwort, um loszulegen.", + vaultGateReturning: "Dein verschlüsselter Chatverlauf, deine API-Schlüssel und Einstellungen warten auf dich. Gib dein Passwort ein, um den Tresor dieser Seite zu entsperren.", + vaultGateCreate: "Tresor Erstellen", + vaultGateUnlock: "Entsperren", }; \ No newline at end of file diff --git a/public/src/languages/en.js b/public/src/languages/en.js index 5fcd583..fe06b67 100644 --- a/public/src/languages/en.js +++ b/public/src/languages/en.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // English UI Translations @@ -154,4 +180,11 @@ export const en = { vaultNewPassword: "New password", vaultPasswordChanged: "Password changed!", vaultDeleted: "Settings deleted.", + + // Vault gate (mandatory password prompt before chat) + vaultGateTitle: "uncloseai.", + vaultGateNew: "Your chat history, API keys, and settings are encrypted with AES-256 using a password you choose and a device-specific salt. Each website has its own vault — you can use a different password for each site. Choose a password to get started.", + vaultGateReturning: "Your encrypted chat history, API keys, and settings are waiting. Enter your password to unlock this site's vault.", + vaultGateCreate: "Create Vault", + vaultGateUnlock: "Unlock", }; \ No newline at end of file diff --git a/public/src/languages/es.js b/public/src/languages/es.js index 6743ccc..0c93c5e 100644 --- a/public/src/languages/es.js +++ b/public/src/languages/es.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // Spanish (Español) UI Translations @@ -153,4 +179,11 @@ export const es = { vaultNewPassword: "Nueva contraseña", vaultPasswordChanged: "¡Contraseña cambiada!", vaultDeleted: "Configuración eliminada.", + + // Vault gate + vaultGateTitle: "uncloseai.", + vaultGateNew: "Tu historial de chat, claves API y configuración están cifrados con AES-256 usando una contraseña que tú eliges y un salt específico del dispositivo. Cada sitio web tiene su propia bóveda — puedes usar una contraseña diferente para cada sitio. Elige una contraseña para comenzar.", + vaultGateReturning: "Tu historial de chat cifrado, claves API y configuración están esperando. Introduce tu contraseña para desbloquear la bóveda de este sitio.", + vaultGateCreate: "Crear Bóveda", + vaultGateUnlock: "Desbloquear", }; \ No newline at end of file diff --git a/public/src/languages/fr.js b/public/src/languages/fr.js index 9e3fc53..48de1b0 100644 --- a/public/src/languages/fr.js +++ b/public/src/languages/fr.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // French (Français) UI Translations @@ -153,4 +179,11 @@ export const fr = { vaultNewPassword: "Nouveau mot de passe", vaultPasswordChanged: "Mot de passe changé !", vaultDeleted: "Paramètres supprimés.", + + // Vault gate + vaultGateTitle: "uncloseai.", + vaultGateNew: "Votre historique de chat, vos clés API et vos paramètres sont chiffrés avec AES-256 à l'aide d'un mot de passe que vous choisissez et d'un sel spécifique à l'appareil. Chaque site web possède son propre coffre-fort — vous pouvez utiliser un mot de passe différent pour chaque site. Choisissez un mot de passe pour commencer.", + vaultGateReturning: "Votre historique de chat chiffré, vos clés API et vos paramètres vous attendent. Entrez votre mot de passe pour déverrouiller le coffre-fort de ce site.", + vaultGateCreate: "Créer le Coffre-fort", + vaultGateUnlock: "Déverrouiller", }; \ No newline at end of file diff --git a/public/src/languages/hi.js b/public/src/languages/hi.js index 07afedc..908a643 100644 --- a/public/src/languages/hi.js +++ b/public/src/languages/hi.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // Hindi (हिंदी) UI Translations @@ -152,4 +178,11 @@ export const hi = { vaultNewPassword: "नया पासवर्ड", vaultPasswordChanged: "पासवर्ड बदल दिया गया!", vaultDeleted: "सेटिंग्स हटा दी गईं।", + + // Vault gate + vaultGateTitle: "uncloseai.", + vaultGateNew: "आपका चैट इतिहास, API कुंजियाँ और सेटिंग्स AES-256 से एन्क्रिप्ट किए गए हैं — आपके द्वारा चुने गए पासवर्ड और डिवाइस-विशिष्ट सॉल्ट का उपयोग करके। प्रत्येक वेबसाइट का अपना अलग वॉल्ट होता है — आप हर साइट के लिए अलग पासवर्ड का उपयोग कर सकते हैं। शुरू करने के लिए एक पासवर्ड चुनें।", + vaultGateReturning: "आपका एन्क्रिप्टेड चैट इतिहास, API कुंजियाँ और सेटिंग्स प्रतीक्षा कर रही हैं। इस साइट का वॉल्ट अनलॉक करने के लिए अपना पासवर्ड दर्ज करें।", + vaultGateCreate: "वॉल्ट बनाएं", + vaultGateUnlock: "अनलॉक करें", }; \ No newline at end of file diff --git a/public/src/languages/id.js b/public/src/languages/id.js index 5d0f4e9..e482b0e 100644 --- a/public/src/languages/id.js +++ b/public/src/languages/id.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // Indonesian (Bahasa Indonesia) UI Translations @@ -153,4 +179,11 @@ export const id = { vaultNewPassword: "Kata sandi baru", vaultPasswordChanged: "Kata sandi diubah!", vaultDeleted: "Pengaturan dihapus.", + + // Vault gate + vaultGateTitle: "uncloseai.", + vaultGateNew: "Riwayat obrolan, kunci API, dan pengaturan Anda dienkripsi dengan AES-256 menggunakan kata sandi yang Anda pilih dan salt khusus perangkat. Setiap situs web memiliki brankas tersendiri — Anda dapat menggunakan kata sandi berbeda untuk setiap situs. Pilih kata sandi untuk memulai.", + vaultGateReturning: "Riwayat obrolan terenkripsi, kunci API, dan pengaturan Anda menunggu. Masukkan kata sandi Anda untuk membuka brankas situs ini.", + vaultGateCreate: "Buat Brankas", + vaultGateUnlock: "Buka Kunci", }; \ No newline at end of file diff --git a/public/src/languages/index.js b/public/src/languages/index.js index 4d32d11..db579ae 100644 --- a/public/src/languages/index.js +++ b/public/src/languages/index.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // All language translations diff --git a/public/src/languages/it.js b/public/src/languages/it.js index e6e6871..a774f53 100644 --- a/public/src/languages/it.js +++ b/public/src/languages/it.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // Italian UI Translations @@ -153,4 +179,11 @@ export const it = { vaultNewPassword: "Nuova password", vaultPasswordChanged: "Password cambiata!", vaultDeleted: "Impostazioni eliminate.", + + // Vault gate + vaultGateTitle: "uncloseai.", + vaultGateNew: "La cronologia delle chat, le chiavi API e le impostazioni sono crittografate con AES-256 utilizzando una password che scegli tu e un salt specifico del dispositivo. Ogni sito web ha la propria cassaforte — puoi usare una password diversa per ogni sito. Scegli una password per iniziare.", + vaultGateReturning: "La tua cronologia delle chat crittografata, le chiavi API e le impostazioni ti aspettano. Inserisci la tua password per sbloccare la cassaforte di questo sito.", + vaultGateCreate: "Crea Cassaforte", + vaultGateUnlock: "Sblocca", }; diff --git a/public/src/languages/ja.js b/public/src/languages/ja.js index 7b64665..39c0fb5 100644 --- a/public/src/languages/ja.js +++ b/public/src/languages/ja.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // Japanese (日本語) UI Translations @@ -153,4 +179,11 @@ export const ja = { vaultNewPassword: "新しいパスワード", vaultPasswordChanged: "パスワードが変更されました!", vaultDeleted: "設定が削除されました。", + + // Vault gate + vaultGateTitle: "uncloseai.", + vaultGateNew: "チャット履歴、APIキー、設定はAES-256で暗号化されています。あなたが選んだパスワードとデバイス固有のソルトを使用します。各ウェブサイトには独自のボールトがあり、サイトごとに異なるパスワードを使用できます。パスワードを選んで始めましょう。", + vaultGateReturning: "暗号化されたチャット履歴、APIキー、設定が待っています。このサイトのボールトのロックを解除するには、パスワードを入力してください。", + vaultGateCreate: "ボールトを作成", + vaultGateUnlock: "ロック解除", }; \ No newline at end of file diff --git a/public/src/languages/ko.js b/public/src/languages/ko.js index 8dbccdb..c369ba4 100644 --- a/public/src/languages/ko.js +++ b/public/src/languages/ko.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // Korean (한국어) UI Translations @@ -153,4 +179,11 @@ export const ko = { vaultNewPassword: "새 비밀번호", vaultPasswordChanged: "비밀번호가 변경되었습니다!", vaultDeleted: "설정이 삭제되었습니다.", + + // Vault gate + vaultGateTitle: "uncloseai.", + vaultGateNew: "채팅 기록, API 키 및 설정은 사용자가 선택한 비밀번호와 기기 고유 솔트를 사용하여 AES-256으로 암호화됩니다. 각 웹사이트에는 별도의 금고가 있으며, 사이트마다 다른 비밀번호를 사용할 수 있습니다. 시작하려면 비밀번호를 선택하세요.", + vaultGateReturning: "암호화된 채팅 기록, API 키 및 설정이 대기 중입니다. 이 사이트의 금고를 잠금 해제하려면 비밀번호를 입력하세요.", + vaultGateCreate: "금고 만들기", + vaultGateUnlock: "잠금 해제", }; \ No newline at end of file diff --git a/public/src/languages/mr.js b/public/src/languages/mr.js index b2c2748..31bd224 100644 --- a/public/src/languages/mr.js +++ b/public/src/languages/mr.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // Marathi (मराठी) UI Translations @@ -153,4 +179,11 @@ export const mr = { vaultNewPassword: "नवीन पासवर्ड", vaultPasswordChanged: "पासवर्ड बदलला!", vaultDeleted: "सेटिंग्ज हटवल्या.", + + // Vault gate + vaultGateTitle: "uncloseai.", + vaultGateNew: "तुमचा चॅट इतिहास, API कळा आणि सेटिंग्ज AES-256 ने एन्क्रिप्ट केल्या आहेत — तुम्ही निवडलेले पासवर्ड आणि उपकरण-विशिष्ट सॉल्ट वापरून. प्रत्येक वेबसाइटचे स्वतःचे वेगळे व्हॉल्ट असते — तुम्ही प्रत्येक साइटसाठी वेगळा पासवर्ड वापरू शकता. सुरू करण्यासाठी पासवर्ड निवडा.", + vaultGateReturning: "तुमचा एन्क्रिप्ट केलेला चॅट इतिहास, API कळा आणि सेटिंग्ज वाट पाहत आहेत. या साइटचे व्हॉल्ट अनलॉक करण्यासाठी तुमचा पासवर्ड प्रविष्ट करा.", + vaultGateCreate: "व्हॉल्ट तयार करा", + vaultGateUnlock: "अनलॉक करा", }; \ No newline at end of file diff --git a/public/src/languages/nl.js b/public/src/languages/nl.js index 234e840..958982b 100644 --- a/public/src/languages/nl.js +++ b/public/src/languages/nl.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // Dutch UI Translations @@ -153,4 +179,11 @@ export const nl = { vaultNewPassword: "Nieuw wachtwoord", vaultPasswordChanged: "Wachtwoord gewijzigd!", vaultDeleted: "Instellingen verwijderd.", + + // Vault gate + vaultGateTitle: "uncloseai.", + vaultGateNew: "Je chatgeschiedenis, API-sleutels en instellingen worden versleuteld met AES-256 met een wachtwoord dat je kiest en een apparaatspecifiek salt. Elke website heeft een eigen kluis — je kunt voor elke site een ander wachtwoord gebruiken. Kies een wachtwoord om te beginnen.", + vaultGateReturning: "Je versleutelde chatgeschiedenis, API-sleutels en instellingen wachten op je. Voer je wachtwoord in om de kluis van deze site te ontgrendelen.", + vaultGateCreate: "Kluis Aanmaken", + vaultGateUnlock: "Ontgrendelen", }; diff --git a/public/src/languages/pl.js b/public/src/languages/pl.js index 097aa5d..e962bd2 100644 --- a/public/src/languages/pl.js +++ b/public/src/languages/pl.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // Polish UI Translations @@ -153,4 +179,11 @@ export const pl = { vaultNewPassword: "Nowe hasło", vaultPasswordChanged: "Hasło zmienione!", vaultDeleted: "Ustawienia usunięte.", + + // Vault gate + vaultGateTitle: "uncloseai.", + vaultGateNew: "Twoja historia czatu, klucze API i ustawienia są szyfrowane za pomocą AES-256 z użyciem hasła, które wybierasz, oraz soli specyficznej dla urządzenia. Każda strona internetowa ma swój własny sejf — możesz użyć innego hasła dla każdej strony. Wybierz hasło, aby rozpocząć.", + vaultGateReturning: "Twoja zaszyfrowana historia czatu, klucze API i ustawienia czekają. Wprowadź hasło, aby odblokować sejf tej strony.", + vaultGateCreate: "Utwórz Sejf", + vaultGateUnlock: "Odblokuj", }; diff --git a/public/src/languages/pt.js b/public/src/languages/pt.js index 0ad3558..72f5e9f 100644 --- a/public/src/languages/pt.js +++ b/public/src/languages/pt.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // Portuguese (Português) UI Translations @@ -153,4 +179,11 @@ export const pt = { vaultNewPassword: "Nova senha", vaultPasswordChanged: "Senha alterada!", vaultDeleted: "Configurações excluídas.", + + // Vault gate + vaultGateTitle: "uncloseai.", + vaultGateNew: "Seu histórico de chat, chaves API e configurações são criptografados com AES-256 usando uma senha que você escolhe e um salt específico do dispositivo. Cada site tem seu próprio cofre — você pode usar uma senha diferente para cada site. Escolha uma senha para começar.", + vaultGateReturning: "Seu histórico de chat criptografado, chaves API e configurações estão esperando. Digite sua senha para desbloquear o cofre deste site.", + vaultGateCreate: "Criar Cofre", + vaultGateUnlock: "Desbloquear", }; \ No newline at end of file diff --git a/public/src/languages/ru.js b/public/src/languages/ru.js index 77d6967..f97b387 100644 --- a/public/src/languages/ru.js +++ b/public/src/languages/ru.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // Russian (Русский) UI Translations @@ -153,4 +179,11 @@ export const ru = { vaultNewPassword: "Новый пароль", vaultPasswordChanged: "Пароль изменён!", vaultDeleted: "Настройки удалены.", + + // Vault gate + vaultGateTitle: "uncloseai.", + vaultGateNew: "Ваша история чата, ключи API и настройки зашифрованы с помощью AES-256 с использованием пароля, который вы выбираете, и соли, уникальной для устройства. У каждого сайта есть своё хранилище — вы можете использовать разные пароли для разных сайтов. Выберите пароль, чтобы начать.", + vaultGateReturning: "Ваша зашифрованная история чата, ключи API и настройки ждут вас. Введите пароль, чтобы разблокировать хранилище этого сайта.", + vaultGateCreate: "Создать Хранилище", + vaultGateUnlock: "Разблокировать", }; \ No newline at end of file diff --git a/public/src/languages/sv.js b/public/src/languages/sv.js index 9973d0c..a1aedce 100644 --- a/public/src/languages/sv.js +++ b/public/src/languages/sv.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // Swedish UI Translations @@ -153,4 +179,11 @@ export const sv = { vaultNewPassword: "Nytt lösenord", vaultPasswordChanged: "Lösenord ändrat!", vaultDeleted: "Inställningar raderade.", + + // Vault gate + vaultGateTitle: "uncloseai.", + vaultGateNew: "Din chatthistorik, API-nycklar och inställningar krypteras med AES-256 med ett lösenord du väljer och ett enhetsspecifikt salt. Varje webbplats har sitt eget valv — du kan använda ett annat lösenord för varje webbplats. Välj ett lösenord för att komma igång.", + vaultGateReturning: "Din krypterade chatthistorik, API-nycklar och inställningar väntar. Ange ditt lösenord för att låsa upp denna webbplats valv.", + vaultGateCreate: "Skapa Valv", + vaultGateUnlock: "Lås Upp", }; diff --git a/public/src/languages/sw.js b/public/src/languages/sw.js index af510b1..acd2c8c 100644 --- a/public/src/languages/sw.js +++ b/public/src/languages/sw.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // Swahili (Kiswahili) UI Translations @@ -153,4 +179,11 @@ export const sw = { vaultNewPassword: "Nywila mpya", vaultPasswordChanged: "Nywila imebadilishwa!", vaultDeleted: "Mipangilio imefutwa.", + + // Vault gate + vaultGateTitle: "uncloseai.", + vaultGateNew: "Historia yako ya soga, funguo za API, na mipangilio yamefichwa kwa AES-256 kwa kutumia nywila unayochagua na chumvi maalum ya kifaa. Kila tovuti ina hifadhi yake tofauti — unaweza kutumia nywila tofauti kwa kila tovuti. Chagua nywila ili kuanza.", + vaultGateReturning: "Historia yako ya soga iliyofichwa, funguo za API, na mipangilio yanakungojea. Ingiza nywila yako ili kufungua hifadhi ya tovuti hii.", + vaultGateCreate: "Unda Hifadhi", + vaultGateUnlock: "Fungua", }; \ No newline at end of file diff --git a/public/src/languages/te.js b/public/src/languages/te.js index 8495e84..4d964f1 100644 --- a/public/src/languages/te.js +++ b/public/src/languages/te.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // Telugu (తెలుగు) UI Translations @@ -153,4 +179,11 @@ export const te = { vaultNewPassword: "కొత్త పాస్‌వర్డ్", vaultPasswordChanged: "పాస్‌వర్డ్ మార్చబడింది!", vaultDeleted: "సెట్టింగ్‌లు తొలగించబడ్డాయి.", + + // Vault gate + vaultGateTitle: "uncloseai.", + vaultGateNew: "మీ చాట్ చరిత్ర, API కీలు మరియు సెట్టింగ్‌లు AES-256 తో ఎన్‌క్రిప్ట్ చేయబడ్డాయి — మీరు ఎంచుకున్న పాస్‌వర్డ్ మరియు పరికర-నిర్దిష్ట సాల్ట్ ఉపయోగించి. ప్రతి వెబ్‌సైట్‌కు దాని స్వంత ప్రత్యేక వాల్ట్ ఉంటుంది — మీరు ప్రతి సైట్‌కు వేరే పాస్‌వర్డ్ ఉపయోగించవచ్చు. ప్రారంభించడానికి పాస్‌వర్డ్ ఎంచుకోండి.", + vaultGateReturning: "మీ ఎన్‌క్రిప్ట్ చేయబడిన చాట్ చరిత్ర, API కీలు మరియు సెట్టింగ్‌లు వేచి ఉన్నాయి. ఈ సైట్ వాల్ట్‌ను అన్‌లాక్ చేయడానికి మీ పాస్‌వర్డ్ నమోదు చేయండి.", + vaultGateCreate: "వాల్ట్ సృష్టించండి", + vaultGateUnlock: "అన్‌లాక్ చేయండి", }; \ No newline at end of file diff --git a/public/src/languages/th.js b/public/src/languages/th.js index a82845e..49dd036 100644 --- a/public/src/languages/th.js +++ b/public/src/languages/th.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // Thai UI Translations @@ -153,4 +179,11 @@ export const th = { vaultNewPassword: "รหัสผ่านใหม่", vaultPasswordChanged: "เปลี่ยนรหัสผ่านแล้ว!", vaultDeleted: "ลบการตั้งค่าแล้ว", + + // Vault gate + vaultGateTitle: "uncloseai.", + vaultGateNew: "ประวัติแชท คีย์ API และการตั้งค่าของคุณถูกเข้ารหัสด้วย AES-256 โดยใช้รหัสผ่านที่คุณเลือกและ salt เฉพาะอุปกรณ์ แต่ละเว็บไซต์มีห้องนิรภัยของตัวเอง — คุณสามารถใช้รหัสผ่านที่แตกต่างกันสำหรับแต่ละเว็บไซต์ได้ เลือกรหัสผ่านเพื่อเริ่มต้น", + vaultGateReturning: "ประวัติแชทที่เข้ารหัส คีย์ API และการตั้งค่าของคุณกำลังรอคุณอยู่ ป้อนรหัสผ่านของคุณเพื่อปลดล็อกห้องนิรภัยของเว็บไซต์นี้", + vaultGateCreate: "สร้างห้องนิรภัย", + vaultGateUnlock: "ปลดล็อก", }; diff --git a/public/src/languages/tr.js b/public/src/languages/tr.js index 2b62add..8ce008c 100644 --- a/public/src/languages/tr.js +++ b/public/src/languages/tr.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // Turkish (Türkçe) UI Translations @@ -153,4 +179,11 @@ export const tr = { vaultNewPassword: "Yeni şifre", vaultPasswordChanged: "Şifre değiştirildi!", vaultDeleted: "Ayarlar silindi.", + + // Vault gate + vaultGateTitle: "uncloseai.", + vaultGateNew: "Sohbet geçmişiniz, API anahtarlarınız ve ayarlarınız, seçtiğiniz bir şifre ve cihaza özgü bir tuz kullanılarak AES-256 ile şifrelenir. Her web sitesinin kendi kasası vardır — her site için farklı bir şifre kullanabilirsiniz. Başlamak için bir şifre seçin.", + vaultGateReturning: "Şifrelenmiş sohbet geçmişiniz, API anahtarlarınız ve ayarlarınız sizi bekliyor. Bu sitenin kasasının kilidini açmak için şifrenizi girin.", + vaultGateCreate: "Kasa Oluştur", + vaultGateUnlock: "Kilidi Aç", }; \ No newline at end of file diff --git a/public/src/languages/uk.js b/public/src/languages/uk.js index 1d9293a..4feb390 100644 --- a/public/src/languages/uk.js +++ b/public/src/languages/uk.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // Ukrainian UI Translations @@ -153,4 +179,11 @@ export const uk = { vaultNewPassword: "Новий пароль", vaultPasswordChanged: "Пароль змінено!", vaultDeleted: "Налаштування видалено.", + + // Vault gate + vaultGateTitle: "uncloseai.", + vaultGateNew: "Ваша історія чату, API-ключі та налаштування зашифровані за допомогою AES-256 з використанням пароля, який ви обираєте, та солі, специфічної для пристрою. Кожен веб-сайт має власне сховище — ви можете використовувати різні паролі для кожного сайту. Оберіть пароль, щоб розпочати.", + vaultGateReturning: "Ваша зашифрована історія чату, API-ключі та налаштування чекають на вас. Введіть пароль, щоб розблокувати сховище цього сайту.", + vaultGateCreate: "Створити Сховище", + vaultGateUnlock: "Розблокувати", }; diff --git a/public/src/languages/ur.js b/public/src/languages/ur.js index 13ca105..c5517e8 100644 --- a/public/src/languages/ur.js +++ b/public/src/languages/ur.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // Urdu (اُردُو) UI Translations @@ -153,4 +179,11 @@ export const ur = { vaultNewPassword: "نیا پاس ورڈ", vaultPasswordChanged: "پاس ورڈ تبدیل ہو گیا!", vaultDeleted: "سیٹنگز حذف ہو گئیں۔", + + // Vault gate + vaultGateTitle: "uncloseai.", + vaultGateNew: "آپ کی چیٹ تاریخ، API کلیدیں اور سیٹنگز AES-256 کے ذریعے خفیہ کاری شدہ ہیں — آپ کے منتخب کردہ پاس ورڈ اور آلے کے مخصوص سالٹ کا استعمال کرتے ہوئے۔ ہر ویب سائٹ کا اپنا الگ خزانہ ہوتا ہے — آپ ہر سائٹ کے لیے مختلف پاس ورڈ استعمال کر سکتے ہیں۔ شروع کرنے کے لیے پاس ورڈ منتخب کریں۔", + vaultGateReturning: "آپ کی خفیہ کاری شدہ چیٹ تاریخ، API کلیدیں اور سیٹنگز منتظر ہیں۔ اس سائٹ کا خزانہ کھولنے کے لیے اپنا پاس ورڈ درج کریں۔", + vaultGateCreate: "خزانہ بنائیں", + vaultGateUnlock: "کھولیں", }; \ No newline at end of file diff --git a/public/src/languages/verify-translations.js b/public/src/languages/verify-translations.js index 5d0a25d..7691d89 100644 --- a/public/src/languages/verify-translations.js +++ b/public/src/languages/verify-translations.js @@ -1,6 +1,4 @@ #!/usr/bin/env node -// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com diff --git a/public/src/languages/vi.js b/public/src/languages/vi.js index b971ce2..8bd1c25 100644 --- a/public/src/languages/vi.js +++ b/public/src/languages/vi.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // Vietnamese UI Translations @@ -153,4 +179,11 @@ export const vi = { vaultNewPassword: "Mật khẩu mới", vaultPasswordChanged: "Đã đổi mật khẩu!", vaultDeleted: "Đã xóa cài đặt.", + + // Vault gate + vaultGateTitle: "uncloseai.", + vaultGateNew: "Lịch sử trò chuyện, khóa API và cài đặt của bạn được mã hóa bằng AES-256 sử dụng mật khẩu do bạn chọn và salt riêng biệt cho thiết bị. Mỗi trang web có kho lưu trữ riêng — bạn có thể sử dụng mật khẩu khác nhau cho mỗi trang web. Chọn mật khẩu để bắt đầu.", + vaultGateReturning: "Lịch sử trò chuyện đã mã hóa, khóa API và cài đặt của bạn đang chờ đợi. Nhập mật khẩu của bạn để mở khóa kho lưu trữ của trang web này.", + vaultGateCreate: "Tạo Kho Lưu Trữ", + vaultGateUnlock: "Mở Khóa", }; diff --git a/public/src/languages/zh-tw.js b/public/src/languages/zh-tw.js index 87f74f2..dd53e9a 100644 --- a/public/src/languages/zh-tw.js +++ b/public/src/languages/zh-tw.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // Chinese Traditional (中文(繁體)) UI Translations @@ -151,4 +177,11 @@ export const zhTw = { vaultNewPassword: "新密碼", vaultPasswordChanged: "密碼已變更!", vaultDeleted: "設定已刪除。", + + // Vault gate + vaultGateTitle: "uncloseai.", + vaultGateNew: "您的聊天記錄、API金鑰和設定透過AES-256加密,使用您選擇的密碼和裝置特定的鹽值。每個網站都有自己獨立的保險庫——您可以為每個網站使用不同的密碼。選擇一個密碼以開始使用。", + vaultGateReturning: "您的加密聊天記錄、API金鑰和設定正在等待。輸入您的密碼以解鎖此網站的保險庫。", + vaultGateCreate: "建立保險庫", + vaultGateUnlock: "解鎖", }; \ No newline at end of file diff --git a/public/src/languages/zh.js b/public/src/languages/zh.js index f773a33..bf56dec 100644 --- a/public/src/languages/zh.js +++ b/public/src/languages/zh.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // Chinese Simplified (中文(简体)) UI Translations @@ -151,4 +177,11 @@ export const zh = { vaultNewPassword: "新密码", vaultPasswordChanged: "密码已更改!", vaultDeleted: "设置已删除。", + + // Vault gate + vaultGateTitle: "uncloseai.", + vaultGateNew: "您的聊天记录、API密钥和设置通过AES-256加密,使用您选择的密码和设备特定的盐值。每个网站都有自己独立的保险库——您可以为每个网站使用不同的密码。选择一个密码以开始使用。", + vaultGateReturning: "您的加密聊天记录、API密钥和设置正在等待。输入您的密码以解锁此网站的保险库。", + vaultGateCreate: "创建保险库", + vaultGateUnlock: "解锁", }; \ No newline at end of file diff --git a/public/src/models.js b/public/src/models.js index ba4f791..de9f8af 100644 --- a/public/src/models.js +++ b/public/src/models.js @@ -1,10 +1,44 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // Model registry and selection functionality import { VLLM_ENDPOINTS, getAPIConfig, DEFAULT_MAX_TOKENS } from "./config.js"; +// Helper to get vault value or fallback to default (no plaintext localStorage) +function getVaultOrStorage(key, defaultValue = null) { + if (typeof window !== 'undefined' && window.UncloseVault && window.UncloseVault.isUnlocked()) { + return window.UncloseVault.get(key, defaultValue); + } + return defaultValue; +} + // This registry maps a model's ID to the endpoint where it resides. export const modelRegistry = {}; @@ -16,9 +50,9 @@ export async function fetchModelsFromEndpoints() { // Include custom API config in cache key to bust cache when it changes const customAPIConfig = { - useCustomAPI: localStorage.getItem("useCustomAPI"), - customBaseURL: localStorage.getItem("customBaseURL"), - customAPIKey: localStorage.getItem("customAPIKey") + useCustomAPI: getVaultOrStorage("useCustomAPI", false), + customBaseURL: getVaultOrStorage("customBaseURL", ""), + customAPIKey: getVaultOrStorage("customAPIKey", "") }; const endpointsString = JSON.stringify({ vllm: VLLM_ENDPOINTS, @@ -47,8 +81,8 @@ export async function fetchModelsFromEndpoints() { const endpointsToFetch = [...VLLM_ENDPOINTS]; // Add custom API endpoint if the checkbox is checked (regardless of current model routing) - const useCustomAPI = localStorage.getItem("useCustomAPI") === "true"; - const customBaseURL = localStorage.getItem("customBaseURL"); + const useCustomAPI = getVaultOrStorage("useCustomAPI", false) === true; + const customBaseURL = getVaultOrStorage("customBaseURL", ""); if (useCustomAPI && customBaseURL) { @@ -73,7 +107,7 @@ export async function fetchModelsFromEndpoints() { // Add authorization for custom API if (endpoint.id === customBaseURL && useCustomAPI) { - const customAPIKey = localStorage.getItem("customAPIKey"); + const customAPIKey = getVaultOrStorage("customAPIKey", ""); if (customAPIKey) { headers["Authorization"] = `Bearer ${customAPIKey}`; } diff --git a/public/src/page-reader.js b/public/src/page-reader.js index 3ae7805..5e75fbf 100644 --- a/public/src/page-reader.js +++ b/public/src/page-reader.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // Page reading functionality diff --git a/public/src/storage.js b/public/src/storage.js index 1b72046..86b4c4c 100644 --- a/public/src/storage.js +++ b/public/src/storage.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // Conversation history and localStorage functionality @@ -71,16 +97,8 @@ export function saveConversationHistory(chatHistory) { console.warn("Conversation encryption failed, saving as plaintext"); } - // Guard: do not overwrite encrypted data with plaintext - const existing = parseStoredData(localStorage.getItem(storageKey)); - if (existing.type === "encrypted") { - console.warn( - "Vault locked: cannot save conversation (data is encrypted). Unlock vault to save.", - ); - return; - } - - localStorage.setItem(storageKey, JSON.stringify(historyToSave)); + // Vault is mandatory — never save plaintext conversations + console.warn("Vault locked: conversation not saved to localStorage"); } export function loadConversationHistory() { diff --git a/public/src/token_estimator.js b/public/src/token_estimator.js index de160c0..e7e3d4b 100644 --- a/public/src/token_estimator.js +++ b/public/src/token_estimator.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // Simplified BPE tokenizer based on tiktoken's core logic diff --git a/public/src/translate-modal.js b/public/src/translate-modal.js index 577c74a..bba229e 100644 --- a/public/src/translate-modal.js +++ b/public/src/translate-modal.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // Translation Modal functionality diff --git a/public/src/translation.js b/public/src/translation.js index 801f180..39bbb86 100644 --- a/public/src/translation.js +++ b/public/src/translation.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com import { API_KEY, getAPIConfig } from "./config.js"; diff --git a/public/src/tts-modal.js b/public/src/tts-modal.js index ecb3bd8..b3654dd 100644 --- a/public/src/tts-modal.js +++ b/public/src/tts-modal.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // TTS Modal functionality @@ -119,10 +145,12 @@ async function populateVoiceDropdown(voiceSelection) { function renderVoiceOptions(voiceSelection, voices) { voiceSelection.innerHTML = ''; // Clear existing options - // Get saved voice preference + // Get saved voice preference (vault first, fallback to default) let savedVoice = 'tts-1:onyx'; // Default try { - savedVoice = localStorage.getItem('uncloseai_selected_voice') || 'tts-1:onyx'; + if (typeof window !== 'undefined' && window.UncloseVault && window.UncloseVault.isUnlocked()) { + savedVoice = window.UncloseVault.get('uncloseai_selected_voice', 'tts-1:onyx'); + } } catch (error) { console.warn('Failed to read voice preference:', error); } @@ -158,10 +186,14 @@ function renderVoiceOptions(voiceSelection, voices) { radio.checked = true; } - // Save selection on change + // Save selection on change (through vault) radio.addEventListener('change', () => { try { - localStorage.setItem('uncloseai_selected_voice', radio.value); + if (typeof window !== 'undefined' && window.UncloseVault && window.UncloseVault.isUnlocked()) { + window.UncloseVault.set('uncloseai_selected_voice', radio.value); + } else { + console.warn('Vault locked - voice preference not persisted'); + } } catch (error) { console.warn('Failed to save voice preference:', error); } diff --git a/public/src/tts.js b/public/src/tts.js index 7ff384f..7411720 100644 --- a/public/src/tts.js +++ b/public/src/tts.js @@ -1,15 +1,49 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // Text-to-speech functionality import { API_KEY, MODEL, setLastTTS, TTS_API_URL } from "./config.js"; import { getSelectedModel, getSelectedModelEndpoint, getSelectedModelMaxTokens, getSelectedModelMaxCompletionTokens } from "./models.js"; +// Helper to get vault value or localStorage fallback +function getVaultOrStorage(key, defaultValue = null) { + if (typeof window !== 'undefined' && window.UncloseVault && window.UncloseVault.isUnlocked()) { + return window.UncloseVault.get(key, defaultValue); + } + return defaultValue; +} + // TTS playback mode: "buffered" (default) or "streaming" export function getTTSMode() { try { - return localStorage.getItem("uncloseai_tts_mode") || "streaming"; + return getVaultOrStorage("uncloseai_tts_mode", "streaming"); } catch (e) { return "buffered"; } @@ -17,7 +51,11 @@ export function getTTSMode() { export function setTTSMode(mode) { try { - localStorage.setItem("uncloseai_tts_mode", mode); + if (typeof window !== 'undefined' && window.UncloseVault && window.UncloseVault.isUnlocked()) { + window.UncloseVault.set("uncloseai_tts_mode", mode); + } else { + console.warn("Vault locked - TTS mode not persisted"); + } } catch (e) { console.warn("Failed to save TTS mode:", e); } diff --git a/public/src/ui-themes.js b/public/src/ui-themes.js index d999de7..e85a6c0 100644 --- a/public/src/ui-themes.js +++ b/public/src/ui-themes.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // Theme detection and styling functionality diff --git a/public/src/ui-translations.js b/public/src/ui-translations.js index d1d3be2..0e75f71 100644 --- a/public/src/ui-translations.js +++ b/public/src/ui-translations.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // UI Translations for all supported languages @@ -38,9 +64,12 @@ export function getUserLanguagePreference() { } } - // Fall back to localStorage + // Fall back to vault, then default try { - return localStorage.getItem("uncloseai_language") || "en"; + if (typeof window !== 'undefined' && window.UncloseVault && window.UncloseVault.isUnlocked()) { + return window.UncloseVault.get("uncloseai_language", "en"); + } + return "en"; } catch (error) { console.warn("Failed to read language preference:", error); return "en"; @@ -49,7 +78,11 @@ export function getUserLanguagePreference() { export function setUserLanguagePreference(langCode) { try { - localStorage.setItem("uncloseai_language", langCode); + if (typeof window !== 'undefined' && window.UncloseVault && window.UncloseVault.isUnlocked()) { + window.UncloseVault.set("uncloseai_language", langCode); + } else { + console.warn("Vault locked - language preference not persisted"); + } console.log("Language preference saved:", langCode); // Trigger UI refresh when language changes refreshUILanguage(); diff --git a/public/src/ui.js b/public/src/ui.js index 8074f77..7e70a83 100644 --- a/public/src/ui.js +++ b/public/src/ui.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // UI creation and management functionality diff --git a/public/src/un.js b/public/src/un.js index 32a271b..61b275c 100644 --- a/public/src/un.js +++ b/public/src/un.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com /** diff --git a/public/src/uncloseai-embed-modal.js b/public/src/uncloseai-embed-modal.js index cebc2ec..e01d43c 100644 --- a/public/src/uncloseai-embed-modal.js +++ b/public/src/uncloseai-embed-modal.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // Main Hermes AI modal functionality - COMPLETE WORKING VERSION @@ -375,6 +401,8 @@ async function openUncloseaiEmbeddedModalNew() { // Close settings panel after locking settingsOpen = false; settingsPanel.classList.remove("open"); + // Re-show the vault gate + showVaultGate(); }; vaultSection.appendChild(unlockedUI); @@ -469,6 +497,8 @@ async function openUncloseaiEmbeddedModalNew() { "unsandboxSecretKey", "hermesSettingsOpen", "uncloseai_language", + "uncloseai_selected_voice", + "uncloseai_tts_mode", ]; keysToMigrate.forEach((key) => { @@ -1889,8 +1919,95 @@ async function openUncloseaiEmbeddedModalNew() { originalClose(); }; - // Load models on startup - loadModels(); + // --- VAULT GATE: mandatory password before any chat --- + const vaultGate = document.createElement("div"); + vaultGate.id = "uncloseai-vault-gate"; + vaultGate.style.cssText = "position: absolute; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; background: var(--uncloseai-modal-background, #1a1a2e); padding: 24px;"; + + function showVaultGate() { + const hasVault = UncloseVault.hasVault(); + vaultGate.innerHTML = ""; + vaultGate.style.display = "flex"; + + const gateContent = document.createElement("div"); + gateContent.style.cssText = "display: grid; gap: 16px; width: 100%; max-width: 360px; text-align: center;"; + + const title = document.createElement("div"); + title.style.cssText = "font-family: 'ChunkFiveRegular', monospace; font-size: 1.6em;"; + title.textContent = getUIText("vaultGateTitle"); + gateContent.appendChild(title); + + const explanation = document.createElement("div"); + explanation.style.cssText = "font-size: 0.9em; opacity: 0.85; line-height: 1.5;"; + explanation.textContent = hasVault ? getUIText("vaultGateReturning") : getUIText("vaultGateNew"); + gateContent.appendChild(explanation); + + const passwordInput = document.createElement("input"); + passwordInput.type = "password"; + passwordInput.className = "uncloseai-input"; + passwordInput.placeholder = getUIText("vaultPasswordPlaceholder"); + passwordInput.style.cssText = "width: 100%; padding: 12px; font-size: 1em;"; + gateContent.appendChild(passwordInput); + + const submitBtn = document.createElement("button"); + submitBtn.className = "uncloseai-btn-control"; + submitBtn.style.cssText = "width: 100%; padding: 12px; font-size: 1em;"; + submitBtn.textContent = hasVault ? getUIText("vaultGateUnlock") : getUIText("vaultGateCreate"); + gateContent.appendChild(submitBtn); + + const errorDiv = document.createElement("div"); + errorDiv.style.cssText = "color: #dc3545; display: none; font-size: 0.9em;"; + gateContent.appendChild(errorDiv); + + submitBtn.onclick = () => { + const password = passwordInput.value; + if (hasVault) { + const result = UncloseVault.unlock(password); + if (result.success) { + vaultGate.style.display = "none"; + refreshSettingsFromVault(); + startChat(); + } else { + errorDiv.textContent = getUIText("vaultWrongPassword"); + errorDiv.style.display = "block"; + passwordInput.value = ""; + passwordInput.focus(); + } + } else { + if (password.length < 8) { + errorDiv.textContent = getUIText("vaultPasswordTooShort"); + errorDiv.style.display = "block"; + return; + } + const result = UncloseVault.create(password); + if (result.success) { + migrateSettingsToVault(); + vaultGate.style.display = "none"; + refreshSettingsFromVault(); + startChat(); + } else { + errorDiv.textContent = result.error; + errorDiv.style.display = "block"; + } + } + }; + + passwordInput.onkeydown = (e) => { + if (e.key === "Enter") submitBtn.click(); + }; + + vaultGate.appendChild(gateContent); + container.appendChild(vaultGate); + + // Auto-focus the password input + setTimeout(() => passwordInput.focus(), 100); + } + + // Start chat: load models, load history, generate greeting + function startChat() { + loadModels(); + loadHistory(); + } // Load conversation history const loadHistory = async () => { @@ -2630,7 +2747,19 @@ You have complete knowledge of this page content and can reference any details, } }; - await loadHistory(); + // --- VAULT GATE CHECK: show gate or proceed to chat --- + if (UncloseVault.isAvailable() && UncloseVault.isUnlocked()) { + // Vault already unlocked (session persisted) — go straight to chat + loadModels(); + await loadHistory(); + } else if (UncloseVault.isAvailable()) { + // Vault available but locked — show gate, chat starts on unlock + showVaultGate(); + } else { + // CryptoJS not loaded — fallback (shouldn't happen, ensureCryptoJS above) + loadModels(); + await loadHistory(); + } } catch (error) { console.error("Failed to open modal:", error); // Fallback: ensure some basic modal is available diff --git a/public/src/vault.js b/public/src/vault.js index cba678f..7b83156 100644 --- a/public/src/vault.js +++ b/public/src/vault.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com /** diff --git a/public/src/widget-library.js b/public/src/widget-library.js index effac62..d787b5d 100644 --- a/public/src/widget-library.js +++ b/public/src/widget-library.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com // Widget and feature creation library diff --git a/public/uncloseai.js b/public/uncloseai.js index ba12c1b..bb24395 100644 --- a/public/uncloseai.js +++ b/public/uncloseai.js @@ -1,5 +1,31 @@ // PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf +// +// This is free public domain software for the public good of a permacomputer +// hosted at permacomputer.com, an always-on computer by the people, for the +// people. One which is durable, easy to repair, and distributed like tap water +// for machine learning intelligence. +// +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH - First principles, math & science, open source code +// FREEDOM - Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY - Minimal waste, self-renewing systems with diverse connections +// LOVE - Be yourself without hurting others, cooperation through natural law +// +// This software contributes to that vision by making machine learning +// accessible to everyone through a free, open, embeddable chat interface. +// Code is seeds to sprout on any abandoned technology. +// +// Learn more: https://www.permacomputer.com +// +// Anyone is free to copy, modify, publish, use, compile, sell, or distribute +// this software, either in source code form or as a compiled binary, for any +// purpose, commercial or non-commercial, and by any means. +// +// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. +// +// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf // https://www.permacomputer.com /*