add public domain license and headers to all source files
This commit is contained in:
parent
2fd0432701
commit
f0db6d9589
257 changed files with 1137 additions and 0 deletions
|
|
@ -1,3 +1,7 @@
|
|||
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
# https://www.permacomputer.com
|
||||
|
||||
stages:
|
||||
- deploy
|
||||
|
||||
|
|
|
|||
35
LICENSE
Normal file
35
LICENSE
Normal 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
|
||||
4
Makefile
4
Makefile
|
|
@ -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
|
||||
# All commands used for testing, validation, and development
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
# This Makefile contains commands for building and testing language example implementations
|
||||
# Each language demonstrates usage of Hermes AI, Qwen Coder, and TTS endpoints
|
||||
|
|
|
|||
|
|
@ -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
|
||||
// Run with: node integration_tests.js
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<!--
|
||||
PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
https://www.permacomputer.com
|
||||
-->
|
||||
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<!--
|
||||
PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
https://www.permacomputer.com
|
||||
-->
|
||||
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<!--
|
||||
PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
https://www.permacomputer.com
|
||||
-->
|
||||
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<!--
|
||||
PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
https://www.permacomputer.com
|
||||
-->
|
||||
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<!--
|
||||
PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
https://www.permacomputer.com
|
||||
-->
|
||||
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
||||
:root {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<!--
|
||||
PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
https://www.permacomputer.com
|
||||
-->
|
||||
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<!--
|
||||
PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
https://www.permacomputer.com
|
||||
-->
|
||||
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<!--
|
||||
PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
https://www.permacomputer.com
|
||||
-->
|
||||
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<!--
|
||||
PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
https://www.permacomputer.com
|
||||
-->
|
||||
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<!--
|
||||
PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
https://www.permacomputer.com
|
||||
-->
|
||||
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<!--
|
||||
PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
https://www.permacomputer.com
|
||||
-->
|
||||
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<!--
|
||||
PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
https://www.permacomputer.com
|
||||
-->
|
||||
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<!--
|
||||
PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
https://www.permacomputer.com
|
||||
-->
|
||||
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
FROM alpine:latest
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#!/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
|
||||
# Compatible with vLLM, Ollama, and OpenAI-compatible endpoints
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
# https://www.permacomputer.com
|
||||
|
||||
FROM alpine:latest
|
||||
|
||||
RUN apk add --no-cache bash curl jq ca-certificates
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#!/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
|
||||
# Compatible with vLLM, Ollama, and OpenAI-compatible endpoints
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
FROM alpine:latest
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
# https://www.permacomputer.com
|
||||
|
||||
CC = gcc
|
||||
CFLAGS = -Wall -Wextra -O2
|
||||
LDFLAGS = -lcurl
|
||||
|
|
|
|||
|
|
@ -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
|
||||
* OpenAI-compatible API client with streaming support
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
FROM alpine:latest
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
# https://www.permacomputer.com
|
||||
|
||||
CC = gcc
|
||||
CFLAGS = -Wall -Wextra $(shell pkg-config --cflags libsoup-2.4)
|
||||
LDFLAGS = $(shell pkg-config --libs libsoup-2.4)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
* OpenAI-compatible API client with streaming support
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
FROM alpine:latest
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
# https://www.permacomputer.com
|
||||
|
||||
CC = gcc
|
||||
CFLAGS = -Wall -Wextra -O2
|
||||
LDFLAGS = -lnghttp2
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
* OpenAI-compatible API client with HTTP/2 and streaming support
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
FROM clojure:temurin-21-tools-deps-alpine
|
||||
|
||||
|
|
|
|||
|
|
@ -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"}
|
||||
cheshire/cheshire {:mvn/version "5.13.0"}}
|
||||
:paths ["."]}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
;; PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
;; Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
;; https://www.permacomputer.com
|
||||
|
||||
(ns uncloseai
|
||||
"UncloseAI Clojure Library - OpenAI-compatible API client with streaming support
|
||||
Compatible with vLLM, Ollama, and OpenAI-compatible endpoints"
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
FROM debian:bookworm-slim AS builder
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#!/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
|
||||
|
||||
# Discover models from MODEL_ENDPOINT_N
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#!/bin/sh
|
||||
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
# https://www.permacomputer.com
|
||||
|
||||
# Use first discovered model
|
||||
if [ ! -f /tmp/model_0.txt ] || [ ! -f /tmp/endpoint_0.txt ]; then
|
||||
echo "ERROR: No models discovered"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#!/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)
|
||||
if [ -f /tmp/model_1.txt ] && [ -f /tmp/endpoint_1.txt ]; then
|
||||
model=$(cat /tmp/model_1.txt)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#!/bin/sh
|
||||
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
# https://www.permacomputer.com
|
||||
|
||||
# Use first TTS endpoint
|
||||
if [ ! -f /tmp/tts_endpoint.txt ]; then
|
||||
echo "ERROR: No TTS endpoints discovered"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
*> PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
*> Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
*> https://www.permacomputer.com
|
||||
|
||||
IDENTIFICATION DIVISION.
|
||||
PROGRAM-ID. UNCLOSEAI.
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
FROM clfoundation/sbcl:latest
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#!/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
|
||||
;;; Supports streaming and non-streaming chat, model discovery, and TTS
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
FROM alpine:latest
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
# https://www.permacomputer.com
|
||||
|
||||
CXX = g++
|
||||
CXXFLAGS = -std=c++17 -Wall -Wextra -O2
|
||||
LDFLAGS = -lssl -lcrypto -lpthread
|
||||
|
|
|
|||
|
|
@ -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
|
||||
* OpenAI-compatible API client with HTTP/HTTPS support
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
FROM alpine:latest
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
# https://www.permacomputer.com
|
||||
|
||||
CXX = g++
|
||||
CXXFLAGS = -std=c++17 -Wall -Wextra -O2 -DCPPHTTPLIB_OPENSSL_SUPPORT
|
||||
LDFLAGS = -lssl -lcrypto -lpthread
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
* OpenAI-compatible API client with streaming support
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
FROM alpine:latest
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
# https://www.permacomputer.com
|
||||
|
||||
CXX = g++
|
||||
CXXFLAGS = -std=c++11 -Wall -Wextra -O2
|
||||
LDFLAGS = -lcurl
|
||||
|
|
|
|||
|
|
@ -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
|
||||
* OpenAI-compatible API client with streaming support
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
FROM crystallang/crystal:latest-alpine AS builder
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
# https://www.permacomputer.com
|
||||
|
||||
require "http/client"
|
||||
require "json"
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
FROM mcr.microsoft.com/dotnet/sdk:10.0-preview-alpine AS builder
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
// Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
// https://www.permacomputer.com
|
||||
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
using System.Text;
|
||||
|
|
|
|||
|
|
@ -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">
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
FROM mcr.microsoft.com/dotnet/sdk:9.0-alpine AS builder
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
// Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
// https://www.permacomputer.com
|
||||
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
using System.Text;
|
||||
|
|
|
|||
|
|
@ -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">
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
FROM mono:latest
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
// Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
// https://www.permacomputer.com
|
||||
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
using System.Text;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
FROM mcr.microsoft.com/dotnet/sdk:9.0-alpine AS builder
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
// Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
// https://www.permacomputer.com
|
||||
|
||||
using System;
|
||||
using System.ClientModel;
|
||||
using System.IO;
|
||||
|
|
|
|||
|
|
@ -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">
|
||||
|
||||
<PropertyGroup>
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
FROM dlang2/dmd-ubuntu:latest
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#!/usr/bin/env rdmd
|
||||
// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
// Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
// https://www.permacomputer.com
|
||||
|
||||
|
||||
// uncloseai. - D Language Client
|
||||
// Multiple AI model examples with streaming and non-streaming chat, plus TTS
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
WORKDIR /app
|
||||
|
|
|
|||
|
|
@ -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:convert';
|
||||
import 'dart:async';
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
# https://www.permacomputer.com
|
||||
|
||||
name: ai_examples
|
||||
description: AI API examples in Dart
|
||||
version: 1.0.0
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
WORKDIR /app
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
// Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
// https://www.permacomputer.com
|
||||
|
||||
/**
|
||||
* UncloseAI Deno/TypeScript Library
|
||||
* OpenAI-compatible API client with streaming support
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
WORKDIR /app
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
# https://www.permacomputer.com
|
||||
|
||||
defmodule UncloseAI do
|
||||
@moduledoc """
|
||||
UncloseAI Elixir Library
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
# https://www.permacomputer.com
|
||||
|
||||
defmodule AIExamples.MixProject do
|
||||
use Mix.Project
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#!/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)
|
||||
unless System.get_env("MIX_ENV") == "prod" do
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
# https://www.permacomputer.com
|
||||
|
||||
# Use official Elixir image
|
||||
FROM elixir:1.17-alpine
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
# https://www.permacomputer.com
|
||||
|
||||
defmodule UncloseaiOpenai.MixProject do
|
||||
use Mix.Project
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#!/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"}])
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
WORKDIR /app
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
% PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
% Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
% https://www.permacomputer.com
|
||||
|
||||
{deps, [
|
||||
{hackney, "1.20.1"},
|
||||
{jsx, "3.1.0"}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
% PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
% Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
% https://www.permacomputer.com
|
||||
|
||||
{application, uncloseai,
|
||||
[{description, "Uncloseai Erlang implementation"},
|
||||
{vsn, "0.1.0"},
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
% PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
% Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
% https://www.permacomputer.com
|
||||
|
||||
%% UncloseAI Erlang Library
|
||||
%% OpenAI-compatible API client with streaming support
|
||||
%% Compatible with vLLM, Ollama, and OpenAI-compatible endpoints
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
# https://www.permacomputer.com
|
||||
|
||||
FROM gcc:latest
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
! PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
! Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
! https://www.permacomputer.com
|
||||
|
||||
! UncloseAI Fortran Library
|
||||
! OpenAI-compatible API client with streaming support
|
||||
! Compatible with vLLM, Ollama, and OpenAI-compatible endpoints
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
FROM mcr.microsoft.com/dotnet/sdk:9.0-alpine AS builder
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
// Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
// https://www.permacomputer.com
|
||||
|
||||
// UncloseAI F# Library
|
||||
// OpenAI-compatible API client with streaming support
|
||||
// Compatible with vLLM, Ollama, and OpenAI-compatible endpoints
|
||||
|
|
|
|||
|
|
@ -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">
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
//
|
||||
// Demonstrates how to use the UncloseAI library for:
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
// Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
// https://www.permacomputer.com
|
||||
|
||||
module uncloseai-examples
|
||||
|
||||
go 1.19
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
FROM golang:1.23-alpine AS builder
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
// Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
// https://www.permacomputer.com
|
||||
|
||||
module uncloseai.com
|
||||
|
||||
go 1.19
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
// Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
// https://www.permacomputer.com
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
|
|
|
|||
|
|
@ -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
|
||||
FROM golang:1.23-alpine AS builder
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
// Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
// https://www.permacomputer.com
|
||||
|
||||
module uncloseai-go-openai
|
||||
|
||||
go 1.19
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
// Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
// https://www.permacomputer.com
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
// PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
|
||||
// Copyright 2025 TimeHexOn & foxhop & russell@unturf
|
||||
// https://www.permacomputer.com
|
||||
|
||||
module uncloseai.com/uncloseai
|
||||
|
||||
go 1.19
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
//
|
||||
// Features:
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
FROM groovy:4.0.25-jdk17
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#!/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
|
||||
// Groovy leverages Java libraries seamlessly
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue