add public domain license and headers to all source files

This commit is contained in:
russell@unturf.com 2026-02-22 22:27:09 -05:00
parent 2fd0432701
commit f0db6d9589
257 changed files with 1137 additions and 0 deletions

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
stages: stages:
- deploy - deploy

35
LICENSE Normal file
View file

@ -0,0 +1,35 @@
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 for machine
learning intelligence.
The permacomputer is community-owned infrastructure optimized around four values:
TRUTH - Source code must be open source & freely distributed
FREEDOM - Voluntary participation without corporate control
HARMONY - Systems operating with minimal waste that self-renew
LOVE - Individual rights protected while fostering cooperation
This software contributes to that vision by enabling code execution across 42+
programming languages through a unified interface, accessible to all. 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.
That said, our permacomputer's digital membrane stratum continuously runs unit,
integration, and functional tests on all of it's own software - with our
permacomputer monitoring itself, repairing itself, with minimal human in the
loop guidance. Our agents do their best.
Copyright 2025 TimeHexOn & foxhop & russell@unturf
https://www.timehexon.com
https://www.foxhop.net
https://www.unturf.com/software

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
# Makefile for ai.unturf.com project # Makefile for ai.unturf.com project
# All commands used for testing, validation, and development # All commands used for testing, validation, and development

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
# Makefile for ai.unturf.com Language Examples # Makefile for ai.unturf.com Language Examples
# This Makefile contains commands for building and testing language example implementations # This Makefile contains commands for building and testing language example implementations
# Each language demonstrates usage of Hermes AI, Qwen Coder, and TTS endpoints # Each language demonstrates usage of Hermes AI, Qwen Coder, and TTS endpoints

View file

@ -1,3 +1,7 @@
// 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 // Comprehensive Integration tests to verify all imports, exports, and functionality work correctly
// Run with: node integration_tests.js // Run with: node integration_tests.js

View file

@ -1,4 +1,10 @@
<!DOCTYPE html> <!DOCTYPE html>
<!--
PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
Copyright 2025 TimeHexOn & foxhop & russell@unturf
https://www.permacomputer.com
-->
<html lang="en"> <html lang="en">
<head> <head>

View file

@ -1,4 +1,10 @@
<!DOCTYPE html> <!DOCTYPE html>
<!--
PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
Copyright 2025 TimeHexOn & foxhop & russell@unturf
https://www.permacomputer.com
-->
<html lang="en"> <html lang="en">
<head> <head>

View file

@ -1,4 +1,10 @@
<!DOCTYPE html> <!DOCTYPE html>
<!--
PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
Copyright 2025 TimeHexOn & foxhop & russell@unturf
https://www.permacomputer.com
-->
<html lang="en"> <html lang="en">
<head> <head>

View file

@ -1,4 +1,10 @@
<!DOCTYPE html> <!DOCTYPE html>
<!--
PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
Copyright 2025 TimeHexOn & foxhop & russell@unturf
https://www.permacomputer.com
-->
<html lang="en"> <html lang="en">
<head> <head>

View file

@ -1,4 +1,10 @@
<!DOCTYPE html> <!DOCTYPE html>
<!--
PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
Copyright 2025 TimeHexOn & foxhop & russell@unturf
https://www.permacomputer.com
-->
<html lang="en"> <html lang="en">
<head> <head>

View file

@ -1,3 +1,9 @@
/*
PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
Copyright 2025 TimeHexOn & foxhop & russell@unturf
https://www.permacomputer.com
*/
/* CSS Grid-based sidebar navigation theme for PicoCSS */ /* CSS Grid-based sidebar navigation theme for PicoCSS */
:root { :root {

View file

@ -1,4 +1,10 @@
<!DOCTYPE html> <!DOCTYPE html>
<!--
PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
Copyright 2025 TimeHexOn & foxhop & russell@unturf
https://www.permacomputer.com
-->
<html lang="en"> <html lang="en">
<head> <head>

View file

@ -1,4 +1,10 @@
<!DOCTYPE html> <!DOCTYPE html>
<!--
PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
Copyright 2025 TimeHexOn & foxhop & russell@unturf
https://www.permacomputer.com
-->
<html lang="en"> <html lang="en">
<head> <head>

View file

@ -1,4 +1,10 @@
<!DOCTYPE html> <!DOCTYPE html>
<!--
PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
Copyright 2025 TimeHexOn & foxhop & russell@unturf
https://www.permacomputer.com
-->
<html lang="en"> <html lang="en">
<head> <head>

View file

@ -1,4 +1,10 @@
<!DOCTYPE html> <!DOCTYPE html>
<!--
PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
Copyright 2025 TimeHexOn & foxhop & russell@unturf
https://www.permacomputer.com
-->
<html lang="en"> <html lang="en">
<head> <head>

View file

@ -1,4 +1,10 @@
<!DOCTYPE html> <!DOCTYPE html>
<!--
PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
Copyright 2025 TimeHexOn & foxhop & russell@unturf
https://www.permacomputer.com
-->
<html lang="en"> <html lang="en">
<head> <head>

View file

@ -1,4 +1,10 @@
<!DOCTYPE html> <!DOCTYPE html>
<!--
PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
Copyright 2025 TimeHexOn & foxhop & russell@unturf
https://www.permacomputer.com
-->
<html lang="en"> <html lang="en">
<head> <head>

View file

@ -1,4 +1,10 @@
<!DOCTYPE html> <!DOCTYPE html>
<!--
PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
Copyright 2025 TimeHexOn & foxhop & russell@unturf
https://www.permacomputer.com
-->
<html lang="en"> <html lang="en">
<head> <head>

View file

@ -1,4 +1,10 @@
<!DOCTYPE html> <!DOCTYPE html>
<!--
PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
Copyright 2025 TimeHexOn & foxhop & russell@unturf
https://www.permacomputer.com
-->
<html lang="en"> <html lang="en">
<head> <head>

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
# GNU AWK 5.3.2 (checked 2025-10-13: gawk 5.3.2-r2 is latest in Alpine edge) # GNU AWK 5.3.2 (checked 2025-10-13: gawk 5.3.2-r2 is latest in Alpine edge)
FROM alpine:latest FROM alpine:latest

View file

@ -1,4 +1,8 @@
#!/usr/bin/awk -f #!/usr/bin/awk -f
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
# UncloseAI AWK Library - OpenAI-compatible API client with streaming support # UncloseAI AWK Library - OpenAI-compatible API client with streaming support
# Compatible with vLLM, Ollama, and OpenAI-compatible endpoints # Compatible with vLLM, Ollama, and OpenAI-compatible endpoints

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
FROM alpine:latest FROM alpine:latest
RUN apk add --no-cache bash curl jq ca-certificates RUN apk add --no-cache bash curl jq ca-certificates

View file

@ -1,4 +1,8 @@
#!/bin/bash #!/bin/bash
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
# UncloseAI Bash Library - OpenAI-compatible API client with streaming support # UncloseAI Bash Library - OpenAI-compatible API client with streaming support
# Compatible with vLLM, Ollama, and OpenAI-compatible endpoints # Compatible with vLLM, Ollama, and OpenAI-compatible endpoints

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
# Pin to specific Alpine version (checked 2025-10-12: alpine:3.21 is latest stable) # Pin to specific Alpine version (checked 2025-10-12: alpine:3.21 is latest stable)
FROM alpine:latest FROM alpine:latest

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
CC = gcc CC = gcc
CFLAGS = -Wall -Wextra -O2 CFLAGS = -Wall -Wextra -O2
LDFLAGS = -lcurl LDFLAGS = -lcurl

View file

@ -1,3 +1,7 @@
// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
// Copyright 2025 TimeHexOn & foxhop & russell@unturf
// https://www.permacomputer.com
/* /*
* UncloseAI C Library using libcurl * UncloseAI C Library using libcurl
* OpenAI-compatible API client with streaming support * OpenAI-compatible API client with streaming support

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
# Pin to specific Alpine version (checked 2025-10-14: alpine:3.20 is latest stable) # Pin to specific Alpine version (checked 2025-10-14: alpine:3.20 is latest stable)
FROM alpine:latest FROM alpine:latest

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
CC = gcc CC = gcc
CFLAGS = -Wall -Wextra $(shell pkg-config --cflags libsoup-2.4) CFLAGS = -Wall -Wextra $(shell pkg-config --cflags libsoup-2.4)
LDFLAGS = $(shell pkg-config --libs libsoup-2.4) LDFLAGS = $(shell pkg-config --libs libsoup-2.4)

View file

@ -1,3 +1,7 @@
// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
// Copyright 2025 TimeHexOn & foxhop & russell@unturf
// https://www.permacomputer.com
/* /*
* UncloseAI C Client using libsoup (GNOME HTTP Library) * UncloseAI C Client using libsoup (GNOME HTTP Library)
* OpenAI-compatible API client with streaming support * OpenAI-compatible API client with streaming support

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
# Pin to specific Alpine version (checked 2025-10-14: alpine:3.20 is latest stable) # Pin to specific Alpine version (checked 2025-10-14: alpine:3.20 is latest stable)
FROM alpine:latest FROM alpine:latest

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
CC = gcc CC = gcc
CFLAGS = -Wall -Wextra -O2 CFLAGS = -Wall -Wextra -O2
LDFLAGS = -lnghttp2 LDFLAGS = -lnghttp2

View file

@ -1,3 +1,7 @@
// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
// Copyright 2025 TimeHexOn & foxhop & russell@unturf
// https://www.permacomputer.com
/* /*
* UncloseAI C Client using nghttp2 (HTTP/2) * UncloseAI C Client using nghttp2 (HTTP/2)
* OpenAI-compatible API client with HTTP/2 and streaming support * OpenAI-compatible API client with HTTP/2 and streaming support

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
# Clojure with OpenJDK 21 (checked 2025-10-13: clojure:temurin-21-tools-deps-alpine is latest stable) # Clojure with OpenJDK 21 (checked 2025-10-13: clojure:temurin-21-tools-deps-alpine is latest stable)
FROM clojure:temurin-21-tools-deps-alpine FROM clojure:temurin-21-tools-deps-alpine

View file

@ -1,3 +1,7 @@
;; PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
;; Copyright 2025 TimeHexOn & foxhop & russell@unturf
;; https://www.permacomputer.com
{:deps {clj-http/clj-http {:mvn/version "3.13.0"} {:deps {clj-http/clj-http {:mvn/version "3.13.0"}
cheshire/cheshire {:mvn/version "5.13.0"}} cheshire/cheshire {:mvn/version "5.13.0"}}
:paths ["."]} :paths ["."]}

View file

@ -1,3 +1,7 @@
;; PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
;; Copyright 2025 TimeHexOn & foxhop & russell@unturf
;; https://www.permacomputer.com
(ns uncloseai (ns uncloseai
"UncloseAI Clojure Library - OpenAI-compatible API client with streaming support "UncloseAI Clojure Library - OpenAI-compatible API client with streaming support
Compatible with vLLM, Ollama, and OpenAI-compatible endpoints" Compatible with vLLM, Ollama, and OpenAI-compatible endpoints"

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
# GnuCOBOL 3.x (checked 2025-10-13: hldtux/cobol-gnu is available) # GnuCOBOL 3.x (checked 2025-10-13: hldtux/cobol-gnu is available)
FROM debian:bookworm-slim AS builder FROM debian:bookworm-slim AS builder

View file

@ -1,4 +1,8 @@
#!/bin/sh #!/bin/sh
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
# Model discovery for COBOL - outputs discovered models to files # Model discovery for COBOL - outputs discovered models to files
# Discover models from MODEL_ENDPOINT_N # Discover models from MODEL_ENDPOINT_N

View file

@ -1,4 +1,8 @@
#!/bin/sh #!/bin/sh
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
# Use first discovered model # Use first discovered model
if [ ! -f /tmp/model_0.txt ] || [ ! -f /tmp/endpoint_0.txt ]; then if [ ! -f /tmp/model_0.txt ] || [ ! -f /tmp/endpoint_0.txt ]; then
echo "ERROR: No models discovered" echo "ERROR: No models discovered"

View file

@ -1,4 +1,8 @@
#!/bin/sh #!/bin/sh
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
# Use second discovered model (or first if only one) # Use second discovered model (or first if only one)
if [ -f /tmp/model_1.txt ] && [ -f /tmp/endpoint_1.txt ]; then if [ -f /tmp/model_1.txt ] && [ -f /tmp/endpoint_1.txt ]; then
model=$(cat /tmp/model_1.txt) model=$(cat /tmp/model_1.txt)

View file

@ -1,4 +1,8 @@
#!/bin/sh #!/bin/sh
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
# Use first TTS endpoint # Use first TTS endpoint
if [ ! -f /tmp/tts_endpoint.txt ]; then if [ ! -f /tmp/tts_endpoint.txt ]; then
echo "ERROR: No TTS endpoints discovered" echo "ERROR: No TTS endpoints discovered"

View file

@ -1,3 +1,7 @@
*> PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
*> Copyright 2025 TimeHexOn & foxhop & russell@unturf
*> https://www.permacomputer.com
IDENTIFICATION DIVISION. IDENTIFICATION DIVISION.
PROGRAM-ID. UNCLOSEAI. PROGRAM-ID. UNCLOSEAI.

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
# Pin to specific SBCL version (checked 2025-10-15: clfoundation/sbcl:latest is stable) # Pin to specific SBCL version (checked 2025-10-15: clfoundation/sbcl:latest is stable)
FROM clfoundation/sbcl:latest FROM clfoundation/sbcl:latest

View file

@ -1,4 +1,8 @@
#!/usr/bin/env sbcl --script #!/usr/bin/env sbcl --script
;; PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
;; Copyright 2025 TimeHexOn & foxhop & russell@unturf
;; https://www.permacomputer.com
;;; uncloseai - Common Lisp client library for OpenAI-compatible APIs ;;; uncloseai - Common Lisp client library for OpenAI-compatible APIs
;;; Supports streaming and non-streaming chat, model discovery, and TTS ;;; Supports streaming and non-streaming chat, model discovery, and TTS

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
# Pin to specific Alpine version (checked 2025-10-14: alpine:3.20 is latest stable) # Pin to specific Alpine version (checked 2025-10-14: alpine:3.20 is latest stable)
FROM alpine:latest FROM alpine:latest

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
CXX = g++ CXX = g++
CXXFLAGS = -std=c++17 -Wall -Wextra -O2 CXXFLAGS = -std=c++17 -Wall -Wextra -O2
LDFLAGS = -lssl -lcrypto -lpthread LDFLAGS = -lssl -lcrypto -lpthread

View file

@ -1,3 +1,7 @@
// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
// Copyright 2025 TimeHexOn & foxhop & russell@unturf
// https://www.permacomputer.com
/* /*
* UncloseAI C++ Library using Boost.Beast * UncloseAI C++ Library using Boost.Beast
* OpenAI-compatible API client with HTTP/HTTPS support * OpenAI-compatible API client with HTTP/HTTPS support

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
# Pin to specific Alpine version (checked 2025-10-14: alpine:3.20 is latest stable) # Pin to specific Alpine version (checked 2025-10-14: alpine:3.20 is latest stable)
FROM alpine:latest FROM alpine:latest

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
CXX = g++ CXX = g++
CXXFLAGS = -std=c++17 -Wall -Wextra -O2 -DCPPHTTPLIB_OPENSSL_SUPPORT CXXFLAGS = -std=c++17 -Wall -Wextra -O2 -DCPPHTTPLIB_OPENSSL_SUPPORT
LDFLAGS = -lssl -lcrypto -lpthread LDFLAGS = -lssl -lcrypto -lpthread

View file

@ -1,3 +1,7 @@
// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
// Copyright 2025 TimeHexOn & foxhop & russell@unturf
// https://www.permacomputer.com
/* /*
* UncloseAI C++ Library using cpp-httplib (header-only) * UncloseAI C++ Library using cpp-httplib (header-only)
* OpenAI-compatible API client with streaming support * OpenAI-compatible API client with streaming support

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
# Pin to specific Alpine version (checked 2025-10-12: alpine:3.21 is latest stable) # Pin to specific Alpine version (checked 2025-10-12: alpine:3.21 is latest stable)
FROM alpine:latest FROM alpine:latest

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
CXX = g++ CXX = g++
CXXFLAGS = -std=c++11 -Wall -Wextra -O2 CXXFLAGS = -std=c++11 -Wall -Wextra -O2
LDFLAGS = -lcurl LDFLAGS = -lcurl

View file

@ -1,3 +1,7 @@
// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
// Copyright 2025 TimeHexOn & foxhop & russell@unturf
// https://www.permacomputer.com
/* /*
* UncloseAI C++ Library using libcurl * UncloseAI C++ Library using libcurl
* OpenAI-compatible API client with streaming support * OpenAI-compatible API client with streaming support

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
# Crystal latest-alpine (checked 2025-10-13: crystallang/crystal:latest-alpine is latest stable) # Crystal latest-alpine (checked 2025-10-13: crystallang/crystal:latest-alpine is latest stable)
FROM crystallang/crystal:latest-alpine AS builder FROM crystallang/crystal:latest-alpine AS builder

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
require "http/client" require "http/client"
require "json" require "json"

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
# .NET 10 Preview (checked 2026-01-26: mcr.microsoft.com/dotnet/sdk:10.0-preview is latest) # .NET 10 Preview (checked 2026-01-26: mcr.microsoft.com/dotnet/sdk:10.0-preview is latest)
FROM mcr.microsoft.com/dotnet/sdk:10.0-preview-alpine AS builder FROM mcr.microsoft.com/dotnet/sdk:10.0-preview-alpine AS builder

View file

@ -1,3 +1,7 @@
// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
// Copyright 2025 TimeHexOn & foxhop & russell@unturf
// https://www.permacomputer.com
using System; using System;
using System.Net.Http; using System.Net.Http;
using System.Text; using System.Text;

View file

@ -1,3 +1,9 @@
<!--
PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
Copyright 2025 TimeHexOn & foxhop & russell@unturf
https://www.permacomputer.com
-->
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
# .NET 9.0 C# (checked 2025-10-13: mcr.microsoft.com/dotnet/sdk:9.0 is latest stable) # .NET 9.0 C# (checked 2025-10-13: mcr.microsoft.com/dotnet/sdk:9.0 is latest stable)
FROM mcr.microsoft.com/dotnet/sdk:9.0-alpine AS builder FROM mcr.microsoft.com/dotnet/sdk:9.0-alpine AS builder

View file

@ -1,3 +1,7 @@
// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
// Copyright 2025 TimeHexOn & foxhop & russell@unturf
// https://www.permacomputer.com
using System; using System;
using System.Net.Http; using System.Net.Http;
using System.Text; using System.Text;

View file

@ -1,3 +1,9 @@
<!--
PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
Copyright 2025 TimeHexOn & foxhop & russell@unturf
https://www.permacomputer.com
-->
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
# Mono C# (checked 2026-01-26: mono:latest is 6.12) # Mono C# (checked 2026-01-26: mono:latest is 6.12)
FROM mono:latest FROM mono:latest

View file

@ -1,3 +1,7 @@
// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
// Copyright 2025 TimeHexOn & foxhop & russell@unturf
// https://www.permacomputer.com
using System; using System;
using System.Net.Http; using System.Net.Http;
using System.Text; using System.Text;

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
# Use official .NET SDK to build # Use official .NET SDK to build
FROM mcr.microsoft.com/dotnet/sdk:9.0-alpine AS builder FROM mcr.microsoft.com/dotnet/sdk:9.0-alpine AS builder

View file

@ -1,3 +1,7 @@
// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
// Copyright 2025 TimeHexOn & foxhop & russell@unturf
// https://www.permacomputer.com
using System; using System;
using System.ClientModel; using System.ClientModel;
using System.IO; using System.IO;

View file

@ -1,3 +1,9 @@
<!--
PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
Copyright 2025 TimeHexOn & foxhop & russell@unturf
https://www.permacomputer.com
-->
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
# Use official D language Docker image (checked 2025-10-15: dlang2/dmd-ubuntu:latest is stable) # Use official D language Docker image (checked 2025-10-15: dlang2/dmd-ubuntu:latest is stable)
FROM dlang2/dmd-ubuntu:latest FROM dlang2/dmd-ubuntu:latest

View file

@ -1,4 +1,8 @@
#!/usr/bin/env rdmd #!/usr/bin/env rdmd
// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
// Copyright 2025 TimeHexOn & foxhop & russell@unturf
// https://www.permacomputer.com
// uncloseai. - D Language Client // uncloseai. - D Language Client
// Multiple AI model examples with streaming and non-streaming chat, plus TTS // Multiple AI model examples with streaming and non-streaming chat, plus TTS

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
FROM dart:stable AS build FROM dart:stable AS build
WORKDIR /app WORKDIR /app

View file

@ -1,3 +1,7 @@
// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
// Copyright 2025 TimeHexOn & foxhop & russell@unturf
// https://www.permacomputer.com
import 'dart:io'; import 'dart:io';
import 'dart:convert'; import 'dart:convert';
import 'dart:async'; import 'dart:async';

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
name: ai_examples name: ai_examples
description: AI API examples in Dart description: AI API examples in Dart
version: 1.0.0 version: 1.0.0

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
FROM denoland/deno:2.1.4 FROM denoland/deno:2.1.4
WORKDIR /app WORKDIR /app

View file

@ -1,3 +1,7 @@
// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
// Copyright 2025 TimeHexOn & foxhop & russell@unturf
// https://www.permacomputer.com
/** /**
* UncloseAI Deno/TypeScript Library * UncloseAI Deno/TypeScript Library
* OpenAI-compatible API client with streaming support * OpenAI-compatible API client with streaming support

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
FROM elixir:1.17-alpine AS build FROM elixir:1.17-alpine AS build
WORKDIR /app WORKDIR /app

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
defmodule UncloseAI do defmodule UncloseAI do
@moduledoc """ @moduledoc """
UncloseAI Elixir Library UncloseAI Elixir Library

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
defmodule AIExamples.MixProject do defmodule AIExamples.MixProject do
use Mix.Project use Mix.Project

View file

@ -1,4 +1,8 @@
#!/usr/bin/env elixir #!/usr/bin/env elixir
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
# Load dependencies (skip Mix.install when running via Docker with pre-compiled deps) # Load dependencies (skip Mix.install when running via Docker with pre-compiled deps)
unless System.get_env("MIX_ENV") == "prod" do unless System.get_env("MIX_ENV") == "prod" do

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
# Use official Elixir image # Use official Elixir image
FROM elixir:1.17-alpine FROM elixir:1.17-alpine

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
defmodule UncloseaiOpenai.MixProject do defmodule UncloseaiOpenai.MixProject do
use Mix.Project use Mix.Project

View file

@ -1,4 +1,8 @@
#!/usr/bin/env elixir #!/usr/bin/env elixir
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
Mix.install([{:openai_ex, "~> 0.9.18"}, {:httpoison, "~> 2.2"}, {:jason, "~> 1.4"}]) Mix.install([{:openai_ex, "~> 0.9.18"}, {:httpoison, "~> 2.2"}, {:jason, "~> 1.4"}])

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
FROM erlang:27-alpine as builder FROM erlang:27-alpine as builder
WORKDIR /app WORKDIR /app

View file

@ -1,3 +1,7 @@
% PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
% Copyright 2025 TimeHexOn & foxhop & russell@unturf
% https://www.permacomputer.com
{deps, [ {deps, [
{hackney, "1.20.1"}, {hackney, "1.20.1"},
{jsx, "3.1.0"} {jsx, "3.1.0"}

View file

@ -1,3 +1,7 @@
% PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
% Copyright 2025 TimeHexOn & foxhop & russell@unturf
% https://www.permacomputer.com
{application, uncloseai, {application, uncloseai,
[{description, "Uncloseai Erlang implementation"}, [{description, "Uncloseai Erlang implementation"},
{vsn, "0.1.0"}, {vsn, "0.1.0"},

View file

@ -1,3 +1,7 @@
% PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
% Copyright 2025 TimeHexOn & foxhop & russell@unturf
% https://www.permacomputer.com
%% UncloseAI Erlang Library %% UncloseAI Erlang Library
%% OpenAI-compatible API client with streaming support %% OpenAI-compatible API client with streaming support
%% Compatible with vLLM, Ollama, and OpenAI-compatible endpoints %% Compatible with vLLM, Ollama, and OpenAI-compatible endpoints

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
FROM gcc:latest FROM gcc:latest
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \

View file

@ -1,3 +1,7 @@
! PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
! Copyright 2025 TimeHexOn & foxhop & russell@unturf
! https://www.permacomputer.com
! UncloseAI Fortran Library ! UncloseAI Fortran Library
! OpenAI-compatible API client with streaming support ! OpenAI-compatible API client with streaming support
! Compatible with vLLM, Ollama, and OpenAI-compatible endpoints ! Compatible with vLLM, Ollama, and OpenAI-compatible endpoints

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
# .NET 9.0 F# (checked 2025-10-13: mcr.microsoft.com/dotnet/sdk:9.0 is latest stable) # .NET 9.0 F# (checked 2025-10-13: mcr.microsoft.com/dotnet/sdk:9.0 is latest stable)
FROM mcr.microsoft.com/dotnet/sdk:9.0-alpine AS builder FROM mcr.microsoft.com/dotnet/sdk:9.0-alpine AS builder

View file

@ -1,3 +1,7 @@
// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
// Copyright 2025 TimeHexOn & foxhop & russell@unturf
// https://www.permacomputer.com
// UncloseAI F# Library // UncloseAI F# Library
// OpenAI-compatible API client with streaming support // OpenAI-compatible API client with streaming support
// Compatible with vLLM, Ollama, and OpenAI-compatible endpoints // Compatible with vLLM, Ollama, and OpenAI-compatible endpoints

View file

@ -1,3 +1,9 @@
<!--
PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
Copyright 2025 TimeHexOn & foxhop & russell@unturf
https://www.permacomputer.com
-->
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>

View file

@ -1,3 +1,7 @@
// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
// Copyright 2025 TimeHexOn & foxhop & russell@unturf
// https://www.permacomputer.com
// UncloseAI Go Library - Usage Examples // UncloseAI Go Library - Usage Examples
// //
// Demonstrates how to use the UncloseAI library for: // Demonstrates how to use the UncloseAI library for:

View file

@ -1,3 +1,7 @@
// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
// Copyright 2025 TimeHexOn & foxhop & russell@unturf
// https://www.permacomputer.com
module uncloseai-examples module uncloseai-examples
go 1.19 go 1.19

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
# Pin to specific Go version (checked 2025-10-13: golang:1.23-alpine is latest stable) # Pin to specific Go version (checked 2025-10-13: golang:1.23-alpine is latest stable)
FROM golang:1.23-alpine AS builder FROM golang:1.23-alpine AS builder

View file

@ -1,3 +1,7 @@
// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
// Copyright 2025 TimeHexOn & foxhop & russell@unturf
// https://www.permacomputer.com
module uncloseai.com module uncloseai.com
go 1.19 go 1.19

View file

@ -1,3 +1,7 @@
// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
// Copyright 2025 TimeHexOn & foxhop & russell@unturf
// https://www.permacomputer.com
package main package main
import ( import (

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
# Multi-stage build for Go with official OpenAI SDK # Multi-stage build for Go with official OpenAI SDK
FROM golang:1.23-alpine AS builder FROM golang:1.23-alpine AS builder

View file

@ -1,3 +1,7 @@
// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
// Copyright 2025 TimeHexOn & foxhop & russell@unturf
// https://www.permacomputer.com
module uncloseai-go-openai module uncloseai-go-openai
go 1.19 go 1.19

View file

@ -1,3 +1,7 @@
// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
// Copyright 2025 TimeHexOn & foxhop & russell@unturf
// https://www.permacomputer.com
package main package main
import ( import (

View file

@ -1,3 +1,7 @@
// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
// Copyright 2025 TimeHexOn & foxhop & russell@unturf
// https://www.permacomputer.com
module uncloseai.com/uncloseai module uncloseai.com/uncloseai
go 1.19 go 1.19

View file

@ -1,3 +1,7 @@
// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
// Copyright 2025 TimeHexOn & foxhop & russell@unturf
// https://www.permacomputer.com
// Package uncloseai provides a Go client library for interacting with vLLM, Ollama, and OpenAI-compatible APIs. // Package uncloseai provides a Go client library for interacting with vLLM, Ollama, and OpenAI-compatible APIs.
// //
// Features: // Features:

View file

@ -1,3 +1,7 @@
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
# Pin to specific Groovy version (checked 2025-10-15: groovy:4.0.25-jdk17 is latest stable) # Pin to specific Groovy version (checked 2025-10-15: groovy:4.0.25-jdk17 is latest stable)
FROM groovy:4.0.25-jdk17 FROM groovy:4.0.25-jdk17

View file

@ -1,4 +1,8 @@
#!/usr/bin/env groovy #!/usr/bin/env groovy
// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
// Copyright 2025 TimeHexOn & foxhop & russell@unturf
// https://www.permacomputer.com
// Hermes AI Non-Streaming Example using OpenAI Java Client // Hermes AI Non-Streaming Example using OpenAI Java Client
// Groovy leverages Java libraries seamlessly // Groovy leverages Java libraries seamlessly

Some files were not shown because too many files have changed in this diff Show more