From 95d6baeebbeac83557ef447dedeab21f158f5ab1 Mon Sep 17 00:00:00 2001 From: "russell@unturf.com" Date: Wed, 25 Feb 2026 17:39:59 -0500 Subject: [PATCH] add canonical permacomputer preamble to all source files --- integration_tests.js | 24 ++++++++---- journal.rst | 19 +++++++++- lib/un.js | 17 +++++++++ public/browser-toys.html | 22 ++++++++--- public/c-examples.html | 22 ++++++++--- public/cli.html | 22 ++++++++--- public/crawler.html | 22 ++++++++--- public/csharp-examples.html | 22 ++++++++--- public/css/chunkfive/stylesheet.css | 19 ++++++++++ public/css/sidebar-theme.css | 23 ++++++++--- public/dart-examples.html | 22 ++++++++--- public/demo.html | 22 ++++++++--- public/elixir-examples.html | 22 ++++++++--- public/go-examples.html | 22 ++++++++--- public/index.html | 22 ++++++++--- public/inference.html | 22 ++++++++--- public/java-examples.html | 22 ++++++++--- public/kotlin-examples.html | 22 ++++++++--- public/languages/bash/uncloseai.sh | 20 ++++++++-- public/languages/cobol/discover.sh | 19 ++++++++-- public/languages/cobol/hermes.sh | 19 ++++++++-- public/languages/cobol/qwen.sh | 19 ++++++++-- public/languages/cobol/tts.sh | 19 ++++++++-- .../elixir/httpoison/lib/uncloseai.ex | 19 ++++++++-- public/languages/elixir/httpoison/mix.exs | 19 ++++++++-- public/languages/elixir/httpoison/run.exs | 20 ++++++++-- public/languages/elixir/openai/mix.exs | 19 ++++++++-- public/languages/elixir/openai/uncloseai.exs | 20 ++++++++-- public/languages/go/examples/basic.go | 25 +++++++----- public/languages/go/http/uncloseai.go | 19 ++++++++-- public/languages/go/openai/main.go | 19 ++++++++-- public/languages/go/uncloseai/uncloseai.go | 38 ++++++++----------- .../languages/javascript/nodejs/uncloseai.js | 27 ++++--------- .../javascript/openai/nodejs/uncloseai.js | 27 ++++--------- .../javascript/vanilla/uncloseai.html | 22 ++++++++--- public/languages/python/aiohttp/uncloseai.py | 19 ++++++++-- .../languages/python/httpx-async/uncloseai.py | 19 ++++++++-- public/languages/python/openai/uncloseai.py | 19 ++++++++-- public/languages/python/requests/uncloseai.py | 19 ++++++++-- public/nodejs-examples.html | 22 ++++++++--- public/php-examples.html | 22 ++++++++--- public/privacy-policy.html | 22 ++++++++--- public/python-examples.html | 22 ++++++++--- ...e-retrieval-augmented-generations-rag.html | 22 ++++++++--- public/ruby-examples.html | 22 ++++++++--- public/rust-examples.html | 22 ++++++++--- public/src/ago.js | 34 +++++++---------- public/src/chat.js | 24 ++++-------- public/src/code-execution.js | 24 ++++-------- public/src/config.js | 25 ++++-------- public/src/content.js | 25 ++++-------- public/src/file-upload.js | 23 ++++------- public/src/groq-fetch.js | 28 ++++---------- public/src/language-detection.js | 25 ++++-------- public/src/languages/add-missing-keys.js | 20 ++++++++-- public/src/languages/ar.js | 26 ++++--------- public/src/languages/bn.js | 26 ++++--------- public/src/languages/de.js | 26 ++++--------- public/src/languages/en.js | 26 ++++--------- public/src/languages/es.js | 26 ++++--------- public/src/languages/fr.js | 26 ++++--------- public/src/languages/hi.js | 26 ++++--------- public/src/languages/id.js | 26 ++++--------- public/src/languages/index.js | 26 ++++--------- public/src/languages/it.js | 24 ++++-------- public/src/languages/ja.js | 26 ++++--------- public/src/languages/ko.js | 26 ++++--------- public/src/languages/mr.js | 26 ++++--------- public/src/languages/nl.js | 24 ++++-------- public/src/languages/pl.js | 24 ++++-------- public/src/languages/pt.js | 26 ++++--------- public/src/languages/ru.js | 26 ++++--------- public/src/languages/sv.js | 24 ++++-------- public/src/languages/sw.js | 26 ++++--------- public/src/languages/te.js | 26 ++++--------- public/src/languages/th.js | 24 ++++-------- public/src/languages/tr.js | 26 ++++--------- public/src/languages/uk.js | 24 ++++-------- public/src/languages/ur.js | 26 ++++--------- public/src/languages/verify-translations.js | 20 ++++++++-- public/src/languages/vi.js | 24 ++++-------- public/src/languages/zh-tw.js | 26 ++++--------- public/src/languages/zh.js | 26 ++++--------- public/src/models.js | 24 ++++-------- public/src/page-intelligence.js | 17 +++++++++ public/src/page-reader.js | 24 ++++-------- public/src/storage.js | 25 ++++-------- public/src/token_estimator.js | 30 ++++----------- public/src/translate-modal.js | 24 ++++-------- public/src/translation.js | 23 ++++------- public/src/tts-modal.js | 26 ++++--------- public/src/tts.js | 24 ++++-------- public/src/ui-themes.js | 26 ++++--------- public/src/ui-translations.js | 27 ++++--------- public/src/ui.js | 24 ++++-------- public/src/un.js | 23 ++++------- public/src/uncloseai-embed-modal.js | 24 ++++-------- public/src/uncloseai-modal-builtin.css | 23 ++++++++--- public/src/uncloseai-modal-pico.css | 21 ++++++++-- public/src/vault.js | 23 ++++------- public/src/widget-library.js | 26 ++++--------- public/swift-examples.html | 22 ++++++++--- public/terms-of-use.html | 22 ++++++++--- public/text-to-speech.html | 22 ++++++++--- public/tts/fast-synthesis.html | 22 ++++++++--- public/tts/hd-cloning.html | 22 ++++++++--- public/tts/lightweight.html | 22 ++++++++--- public/tts/multilingual-cpu.html | 22 ++++++++--- public/tts/voice-cloning.html | 22 ++++++++--- public/uncloseai-js-styleguide.html | 22 ++++++++--- public/uncloseai-js.html | 22 ++++++++--- public/uncloseai.js | 27 ++++--------- validate_exports.js | 22 ++++++++--- 113 files changed, 1406 insertions(+), 1221 deletions(-) diff --git a/integration_tests.js b/integration_tests.js index 0584e5e..c764fab 100755 --- a/integration_tests.js +++ b/integration_tests.js @@ -1,9 +1,19 @@ -// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf -// https://www.permacomputer.com - -// Comprehensive Integration tests to verify all imports, exports, and functionality work correctly -// Run with: node integration_tests.js +// This is free 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, & 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 freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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. import { fileURLToPath } from 'url'; import { dirname, join } from 'path'; @@ -985,4 +995,4 @@ if (failed === 0) { console.log('\n💥 Some tests failed. Please fix the issues above before deploying.'); console.log('🔧 Check the failed tests and resolve any import/export issues.'); process.exit(1); -} \ No newline at end of file +} diff --git a/journal.rst b/journal.rst index a14ccd3..00f1872 100644 --- a/journal.rst +++ b/journal.rst @@ -1,3 +1,20 @@ +.. This is free 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, & 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 freely distributed +.. FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +.. HARMONY Minimal waste, self-renewing systems with diverse thriving 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. + ==================== Development Journal ==================== @@ -359,4 +376,4 @@ const maxTokens = getSelectedModelMaxTokens(); // Reads from model registry - ✅ Mobile responsive 2-column grid layout - ✅ Translation key cleanup across all 19 languages -This release transforms the AI chat system from a single-provider solution into a flexible, multi-provider platform while maintaining the clean user experience and adding significant debugging capabilities for troubleshooting. \ No newline at end of file +This release transforms the AI chat system from a single-provider solution into a flexible, multi-provider platform while maintaining the clean user experience and adding significant debugging capabilities for troubleshooting. diff --git a/lib/un.js b/lib/un.js index 40e0993..837ce44 100644 --- a/lib/un.js +++ b/lib/un.js @@ -1,3 +1,20 @@ +// This is free 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, & 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 freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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. + /** * PUBLIC DOMAIN - NO LICENSE, NO WARRANTY * diff --git a/public/browser-toys.html b/public/browser-toys.html index ba80b11..de1860a 100644 --- a/public/browser-toys.html +++ b/public/browser-toys.html @@ -1,10 +1,22 @@ - + This is free 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, & 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 freely distributed + FREEDOM Voluntary partnerships, freedom from tyranny & corporate control + HARMONY Minimal waste, self-renewing systems with diverse thriving 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. +--> + diff --git a/public/c-examples.html b/public/c-examples.html index 8b729fe..9aa3f43 100644 --- a/public/c-examples.html +++ b/public/c-examples.html @@ -1,10 +1,22 @@ - + This is free 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, & 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 freely distributed + FREEDOM Voluntary partnerships, freedom from tyranny & corporate control + HARMONY Minimal waste, self-renewing systems with diverse thriving 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. +--> + diff --git a/public/cli.html b/public/cli.html index 0e9d5e3..dae6186 100644 --- a/public/cli.html +++ b/public/cli.html @@ -1,10 +1,22 @@ - + This is free 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, & 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 freely distributed + FREEDOM Voluntary partnerships, freedom from tyranny & corporate control + HARMONY Minimal waste, self-renewing systems with diverse thriving 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. +--> + diff --git a/public/crawler.html b/public/crawler.html index 80c14da..167671b 100644 --- a/public/crawler.html +++ b/public/crawler.html @@ -1,10 +1,22 @@ - + This is free 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, & 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 freely distributed + FREEDOM Voluntary partnerships, freedom from tyranny & corporate control + HARMONY Minimal waste, self-renewing systems with diverse thriving 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. +--> + diff --git a/public/csharp-examples.html b/public/csharp-examples.html index cf342d7..9cfea7e 100644 --- a/public/csharp-examples.html +++ b/public/csharp-examples.html @@ -1,10 +1,22 @@ - + This is free 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, & 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 freely distributed + FREEDOM Voluntary partnerships, freedom from tyranny & corporate control + HARMONY Minimal waste, self-renewing systems with diverse thriving 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. +--> + diff --git a/public/css/chunkfive/stylesheet.css b/public/css/chunkfive/stylesheet.css index 4421f01..6cec602 100644 --- a/public/css/chunkfive/stylesheet.css +++ b/public/css/chunkfive/stylesheet.css @@ -1,3 +1,22 @@ +/* + * This is free 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, & 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 freely distributed + * FREEDOM Voluntary partnerships, freedom from tyranny & corporate control + * HARMONY Minimal waste, self-renewing systems with diverse thriving 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. + */ + /*! Generated by Font Squirrel (https://www.fontsquirrel.com) on October 4, 2021 */ @font-face { diff --git a/public/css/sidebar-theme.css b/public/css/sidebar-theme.css index 0c3df30..8f520f5 100644 --- a/public/css/sidebar-theme.css +++ b/public/css/sidebar-theme.css @@ -1,8 +1,21 @@ /* - PUBLIC DOMAIN - NO LICENSE, NO WARRANTY - Copyright 2025 TimeHexOn & foxhop & russell@unturf - https://www.permacomputer.com -*/ + * This is free 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, & 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 freely distributed + * FREEDOM Voluntary partnerships, freedom from tyranny & corporate control + * HARMONY Minimal waste, self-renewing systems with diverse thriving 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. + */ /* CSS Grid-based sidebar navigation theme for PicoCSS */ @@ -310,4 +323,4 @@ pre { width: 100%; padding: 0.75rem 0.5rem; } -} \ No newline at end of file +} diff --git a/public/dart-examples.html b/public/dart-examples.html index 681ecbb..6699ad9 100644 --- a/public/dart-examples.html +++ b/public/dart-examples.html @@ -1,10 +1,22 @@ - + This is free 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, & 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 freely distributed + FREEDOM Voluntary partnerships, freedom from tyranny & corporate control + HARMONY Minimal waste, self-renewing systems with diverse thriving 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. +--> + diff --git a/public/demo.html b/public/demo.html index a188e14..82dfd37 100644 --- a/public/demo.html +++ b/public/demo.html @@ -1,10 +1,22 @@ - + This is free 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, & 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 freely distributed + FREEDOM Voluntary partnerships, freedom from tyranny & corporate control + HARMONY Minimal waste, self-renewing systems with diverse thriving 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. +--> + diff --git a/public/elixir-examples.html b/public/elixir-examples.html index 736bfe2..04660b4 100644 --- a/public/elixir-examples.html +++ b/public/elixir-examples.html @@ -1,10 +1,22 @@ - + This is free 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, & 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 freely distributed + FREEDOM Voluntary partnerships, freedom from tyranny & corporate control + HARMONY Minimal waste, self-renewing systems with diverse thriving 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. +--> + diff --git a/public/go-examples.html b/public/go-examples.html index 3be6a81..59d8673 100644 --- a/public/go-examples.html +++ b/public/go-examples.html @@ -1,10 +1,22 @@ - + This is free 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, & 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 freely distributed + FREEDOM Voluntary partnerships, freedom from tyranny & corporate control + HARMONY Minimal waste, self-renewing systems with diverse thriving 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. +--> + diff --git a/public/index.html b/public/index.html index 13feb6d..28ce66e 100644 --- a/public/index.html +++ b/public/index.html @@ -1,10 +1,22 @@ - + This is free 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, & 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 freely distributed + FREEDOM Voluntary partnerships, freedom from tyranny & corporate control + HARMONY Minimal waste, self-renewing systems with diverse thriving 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. +--> + diff --git a/public/inference.html b/public/inference.html index f5f1bce..f8ee2d6 100644 --- a/public/inference.html +++ b/public/inference.html @@ -1,10 +1,22 @@ - + This is free 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, & 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 freely distributed + FREEDOM Voluntary partnerships, freedom from tyranny & corporate control + HARMONY Minimal waste, self-renewing systems with diverse thriving 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. +--> + diff --git a/public/java-examples.html b/public/java-examples.html index b02fa23..a79dec1 100644 --- a/public/java-examples.html +++ b/public/java-examples.html @@ -1,10 +1,22 @@ - + This is free 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, & 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 freely distributed + FREEDOM Voluntary partnerships, freedom from tyranny & corporate control + HARMONY Minimal waste, self-renewing systems with diverse thriving 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. +--> + diff --git a/public/kotlin-examples.html b/public/kotlin-examples.html index a9bb70e..43a2756 100644 --- a/public/kotlin-examples.html +++ b/public/kotlin-examples.html @@ -1,10 +1,22 @@ - + This is free 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, & 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 freely distributed + FREEDOM Voluntary partnerships, freedom from tyranny & corporate control + HARMONY Minimal waste, self-renewing systems with diverse thriving 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. +--> + diff --git a/public/languages/bash/uncloseai.sh b/public/languages/bash/uncloseai.sh index a831571..d5d557d 100755 --- a/public/languages/bash/uncloseai.sh +++ b/public/languages/bash/uncloseai.sh @@ -1,8 +1,20 @@ #!/bin/bash -# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -# Copyright 2025 TimeHexOn & foxhop & russell@unturf -# https://www.permacomputer.com - +# This is free 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, & 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 freely distributed +# FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +# HARMONY Minimal waste, self-renewing systems with diverse thriving 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. # UncloseAI Bash Library - OpenAI-compatible API client with streaming support # Compatible with vLLM, Ollama, and OpenAI-compatible endpoints diff --git a/public/languages/cobol/discover.sh b/public/languages/cobol/discover.sh index 8e33361..3e5e989 100644 --- a/public/languages/cobol/discover.sh +++ b/public/languages/cobol/discover.sh @@ -1,7 +1,20 @@ #!/bin/sh -# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -# Copyright 2025 TimeHexOn & foxhop & russell@unturf -# https://www.permacomputer.com +# This is free 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, & 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 freely distributed +# FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +# HARMONY Minimal waste, self-renewing systems with diverse thriving 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. # Model discovery for COBOL - outputs discovered models to files diff --git a/public/languages/cobol/hermes.sh b/public/languages/cobol/hermes.sh index c003e8b..f4a6afa 100644 --- a/public/languages/cobol/hermes.sh +++ b/public/languages/cobol/hermes.sh @@ -1,7 +1,20 @@ #!/bin/sh -# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -# Copyright 2025 TimeHexOn & foxhop & russell@unturf -# https://www.permacomputer.com +# This is free 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, & 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 freely distributed +# FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +# HARMONY Minimal waste, self-renewing systems with diverse thriving 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. # Use first discovered model if [ ! -f /tmp/model_0.txt ] || [ ! -f /tmp/endpoint_0.txt ]; then diff --git a/public/languages/cobol/qwen.sh b/public/languages/cobol/qwen.sh index 82312c0..7ec626a 100644 --- a/public/languages/cobol/qwen.sh +++ b/public/languages/cobol/qwen.sh @@ -1,7 +1,20 @@ #!/bin/sh -# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -# Copyright 2025 TimeHexOn & foxhop & russell@unturf -# https://www.permacomputer.com +# This is free 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, & 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 freely distributed +# FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +# HARMONY Minimal waste, self-renewing systems with diverse thriving 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. # Use second discovered model (or first if only one) if [ -f /tmp/model_1.txt ] && [ -f /tmp/endpoint_1.txt ]; then diff --git a/public/languages/cobol/tts.sh b/public/languages/cobol/tts.sh index 6024523..9c258b2 100644 --- a/public/languages/cobol/tts.sh +++ b/public/languages/cobol/tts.sh @@ -1,7 +1,20 @@ #!/bin/sh -# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -# Copyright 2025 TimeHexOn & foxhop & russell@unturf -# https://www.permacomputer.com +# This is free 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, & 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 freely distributed +# FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +# HARMONY Minimal waste, self-renewing systems with diverse thriving 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. # Use first TTS endpoint if [ ! -f /tmp/tts_endpoint.txt ]; then diff --git a/public/languages/elixir/httpoison/lib/uncloseai.ex b/public/languages/elixir/httpoison/lib/uncloseai.ex index bc445fa..85138a3 100644 --- a/public/languages/elixir/httpoison/lib/uncloseai.ex +++ b/public/languages/elixir/httpoison/lib/uncloseai.ex @@ -1,6 +1,19 @@ -# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -# Copyright 2025 TimeHexOn & foxhop & russell@unturf -# https://www.permacomputer.com +# This is free 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, & 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 freely distributed +# FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +# HARMONY Minimal waste, self-renewing systems with diverse thriving 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. defmodule UncloseAI do @moduledoc """ diff --git a/public/languages/elixir/httpoison/mix.exs b/public/languages/elixir/httpoison/mix.exs index 8c950e8..55097dd 100644 --- a/public/languages/elixir/httpoison/mix.exs +++ b/public/languages/elixir/httpoison/mix.exs @@ -1,6 +1,19 @@ -# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -# Copyright 2025 TimeHexOn & foxhop & russell@unturf -# https://www.permacomputer.com +# This is free 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, & 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 freely distributed +# FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +# HARMONY Minimal waste, self-renewing systems with diverse thriving 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. defmodule AIExamples.MixProject do use Mix.Project diff --git a/public/languages/elixir/httpoison/run.exs b/public/languages/elixir/httpoison/run.exs index 55459a4..8159a0b 100644 --- a/public/languages/elixir/httpoison/run.exs +++ b/public/languages/elixir/httpoison/run.exs @@ -1,8 +1,20 @@ #!/usr/bin/env elixir -# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -# Copyright 2025 TimeHexOn & foxhop & russell@unturf -# https://www.permacomputer.com - +# This is free 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, & 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 freely distributed +# FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +# HARMONY Minimal waste, self-renewing systems with diverse thriving 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. # Load dependencies (skip Mix.install when running via Docker with pre-compiled deps) unless System.get_env("MIX_ENV") == "prod" do diff --git a/public/languages/elixir/openai/mix.exs b/public/languages/elixir/openai/mix.exs index 53fbb37..298932e 100644 --- a/public/languages/elixir/openai/mix.exs +++ b/public/languages/elixir/openai/mix.exs @@ -1,6 +1,19 @@ -# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -# Copyright 2025 TimeHexOn & foxhop & russell@unturf -# https://www.permacomputer.com +# This is free 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, & 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 freely distributed +# FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +# HARMONY Minimal waste, self-renewing systems with diverse thriving 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. defmodule UncloseaiOpenai.MixProject do use Mix.Project diff --git a/public/languages/elixir/openai/uncloseai.exs b/public/languages/elixir/openai/uncloseai.exs index c5bedd5..cf5db26 100644 --- a/public/languages/elixir/openai/uncloseai.exs +++ b/public/languages/elixir/openai/uncloseai.exs @@ -1,8 +1,20 @@ #!/usr/bin/env elixir -# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -# Copyright 2025 TimeHexOn & foxhop & russell@unturf -# https://www.permacomputer.com - +# This is free 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, & 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 freely distributed +# FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +# HARMONY Minimal waste, self-renewing systems with diverse thriving 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. Mix.install([{:openai_ex, "~> 0.9.18"}, {:httpoison, "~> 2.2"}, {:jason, "~> 1.4"}]) diff --git a/public/languages/go/examples/basic.go b/public/languages/go/examples/basic.go index 0f4a722..6b01e30 100644 --- a/public/languages/go/examples/basic.go +++ b/public/languages/go/examples/basic.go @@ -1,14 +1,19 @@ -// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf -// https://www.permacomputer.com - -// UncloseAI Go Library - Usage Examples +// This is free 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, & distributed like tap water +// for machine learning intelligence. // -// Demonstrates how to use the UncloseAI library for: -// - Model discovery -// - Non-streaming chat completions -// - Streaming chat completions -// - Text-to-speech generation +// The permacomputer is community-owned infrastructure optimized around +// four values: +// +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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. package main diff --git a/public/languages/go/http/uncloseai.go b/public/languages/go/http/uncloseai.go index 5eaeb00..f5a3a26 100644 --- a/public/languages/go/http/uncloseai.go +++ b/public/languages/go/http/uncloseai.go @@ -1,6 +1,19 @@ -// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf -// https://www.permacomputer.com +// This is free 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, & 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 freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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. package main diff --git a/public/languages/go/openai/main.go b/public/languages/go/openai/main.go index 90f5af8..3368fe8 100644 --- a/public/languages/go/openai/main.go +++ b/public/languages/go/openai/main.go @@ -1,6 +1,19 @@ -// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf -// https://www.permacomputer.com +// This is free 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, & 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 freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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. package main diff --git a/public/languages/go/uncloseai/uncloseai.go b/public/languages/go/uncloseai/uncloseai.go index b1ad8da..6961484 100644 --- a/public/languages/go/uncloseai/uncloseai.go +++ b/public/languages/go/uncloseai/uncloseai.go @@ -1,26 +1,20 @@ -// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf -// https://www.permacomputer.com +// This is free 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, & 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 freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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. -// Package uncloseai provides a Go client library for interacting with vLLM, Ollama, and OpenAI-compatible APIs. -// -// Features: -// - Automatic model discovery from environment variables -// - Streaming and non-streaming chat completions -// - Text-to-speech generation -// - Support for multiple endpoints -// - Type-safe API with comprehensive error handling -// -// Example: -// -// client, err := uncloseai.New(nil) -// if err != nil { -// log.Fatal(err) -// } -// -// response, err := client.Chat(ctx, []uncloseai.Message{ -// {Role: "user", Content: "Hello!"}, -// }, nil) package uncloseai import ( diff --git a/public/languages/javascript/nodejs/uncloseai.js b/public/languages/javascript/nodejs/uncloseai.js index 631d282..9740714 100644 --- a/public/languages/javascript/nodejs/uncloseai.js +++ b/public/languages/javascript/nodejs/uncloseai.js @@ -1,32 +1,19 @@ -// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// -// 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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'); const fs = require('fs'); diff --git a/public/languages/javascript/openai/nodejs/uncloseai.js b/public/languages/javascript/openai/nodejs/uncloseai.js index 8309237..34b03c1 100644 --- a/public/languages/javascript/openai/nodejs/uncloseai.js +++ b/public/languages/javascript/openai/nodejs/uncloseai.js @@ -1,32 +1,19 @@ -// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// -// 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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'; import fs from 'fs'; diff --git a/public/languages/javascript/vanilla/uncloseai.html b/public/languages/javascript/vanilla/uncloseai.html index d1e6560..7888228 100644 --- a/public/languages/javascript/vanilla/uncloseai.html +++ b/public/languages/javascript/vanilla/uncloseai.html @@ -1,10 +1,22 @@ - + This is free 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, & 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 freely distributed + FREEDOM Voluntary partnerships, freedom from tyranny & corporate control + HARMONY Minimal waste, self-renewing systems with diverse thriving 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. +--> + diff --git a/public/languages/python/aiohttp/uncloseai.py b/public/languages/python/aiohttp/uncloseai.py index d0d7773..85cb9f3 100644 --- a/public/languages/python/aiohttp/uncloseai.py +++ b/public/languages/python/aiohttp/uncloseai.py @@ -1,7 +1,20 @@ #!/usr/bin/env python3 -# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -# Copyright 2025 TimeHexOn & foxhop & russell@unturf -# https://www.permacomputer.com +# This is free 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, & 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 freely distributed +# FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +# HARMONY Minimal waste, self-renewing systems with diverse thriving 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. """ uncloseai. - Async Python Client (aiohttp) diff --git a/public/languages/python/httpx-async/uncloseai.py b/public/languages/python/httpx-async/uncloseai.py index 500df5e..f7d577e 100644 --- a/public/languages/python/httpx-async/uncloseai.py +++ b/public/languages/python/httpx-async/uncloseai.py @@ -1,7 +1,20 @@ #!/usr/bin/env python3 -# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -# Copyright 2025 TimeHexOn & foxhop & russell@unturf -# https://www.permacomputer.com +# This is free 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, & 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 freely distributed +# FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +# HARMONY Minimal waste, self-renewing systems with diverse thriving 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. """ uncloseai. - Async Python Client (httpx) diff --git a/public/languages/python/openai/uncloseai.py b/public/languages/python/openai/uncloseai.py index c4df07e..091059c 100644 --- a/public/languages/python/openai/uncloseai.py +++ b/public/languages/python/openai/uncloseai.py @@ -1,7 +1,20 @@ #!/usr/bin/env python3 -# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -# Copyright 2025 TimeHexOn & foxhop & russell@unturf -# https://www.permacomputer.com +# This is free 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, & 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 freely distributed +# FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +# HARMONY Minimal waste, self-renewing systems with diverse thriving 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. """ uncloseai. - Python Client using OpenAI SDK diff --git a/public/languages/python/requests/uncloseai.py b/public/languages/python/requests/uncloseai.py index 48560c4..2e778b5 100644 --- a/public/languages/python/requests/uncloseai.py +++ b/public/languages/python/requests/uncloseai.py @@ -1,7 +1,20 @@ #!/usr/bin/env python3 -# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -# Copyright 2025 TimeHexOn & foxhop & russell@unturf -# https://www.permacomputer.com +# This is free 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, & 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 freely distributed +# FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +# HARMONY Minimal waste, self-renewing systems with diverse thriving 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. """ uncloseai - Python client library for OpenAI-compatible APIs diff --git a/public/nodejs-examples.html b/public/nodejs-examples.html index e72b172..2d37f6e 100644 --- a/public/nodejs-examples.html +++ b/public/nodejs-examples.html @@ -1,10 +1,22 @@ - + This is free 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, & 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 freely distributed + FREEDOM Voluntary partnerships, freedom from tyranny & corporate control + HARMONY Minimal waste, self-renewing systems with diverse thriving 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. +--> + diff --git a/public/php-examples.html b/public/php-examples.html index 720474d..9435ca2 100644 --- a/public/php-examples.html +++ b/public/php-examples.html @@ -1,10 +1,22 @@ - + This is free 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, & 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 freely distributed + FREEDOM Voluntary partnerships, freedom from tyranny & corporate control + HARMONY Minimal waste, self-renewing systems with diverse thriving 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. +--> + diff --git a/public/privacy-policy.html b/public/privacy-policy.html index e16b92c..8accf49 100644 --- a/public/privacy-policy.html +++ b/public/privacy-policy.html @@ -1,10 +1,22 @@ - + This is free 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, & 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 freely distributed + FREEDOM Voluntary partnerships, freedom from tyranny & corporate control + HARMONY Minimal waste, self-renewing systems with diverse thriving 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. +--> + diff --git a/public/python-examples.html b/public/python-examples.html index 9bc08f8..ff8658c 100644 --- a/public/python-examples.html +++ b/public/python-examples.html @@ -1,10 +1,22 @@ - + This is free 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, & 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 freely distributed + FREEDOM Voluntary partnerships, freedom from tyranny & corporate control + HARMONY Minimal waste, self-renewing systems with diverse thriving 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. +--> + diff --git a/public/reverse-retrieval-augmented-generations-rag.html b/public/reverse-retrieval-augmented-generations-rag.html index c0b52bf..b73ae4f 100644 --- a/public/reverse-retrieval-augmented-generations-rag.html +++ b/public/reverse-retrieval-augmented-generations-rag.html @@ -1,10 +1,22 @@ - + This is free 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, & 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 freely distributed + FREEDOM Voluntary partnerships, freedom from tyranny & corporate control + HARMONY Minimal waste, self-renewing systems with diverse thriving 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. +--> + diff --git a/public/ruby-examples.html b/public/ruby-examples.html index f6552fb..8d35cac 100644 --- a/public/ruby-examples.html +++ b/public/ruby-examples.html @@ -1,10 +1,22 @@ - + This is free 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, & 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 freely distributed + FREEDOM Voluntary partnerships, freedom from tyranny & corporate control + HARMONY Minimal waste, self-renewing systems with diverse thriving 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. +--> + diff --git a/public/rust-examples.html b/public/rust-examples.html index 2a1649a..ad88756 100644 --- a/public/rust-examples.html +++ b/public/rust-examples.html @@ -1,10 +1,22 @@ - + This is free 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, & 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 freely distributed + FREEDOM Voluntary partnerships, freedom from tyranny & corporate control + HARMONY Minimal waste, self-renewing systems with diverse thriving 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. +--> + diff --git a/public/src/ago.js b/public/src/ago.js index dbf25f0..15cc5eb 100644 --- a/public/src/ago.js +++ b/public/src/ago.js @@ -1,28 +1,20 @@ -// ago.js: JavaScript port of russell ballestrini's ago (https://pypi.org/project/ago/) -// "he might have died by now but his code should last." +// This is free 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, & distributed like tap water +// for machine learning intelligence. // -// Copyright (C) 2025 TimeHexOn & foxhop & russell@unturf -// https://www.permacomputer.com +// The permacomputer is community-owned infrastructure optimized around +// four values: // -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving connections +// LOVE Be yourself without hurting others, cooperation through natural law // -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . +// 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. -// Define time units as a data structure -// Each unit contains: -// - name: full name of the unit (e.g., "year") -// - abbr: abbreviation (e.g., "y") -// - seconds: number of seconds in this unit (for reference) -// - extract: function to extract this unit's value from a delta object {days, seconds, microseconds} const TIME_UNITS = [ { name: "year", diff --git a/public/src/chat.js b/public/src/chat.js index d949a9c..e8bca37 100644 --- a/public/src/chat.js +++ b/public/src/chat.js @@ -1,30 +1,20 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 import { marked } from "https://cdn.jsdelivr.net/npm/marked/lib/marked.esm.js"; import hljs from "https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.10.0/es/highlight.min.js"; import { API_KEY, getAPIConfig } from "./config.js"; diff --git a/public/src/code-execution.js b/public/src/code-execution.js index 98ad01d..0556e0c 100644 --- a/public/src/code-execution.js +++ b/public/src/code-execution.js @@ -1,30 +1,20 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 import { CODE_EXEC_URL } from "./config.js"; import * as un from "./un.js"; diff --git a/public/src/config.js b/public/src/config.js index 437f0f5..202f43d 100644 --- a/public/src/config.js +++ b/public/src/config.js @@ -1,30 +1,19 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 export const TTS_API_URL = "https://speech.ai.unturf.com/v1/audio/speech"; export const VOICES_API_URL = "https://speech.ai.unturf.com/v1/voices"; diff --git a/public/src/content.js b/public/src/content.js index ffae235..068219a 100644 --- a/public/src/content.js +++ b/public/src/content.js @@ -1,30 +1,19 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 import { human, delta2dict } from "./ago.js"; diff --git a/public/src/file-upload.js b/public/src/file-upload.js index 2aa7ee6..d643b70 100644 --- a/public/src/file-upload.js +++ b/public/src/file-upload.js @@ -1,28 +1,19 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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"; import { MEGAPARCE_API_URL } from "./config.js"; diff --git a/public/src/groq-fetch.js b/public/src/groq-fetch.js index 170f05c..738d69d 100644 --- a/public/src/groq-fetch.js +++ b/public/src/groq-fetch.js @@ -1,31 +1,19 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 -// Use this for all API requests to Groq endpoints export async function groqAwareFetch(url, options = {}) { // If not a Groq URL, use regular fetch @@ -131,4 +119,4 @@ export async function* groqAwareStreamingFetch(url, options = {}) { } throw new Error("Groq TPM rate limit exceeded after multiple retries. Please try again later."); -} \ No newline at end of file +} diff --git a/public/src/language-detection.js b/public/src/language-detection.js index 9a14dcb..fd322bd 100644 --- a/public/src/language-detection.js +++ b/public/src/language-detection.js @@ -1,30 +1,19 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 import { API_KEY } from "./config.js"; diff --git a/public/src/languages/add-missing-keys.js b/public/src/languages/add-missing-keys.js index cad7022..e741b5d 100644 --- a/public/src/languages/add-missing-keys.js +++ b/public/src/languages/add-missing-keys.js @@ -1,6 +1,20 @@ #!/usr/bin/env node -// https://www.permacomputer.com - +// This is free 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, & 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 freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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. /** * Script to add missing translation keys to all language files @@ -92,4 +106,4 @@ async function main() { // Export for testing export default main; -main().catch(console.error); \ No newline at end of file +main().catch(console.error); diff --git a/public/src/languages/ar.js b/public/src/languages/ar.js index a0fa2dc..a4e51d1 100644 --- a/public/src/languages/ar.js +++ b/public/src/languages/ar.js @@ -1,30 +1,20 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 export const ar = { // Main buttons readPage: "📖 قراءة الصفحة", @@ -182,4 +172,4 @@ export const ar = { vaultGateReturning: "سجل محادثاتك المشفر ومفاتيح API وإعداداتك في انتظارك. أدخل كلمة المرور لفتح خزنة هذا الموقع.", vaultGateCreate: "إنشاء الخزنة", vaultGateUnlock: "فتح", -}; \ No newline at end of file +}; diff --git a/public/src/languages/bn.js b/public/src/languages/bn.js index a1544a5..3b79b64 100644 --- a/public/src/languages/bn.js +++ b/public/src/languages/bn.js @@ -1,30 +1,20 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 export const bn = { // Main buttons readPage: "📖 পৃষ্ঠা পড়ুন", @@ -182,4 +172,4 @@ export const bn = { vaultGateReturning: "আপনার এনক্রিপ্ট করা চ্যাট ইতিহাস, API কী এবং সেটিংস অপেক্ষা করছে। এই সাইটের ভল্ট আনলক করতে আপনার পাসওয়ার্ড দিন।", vaultGateCreate: "ভল্ট তৈরি করুন", vaultGateUnlock: "আনলক করুন", -}; \ No newline at end of file +}; diff --git a/public/src/languages/de.js b/public/src/languages/de.js index caea148..6e2fffa 100644 --- a/public/src/languages/de.js +++ b/public/src/languages/de.js @@ -1,30 +1,20 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 export const de = { // Main buttons readPage: "📖 Seite Lesen", @@ -182,4 +172,4 @@ export const de = { vaultGateReturning: "Dein verschlüsselter Chatverlauf, deine API-Schlüssel und Einstellungen warten auf dich. Gib dein Passwort ein, um den Tresor dieser Seite zu entsperren.", vaultGateCreate: "Tresor Erstellen", vaultGateUnlock: "Entsperren", -}; \ No newline at end of file +}; diff --git a/public/src/languages/en.js b/public/src/languages/en.js index eaa2bcd..4359a52 100644 --- a/public/src/languages/en.js +++ b/public/src/languages/en.js @@ -1,30 +1,20 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 export const en = { // Main buttons readPage: "📖 Read Page", @@ -183,4 +173,4 @@ export const en = { vaultGateReturning: "Your encrypted chat history, API keys, and settings are waiting. Enter your password to unlock this site's vault.", vaultGateCreate: "Create Vault", vaultGateUnlock: "Unlock", -}; \ No newline at end of file +}; diff --git a/public/src/languages/es.js b/public/src/languages/es.js index 63f71d0..375e2d7 100644 --- a/public/src/languages/es.js +++ b/public/src/languages/es.js @@ -1,30 +1,20 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 export const es = { // Main buttons readPage: "📖 Leer Página", @@ -182,4 +172,4 @@ export const es = { vaultGateReturning: "Tu historial de chat cifrado, claves API y configuración están esperando. Introduce tu contraseña para desbloquear la bóveda de este sitio.", vaultGateCreate: "Crear Bóveda", vaultGateUnlock: "Desbloquear", -}; \ No newline at end of file +}; diff --git a/public/src/languages/fr.js b/public/src/languages/fr.js index b2d1fba..2e64d09 100644 --- a/public/src/languages/fr.js +++ b/public/src/languages/fr.js @@ -1,30 +1,20 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 export const fr = { // Main buttons readPage: "📖 Lire la Page", @@ -182,4 +172,4 @@ export const fr = { vaultGateReturning: "Votre historique de chat chiffré, vos clés API et vos paramètres vous attendent. Entrez votre mot de passe pour déverrouiller le coffre-fort de ce site.", vaultGateCreate: "Créer le Coffre-fort", vaultGateUnlock: "Déverrouiller", -}; \ No newline at end of file +}; diff --git a/public/src/languages/hi.js b/public/src/languages/hi.js index ec61fd8..4c06dfa 100644 --- a/public/src/languages/hi.js +++ b/public/src/languages/hi.js @@ -1,30 +1,20 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 export const hi = { // Main buttons readPage: "📖 पृष्ठ पढ़ें", @@ -181,4 +171,4 @@ export const hi = { vaultGateReturning: "आपका एन्क्रिप्टेड चैट इतिहास, API कुंजियाँ और सेटिंग्स प्रतीक्षा कर रही हैं। इस साइट का वॉल्ट अनलॉक करने के लिए अपना पासवर्ड दर्ज करें।", vaultGateCreate: "वॉल्ट बनाएं", vaultGateUnlock: "अनलॉक करें", -}; \ No newline at end of file +}; diff --git a/public/src/languages/id.js b/public/src/languages/id.js index 5a230fb..15cc742 100644 --- a/public/src/languages/id.js +++ b/public/src/languages/id.js @@ -1,30 +1,20 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 export const id = { // Main buttons readPage: "📖 Baca Halaman", @@ -182,4 +172,4 @@ export const id = { vaultGateReturning: "Riwayat obrolan terenkripsi, kunci API, dan pengaturan Anda menunggu. Masukkan kata sandi Anda untuk membuka brankas situs ini.", vaultGateCreate: "Buat Brankas", vaultGateUnlock: "Buka Kunci", -}; \ No newline at end of file +}; diff --git a/public/src/languages/index.js b/public/src/languages/index.js index d209a16..120acb2 100644 --- a/public/src/languages/index.js +++ b/public/src/languages/index.js @@ -1,30 +1,20 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 import { en } from "./en.js"; import { zh } from "./zh.js"; import { hi } from "./hi.js"; @@ -80,4 +70,4 @@ export const UI_TRANSLATIONS = { th, uk, sv, -}; \ No newline at end of file +}; diff --git a/public/src/languages/it.js b/public/src/languages/it.js index 739440c..d924a3f 100644 --- a/public/src/languages/it.js +++ b/public/src/languages/it.js @@ -1,30 +1,20 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 export const it = { // Main buttons readPage: "📖 Leggi Pagina", diff --git a/public/src/languages/ja.js b/public/src/languages/ja.js index 4f52713..69c33f4 100644 --- a/public/src/languages/ja.js +++ b/public/src/languages/ja.js @@ -1,30 +1,20 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 export const ja = { // Main buttons readPage: "📖 ページを読む", @@ -182,4 +172,4 @@ export const ja = { vaultGateReturning: "暗号化されたチャット履歴、APIキー、設定が待っています。このサイトのボールトのロックを解除するには、パスワードを入力してください。", vaultGateCreate: "ボールトを作成", vaultGateUnlock: "ロック解除", -}; \ No newline at end of file +}; diff --git a/public/src/languages/ko.js b/public/src/languages/ko.js index 895a5ea..d27e131 100644 --- a/public/src/languages/ko.js +++ b/public/src/languages/ko.js @@ -1,30 +1,20 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 export const ko = { // Main buttons readPage: "📖 페이지 읽기", @@ -182,4 +172,4 @@ export const ko = { vaultGateReturning: "암호화된 채팅 기록, API 키 및 설정이 대기 중입니다. 이 사이트의 금고를 잠금 해제하려면 비밀번호를 입력하세요.", vaultGateCreate: "금고 만들기", vaultGateUnlock: "잠금 해제", -}; \ No newline at end of file +}; diff --git a/public/src/languages/mr.js b/public/src/languages/mr.js index ad4291c..b920288 100644 --- a/public/src/languages/mr.js +++ b/public/src/languages/mr.js @@ -1,30 +1,20 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 export const mr = { // Main buttons readPage: "📖 पान वाचा", @@ -182,4 +172,4 @@ export const mr = { vaultGateReturning: "तुमचा एन्क्रिप्ट केलेला चॅट इतिहास, API कळा आणि सेटिंग्ज वाट पाहत आहेत. या साइटचे व्हॉल्ट अनलॉक करण्यासाठी तुमचा पासवर्ड प्रविष्ट करा.", vaultGateCreate: "व्हॉल्ट तयार करा", vaultGateUnlock: "अनलॉक करा", -}; \ No newline at end of file +}; diff --git a/public/src/languages/nl.js b/public/src/languages/nl.js index 9e23c63..f3428d0 100644 --- a/public/src/languages/nl.js +++ b/public/src/languages/nl.js @@ -1,30 +1,20 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 export const nl = { // Main buttons readPage: "📖 Lees Pagina", diff --git a/public/src/languages/pl.js b/public/src/languages/pl.js index ebe487d..ac858d5 100644 --- a/public/src/languages/pl.js +++ b/public/src/languages/pl.js @@ -1,30 +1,20 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 export const pl = { // Main buttons readPage: "📖 Czytaj Stronę", diff --git a/public/src/languages/pt.js b/public/src/languages/pt.js index 8db8dad..56350a5 100644 --- a/public/src/languages/pt.js +++ b/public/src/languages/pt.js @@ -1,30 +1,20 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 export const pt = { // Main buttons readPage: "📖 Ler Página", @@ -182,4 +172,4 @@ export const pt = { vaultGateReturning: "Seu histórico de chat criptografado, chaves API e configurações estão esperando. Digite sua senha para desbloquear o cofre deste site.", vaultGateCreate: "Criar Cofre", vaultGateUnlock: "Desbloquear", -}; \ No newline at end of file +}; diff --git a/public/src/languages/ru.js b/public/src/languages/ru.js index 0f30af3..453a479 100644 --- a/public/src/languages/ru.js +++ b/public/src/languages/ru.js @@ -1,30 +1,20 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 export const ru = { // Main buttons readPage: "📖 Читать Страницу", @@ -182,4 +172,4 @@ export const ru = { vaultGateReturning: "Ваша зашифрованная история чата, ключи API и настройки ждут вас. Введите пароль, чтобы разблокировать хранилище этого сайта.", vaultGateCreate: "Создать Хранилище", vaultGateUnlock: "Разблокировать", -}; \ No newline at end of file +}; diff --git a/public/src/languages/sv.js b/public/src/languages/sv.js index 7be39ee..3baed9d 100644 --- a/public/src/languages/sv.js +++ b/public/src/languages/sv.js @@ -1,30 +1,20 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 export const sv = { // Main buttons readPage: "📖 Läs Sida", diff --git a/public/src/languages/sw.js b/public/src/languages/sw.js index 826f795..5f9256b 100644 --- a/public/src/languages/sw.js +++ b/public/src/languages/sw.js @@ -1,30 +1,20 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 export const sw = { // Main buttons readPage: "📖 Soma Ukurasa", @@ -182,4 +172,4 @@ export const sw = { vaultGateReturning: "Historia yako ya soga iliyofichwa, funguo za API, na mipangilio yanakungojea. Ingiza nywila yako ili kufungua hifadhi ya tovuti hii.", vaultGateCreate: "Unda Hifadhi", vaultGateUnlock: "Fungua", -}; \ No newline at end of file +}; diff --git a/public/src/languages/te.js b/public/src/languages/te.js index 4bd349c..7b0f1ec 100644 --- a/public/src/languages/te.js +++ b/public/src/languages/te.js @@ -1,30 +1,20 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 export const te = { // Main buttons readPage: "📖 పేజీ చదవండి", @@ -182,4 +172,4 @@ export const te = { vaultGateReturning: "మీ ఎన్‌క్రిప్ట్ చేయబడిన చాట్ చరిత్ర, API కీలు మరియు సెట్టింగ్‌లు వేచి ఉన్నాయి. ఈ సైట్ వాల్ట్‌ను అన్‌లాక్ చేయడానికి మీ పాస్‌వర్డ్ నమోదు చేయండి.", vaultGateCreate: "వాల్ట్ సృష్టించండి", vaultGateUnlock: "అన్‌లాక్ చేయండి", -}; \ No newline at end of file +}; diff --git a/public/src/languages/th.js b/public/src/languages/th.js index cf14d8d..99d69ab 100644 --- a/public/src/languages/th.js +++ b/public/src/languages/th.js @@ -1,30 +1,20 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 export const th = { // Main buttons readPage: "📖 อ่านหน้า", diff --git a/public/src/languages/tr.js b/public/src/languages/tr.js index 858d045..fecd8cc 100644 --- a/public/src/languages/tr.js +++ b/public/src/languages/tr.js @@ -1,30 +1,20 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 export const tr = { // Main buttons readPage: "📖 Sayfayı Oku", @@ -182,4 +172,4 @@ export const tr = { vaultGateReturning: "Şifrelenmiş sohbet geçmişiniz, API anahtarlarınız ve ayarlarınız sizi bekliyor. Bu sitenin kasasının kilidini açmak için şifrenizi girin.", vaultGateCreate: "Kasa Oluştur", vaultGateUnlock: "Kilidi Aç", -}; \ No newline at end of file +}; diff --git a/public/src/languages/uk.js b/public/src/languages/uk.js index d911d40..4c10399 100644 --- a/public/src/languages/uk.js +++ b/public/src/languages/uk.js @@ -1,30 +1,20 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 export const uk = { // Main buttons readPage: "📖 Читати Сторінку", diff --git a/public/src/languages/ur.js b/public/src/languages/ur.js index 708b0af..f0c8815 100644 --- a/public/src/languages/ur.js +++ b/public/src/languages/ur.js @@ -1,30 +1,20 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 export const ur = { // Main buttons readPage: "📖 صفحہ پڑھیں", @@ -182,4 +172,4 @@ export const ur = { vaultGateReturning: "آپ کی خفیہ کاری شدہ چیٹ تاریخ، API کلیدیں اور سیٹنگز منتظر ہیں۔ اس سائٹ کا خزانہ کھولنے کے لیے اپنا پاس ورڈ درج کریں۔", vaultGateCreate: "خزانہ بنائیں", vaultGateUnlock: "کھولیں", -}; \ No newline at end of file +}; diff --git a/public/src/languages/verify-translations.js b/public/src/languages/verify-translations.js index 7691d89..7d676c8 100644 --- a/public/src/languages/verify-translations.js +++ b/public/src/languages/verify-translations.js @@ -1,6 +1,20 @@ #!/usr/bin/env node -// https://www.permacomputer.com - +// This is free 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, & 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 freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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. /** * Translation Completeness Verification Script @@ -225,4 +239,4 @@ if (process.argv.includes('--help') || process.argv.includes('-h')) { showHelp(); } else { verifyTranslations(); -} \ No newline at end of file +} diff --git a/public/src/languages/vi.js b/public/src/languages/vi.js index b9698aa..36778ec 100644 --- a/public/src/languages/vi.js +++ b/public/src/languages/vi.js @@ -1,30 +1,20 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 export const vi = { // Main buttons readPage: "📖 Đọc Trang", diff --git a/public/src/languages/zh-tw.js b/public/src/languages/zh-tw.js index 164f28a..8a634c8 100644 --- a/public/src/languages/zh-tw.js +++ b/public/src/languages/zh-tw.js @@ -1,30 +1,20 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 export const zhTw = { // Main buttons readPage: "📖 閱讀頁面", @@ -180,4 +170,4 @@ export const zhTw = { vaultGateReturning: "您的加密聊天記錄、API金鑰和設定正在等待。輸入您的密碼以解鎖此網站的保險庫。", vaultGateCreate: "建立保險庫", vaultGateUnlock: "解鎖", -}; \ No newline at end of file +}; diff --git a/public/src/languages/zh.js b/public/src/languages/zh.js index 2238942..358b0c3 100644 --- a/public/src/languages/zh.js +++ b/public/src/languages/zh.js @@ -1,30 +1,20 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 export const zh = { // Main buttons readPage: "📖 阅读页面", @@ -180,4 +170,4 @@ export const zh = { vaultGateReturning: "您的加密聊天记录、API密钥和设置正在等待。输入您的密码以解锁此网站的保险库。", vaultGateCreate: "创建保险库", vaultGateUnlock: "解锁", -}; \ No newline at end of file +}; diff --git a/public/src/models.js b/public/src/models.js index e53f1e8..822189f 100644 --- a/public/src/models.js +++ b/public/src/models.js @@ -1,30 +1,20 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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) diff --git a/public/src/page-intelligence.js b/public/src/page-intelligence.js index a5dda72..02b5772 100644 --- a/public/src/page-intelligence.js +++ b/public/src/page-intelligence.js @@ -1,3 +1,20 @@ +// This is free 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, & 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 freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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. + // page-intelligence.js: Computed page metrics for augmenting LLM context // // Pure JS computation, zero API calls, instant execution. diff --git a/public/src/page-reader.js b/public/src/page-reader.js index 0b8d87c..c846110 100644 --- a/public/src/page-reader.js +++ b/public/src/page-reader.js @@ -1,30 +1,20 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 import { extractWebpageContent } from "./content.js"; import { processContentWithHermes, speakText } from "./tts.js"; import { getUIText } from "./ui-translations.js"; diff --git a/public/src/storage.js b/public/src/storage.js index 47c5c0e..a931494 100644 --- a/public/src/storage.js +++ b/public/src/storage.js @@ -1,31 +1,20 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 -// Supports automatic AES-256 encryption when vault is unlocked import { getSystemMessage } from "./config.js"; // Encrypted storage format version diff --git a/public/src/token_estimator.js b/public/src/token_estimator.js index 4e25244..b276f45 100644 --- a/public/src/token_estimator.js +++ b/public/src/token_estimator.js @@ -1,35 +1,19 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 -// MIT License - Derived from tiktoken (https://github.com/dqbd/tiktoken) -// Copyright (c) 2023 David Bezdek - -// Core regex pattern simplified from cl100k_base encoding -// Original tiktoken pattern: r"""'(?i:[sdmt]|ll|ve|re)|[^\r\n\p{L}\p{N}]?+\p{L}++|\p{N}{1,3}+| ?[^\s\p{L}\p{N}]++[\r\n]*+|\s++$|\s*[\r\n]|\s+(?!\S)|\s""" export class SimpleBPETokenizer { constructor() { diff --git a/public/src/translate-modal.js b/public/src/translate-modal.js index 78dd377..39a66cc 100644 --- a/public/src/translate-modal.js +++ b/public/src/translate-modal.js @@ -1,30 +1,20 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 import { initializeChunkFiveFont } from "./ui-themes.js"; import { getUIText } from "./ui-translations.js"; import { extractWebpageContent } from "./content.js"; diff --git a/public/src/translation.js b/public/src/translation.js index 8a6980c..a731374 100644 --- a/public/src/translation.js +++ b/public/src/translation.js @@ -1,28 +1,19 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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"; import { getSelectedModel, getSelectedModelEndpoint, getSelectedModelMaxTokens, getSelectedModelMaxCompletionTokens, modelRegistry } from "./models.js"; diff --git a/public/src/tts-modal.js b/public/src/tts-modal.js index 6b2045a..a7adbaa 100644 --- a/public/src/tts-modal.js +++ b/public/src/tts-modal.js @@ -1,30 +1,20 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 import { initializeChunkFiveFont } from "./ui-themes.js"; import { getUIText } from "./ui-translations.js"; import { handleTTS, downloadAudio, generateTitleForTTS, getTTSMode, setTTSMode } from "./tts.js"; @@ -601,4 +591,4 @@ export function openTTSModal() { document.body.removeChild(modal); } }); -} \ No newline at end of file +} diff --git a/public/src/tts.js b/public/src/tts.js index 8c823fc..6216848 100644 --- a/public/src/tts.js +++ b/public/src/tts.js @@ -1,30 +1,20 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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"; diff --git a/public/src/ui-themes.js b/public/src/ui-themes.js index 267346b..f22f892 100644 --- a/public/src/ui-themes.js +++ b/public/src/ui-themes.js @@ -1,32 +1,20 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 - -// Theme detection and styling functions export function detectCurrentTheme() { const isDark = document.documentElement.getAttribute("data-theme") === "dark" || diff --git a/public/src/ui-translations.js b/public/src/ui-translations.js index 13a92e5..865c849 100644 --- a/public/src/ui-translations.js +++ b/public/src/ui-translations.js @@ -1,33 +1,20 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 -// This file contains all user interface text translations - -// Import translations from individual language files import { UI_TRANSLATIONS } from "./languages/index.js"; import { normalizeLanguageCode } from "./config.js"; diff --git a/public/src/ui.js b/public/src/ui.js index 25bca00..470a022 100644 --- a/public/src/ui.js +++ b/public/src/ui.js @@ -1,30 +1,20 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 import { marked } from "https://cdn.jsdelivr.net/npm/marked/lib/marked.esm.js"; import hljs from "https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.10.0/es/highlight.min.js"; import { API_KEY, setSystemMessageAppend, TTS_API_URL, getAPIConfig } from "./config.js"; diff --git a/public/src/un.js b/public/src/un.js index c80f72a..676725c 100644 --- a/public/src/un.js +++ b/public/src/un.js @@ -1,28 +1,19 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. -// -// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf -// https://www.permacomputer.com /** * un.js - Unsandbox.com Browser SDK diff --git a/public/src/uncloseai-embed-modal.js b/public/src/uncloseai-embed-modal.js index 2a7a546..4984c53 100644 --- a/public/src/uncloseai-embed-modal.js +++ b/public/src/uncloseai-embed-modal.js @@ -1,30 +1,20 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 import { marked } from "https://cdn.jsdelivr.net/npm/marked/lib/marked.esm.js"; import hljs from "https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.10.0/es/highlight.min.js"; import { setSystemMessageAppend } from "./config.js"; diff --git a/public/src/uncloseai-modal-builtin.css b/public/src/uncloseai-modal-builtin.css index e77c32a..8401907 100644 --- a/public/src/uncloseai-modal-builtin.css +++ b/public/src/uncloseai-modal-builtin.css @@ -1,8 +1,21 @@ /* - AGPL-3.0-only - Copyright 2025 TimeHexOn & foxhop & russell@unturf - https://www.permacomputer.com -*/ + * This is free 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, & 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 freely distributed + * FREEDOM Voluntary partnerships, freedom from tyranny & corporate control + * HARMONY Minimal waste, self-renewing systems with diverse thriving 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. + */ /* uncloseai. Modal - Built-in Styles (for blog versions without PicoCSS) */ @@ -1613,4 +1626,4 @@ dialog#uncloseai-embedded-modal[data-theme="light"] .uncloseai-vault-input::plac opacity: 1; transform: scale(1); } -} \ No newline at end of file +} diff --git a/public/src/uncloseai-modal-pico.css b/public/src/uncloseai-modal-pico.css index 7be4fd5..d09afff 100644 --- a/public/src/uncloseai-modal-pico.css +++ b/public/src/uncloseai-modal-pico.css @@ -1,8 +1,21 @@ /* - AGPL-3.0-only - Copyright 2025 TimeHexOn & foxhop & russell@unturf - https://www.permacomputer.com -*/ + * This is free 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, & 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 freely distributed + * FREEDOM Voluntary partnerships, freedom from tyranny & corporate control + * HARMONY Minimal waste, self-renewing systems with diverse thriving 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. + */ /* uncloseai. Modal - PicoCSS Override Styles */ diff --git a/public/src/vault.js b/public/src/vault.js index eec3990..c301c88 100644 --- a/public/src/vault.js +++ b/public/src/vault.js @@ -1,28 +1,19 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. -// -// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf -// https://www.permacomputer.com /** * UncloseAI Vault - Encrypted Settings Storage diff --git a/public/src/widget-library.js b/public/src/widget-library.js index bde2183..4037413 100644 --- a/public/src/widget-library.js +++ b/public/src/widget-library.js @@ -1,30 +1,20 @@ -// AGPL-3.0-only -// -// This is free 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 -// -// 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 import { getUIText } from "./ui-translations.js"; import { speakText } from "./tts.js"; import { detectPageLanguage } from "./language-detection.js"; @@ -408,4 +398,4 @@ export async function handleSmartTranslate(button) { window.handleTTSFromElement = handleTTSFromElement; window.handleUploadFromElement = handleUploadFromElement; window.handleSmartTranslate = handleSmartTranslate; -// Note: openTranslateModal is exported globally by ui.js \ No newline at end of file +// Note: openTranslateModal is exported globally by ui.js diff --git a/public/swift-examples.html b/public/swift-examples.html index 9f7cbd3..1923ca4 100644 --- a/public/swift-examples.html +++ b/public/swift-examples.html @@ -1,10 +1,22 @@ - + This is free 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, & 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 freely distributed + FREEDOM Voluntary partnerships, freedom from tyranny & corporate control + HARMONY Minimal waste, self-renewing systems with diverse thriving 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. +--> + diff --git a/public/terms-of-use.html b/public/terms-of-use.html index 6b3d8a2..0189bae 100644 --- a/public/terms-of-use.html +++ b/public/terms-of-use.html @@ -1,10 +1,22 @@ - + This is free 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, & 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 freely distributed + FREEDOM Voluntary partnerships, freedom from tyranny & corporate control + HARMONY Minimal waste, self-renewing systems with diverse thriving 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. +--> + diff --git a/public/text-to-speech.html b/public/text-to-speech.html index d774cdd..6336087 100644 --- a/public/text-to-speech.html +++ b/public/text-to-speech.html @@ -1,10 +1,22 @@ - + This is free 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, & 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 freely distributed + FREEDOM Voluntary partnerships, freedom from tyranny & corporate control + HARMONY Minimal waste, self-renewing systems with diverse thriving 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. +--> + diff --git a/public/tts/fast-synthesis.html b/public/tts/fast-synthesis.html index 1230810..e140bf0 100644 --- a/public/tts/fast-synthesis.html +++ b/public/tts/fast-synthesis.html @@ -1,10 +1,22 @@ - + This is free 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, & 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 freely distributed + FREEDOM Voluntary partnerships, freedom from tyranny & corporate control + HARMONY Minimal waste, self-renewing systems with diverse thriving 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. +--> + diff --git a/public/tts/hd-cloning.html b/public/tts/hd-cloning.html index 8b9958d..dd73e24 100644 --- a/public/tts/hd-cloning.html +++ b/public/tts/hd-cloning.html @@ -1,10 +1,22 @@ - + This is free 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, & 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 freely distributed + FREEDOM Voluntary partnerships, freedom from tyranny & corporate control + HARMONY Minimal waste, self-renewing systems with diverse thriving 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. +--> + diff --git a/public/tts/lightweight.html b/public/tts/lightweight.html index 49fd7fa..2536cf2 100644 --- a/public/tts/lightweight.html +++ b/public/tts/lightweight.html @@ -1,10 +1,22 @@ - + This is free 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, & 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 freely distributed + FREEDOM Voluntary partnerships, freedom from tyranny & corporate control + HARMONY Minimal waste, self-renewing systems with diverse thriving 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. +--> + diff --git a/public/tts/multilingual-cpu.html b/public/tts/multilingual-cpu.html index dbcc3de..1ec2ef0 100644 --- a/public/tts/multilingual-cpu.html +++ b/public/tts/multilingual-cpu.html @@ -1,10 +1,22 @@ - + This is free 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, & 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 freely distributed + FREEDOM Voluntary partnerships, freedom from tyranny & corporate control + HARMONY Minimal waste, self-renewing systems with diverse thriving 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. +--> + diff --git a/public/tts/voice-cloning.html b/public/tts/voice-cloning.html index 6ed399f..0db6117 100644 --- a/public/tts/voice-cloning.html +++ b/public/tts/voice-cloning.html @@ -1,10 +1,22 @@ - + This is free 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, & 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 freely distributed + FREEDOM Voluntary partnerships, freedom from tyranny & corporate control + HARMONY Minimal waste, self-renewing systems with diverse thriving 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. +--> + diff --git a/public/uncloseai-js-styleguide.html b/public/uncloseai-js-styleguide.html index fdaae60..aaf8ee7 100644 --- a/public/uncloseai-js-styleguide.html +++ b/public/uncloseai-js-styleguide.html @@ -1,10 +1,22 @@ - + This is free 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, & 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 freely distributed + FREEDOM Voluntary partnerships, freedom from tyranny & corporate control + HARMONY Minimal waste, self-renewing systems with diverse thriving 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. +--> + diff --git a/public/uncloseai-js.html b/public/uncloseai-js.html index 7149374..959a068 100644 --- a/public/uncloseai-js.html +++ b/public/uncloseai-js.html @@ -1,10 +1,22 @@ - + This is free 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, & 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 freely distributed + FREEDOM Voluntary partnerships, freedom from tyranny & corporate control + HARMONY Minimal waste, self-renewing systems with diverse thriving 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. +--> + diff --git a/public/uncloseai.js b/public/uncloseai.js index 01cd593..f78e1e1 100644 --- a/public/uncloseai.js +++ b/public/uncloseai.js @@ -1,32 +1,19 @@ -// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// -// 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 +// This is free 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, & 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 +// TRUTH First principles, math & science, open source code freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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 /* * uncloseai.js - Modular AI Integration Library diff --git a/validate_exports.js b/validate_exports.js index 1e729ec..15ad8ad 100644 --- a/validate_exports.js +++ b/validate_exports.js @@ -1,8 +1,20 @@ -// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY -// Copyright 2025 TimeHexOn & foxhop & russell@unturf -// https://www.permacomputer.com +// This is free 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, & 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 freely distributed +// FREEDOM Voluntary partnerships, freedom from tyranny & corporate control +// HARMONY Minimal waste, self-renewing systems with diverse thriving 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. -// Quick validation script to check if imports match exports import { promises as fs } from 'fs'; import path from 'path'; @@ -115,4 +127,4 @@ async function validateExports() { } } -validateExports().catch(console.error); \ No newline at end of file +validateExports().catch(console.error);