mandatory vault gate: encrypt all localStorage with password before chat
Vault password prompt is now the first thing shown when opening uncloseai. No chat, no greeting, no data written until the user creates or unlocks their vault. Each site has its own vault with AES-256 encryption using password + device-specific salt. - Add vault gate overlay blocking modal until password entered - Remove plaintext conversation fallback from storage.js - Route TTS mode, selected voice, language through vault - Route custom API config reads through vault in models.js - Add vault gate i18n strings (26 languages) explaining per-site encryption of chat history, API keys, and settings - Add missing keys to migration (voice, TTS mode) - Re-show vault gate on lock from settings - Permacomputer headers across all source files Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
c38cae3c13
commit
9d191f24d1
54 changed files with 1742 additions and 84 deletions
|
|
@ -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');
|
||||
|
|
|
|||
|
|
@ -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';
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
#!/usr/bin/env node
|
||||
// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
// Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
// https://www.permacomputer.com
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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: "فتح",
|
||||
};
|
||||
|
|
@ -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: "আনলক করুন",
|
||||
};
|
||||
|
|
@ -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",
|
||||
};
|
||||
|
|
@ -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",
|
||||
};
|
||||
|
|
@ -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",
|
||||
};
|
||||
|
|
@ -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",
|
||||
};
|
||||
|
|
@ -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: "अनलॉक करें",
|
||||
};
|
||||
|
|
@ -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",
|
||||
};
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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: "ロック解除",
|
||||
};
|
||||
|
|
@ -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: "잠금 해제",
|
||||
};
|
||||
|
|
@ -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: "अनलॉक करा",
|
||||
};
|
||||
|
|
@ -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",
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
};
|
||||
|
|
@ -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: "Разблокировать",
|
||||
};
|
||||
|
|
@ -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",
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
};
|
||||
|
|
@ -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: "అన్లాక్ చేయండి",
|
||||
};
|
||||
|
|
@ -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: "ปลดล็อก",
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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ç",
|
||||
};
|
||||
|
|
@ -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: "Розблокувати",
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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: "کھولیں",
|
||||
};
|
||||
|
|
@ -1,6 +1,4 @@
|
|||
#!/usr/bin/env node
|
||||
// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
// Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
// https://www.permacomputer.com
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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: "解鎖",
|
||||
};
|
||||
|
|
@ -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: "解锁",
|
||||
};
|
||||
|
|
@ -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}`;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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() {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue