Skip to content

Commit 1f9c493

Browse files
committed
added ScyWeb SDK
1 parent aff99f1 commit 1f9c493

462 files changed

Lines changed: 25654 additions & 110 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
name: ScyWeb Kernel Parity Check
2+
3+
on:
4+
push:
5+
branches: [ main, develop ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
test-kernels:
11+
# Swift runs on macOS for native toolchain access; others run on Ubuntu
12+
runs-on: ${{ matrix.kernel == 'swift' && 'macos-latest' || 'ubuntu-latest' }}
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
# 10 Languages, strictly lowercase
17+
kernel: [python, javascript, cpp, go, java, rust, kotlin, php, react-native, swift]
18+
19+
steps:
20+
- uses: actions/checkout@v4
21+
22+
- name: Initialize Global Test Image
23+
run: mkdir -p vines_images
24+
25+
# --- RUST (Edition 2024) ---
26+
- name: Setup Rust
27+
if: matrix.kernel == 'rust'
28+
uses: dtolnay/rust-toolchain@stable
29+
- name: Run Rust Test
30+
if: matrix.kernel == 'rust'
31+
run: |
32+
cd sdk/rust
33+
cargo run --bin test_vines
34+
35+
# --- PYTHON ---
36+
- name: Setup Python
37+
if: matrix.kernel == 'python'
38+
uses: actions/setup-python@v5
39+
with:
40+
python-version: '3.11'
41+
- name: Run Python Test
42+
if: matrix.kernel == 'python'
43+
run: |
44+
cd sdk/python
45+
pip install -r requirements.txt
46+
python test_vines.py
47+
48+
# --- JAVASCRIPT & REACT NATIVE ---
49+
- name: Setup Node.js
50+
if: matrix.kernel == 'javascript' || matrix.kernel == 'react-native'
51+
uses: actions/setup-node@v4
52+
with:
53+
node-version: '20'
54+
- name: Run Node-based Tests
55+
if: matrix.kernel == 'javascript' || matrix.kernel == 'react-native'
56+
run: |
57+
cd sdk/${{ matrix.kernel }}
58+
npm install
59+
node test_vines.js
60+
61+
# --- C++ (OpenSSL) ---
62+
- name: Install OpenSSL
63+
if: matrix.kernel == 'cpp'
64+
run: sudo apt-get update && sudo apt-get install -y libssl-dev
65+
- name: Run C++ Test
66+
if: matrix.kernel == 'cpp'
67+
run: |
68+
cd sdk/cpp
69+
make
70+
./test_vines
71+
72+
# --- GO ---
73+
- name: Setup Go
74+
if: matrix.kernel == 'go'
75+
uses: actions/setup-go@v5
76+
with:
77+
go-version: '1.21'
78+
- name: Run Go Test
79+
if: matrix.kernel == 'go'
80+
run: |
81+
cd sdk/go
82+
go run test_vines.go
83+
84+
# --- JAVA & KOTLIN ---
85+
- name: Setup Java/Kotlin
86+
if: matrix.kernel == 'java' || matrix.kernel == 'kotlin'
87+
uses: actions/setup-java@v4
88+
with:
89+
distribution: 'temurin'
90+
java-version: '17'
91+
- name: Run JVM Tests
92+
if: matrix.kernel == 'java' || matrix.kernel == 'kotlin'
93+
run: |
94+
cd sdk/${{ matrix.kernel }}
95+
if [ "${{ matrix.kernel }}" == "java" ]; then
96+
javac ScyKernel.java test_vines.java && java test_vines
97+
else
98+
# Install Kotlin compiler on Ubuntu runner
99+
sudo apt-get update && sudo apt-get install -y kotlin
100+
kotlinc ScyKernel.kt test_vines.kt -include-runtime -d test.jar && java -jar test.jar
101+
fi
102+
103+
# --- PHP ---
104+
- name: Run PHP Test
105+
if: matrix.kernel == 'php'
106+
run: |
107+
cd sdk/php
108+
php test_vines.php
109+
110+
# --- SWIFT ---
111+
- name: Run Swift Test
112+
if: matrix.kernel == 'swift'
113+
run: |
114+
cd sdk/swift
115+
# Use swift interpret mode for a single file test
116+
swift test_vines.swift

.gitignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
ScyWebReferences.html
1+
# References removed for potential copyright reasons
2+
Morton_A Computer Oriented Geodetic Data Base and a New Technique in File Sequencing.pdf
3+
# ScyWeb SDK Local Persistence
4+
sdk/**/*.scy
5+
sdk/**/*.log
6+
data/

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ A scytale is an ancient Greek transposition cipher that utilizes a rod and parch
1414
Browsers have become state of the art applications. Many apps available on app stores can be made with wider compatibility for fractions of the code-base and energy. ScyWeb is only 345 lines of code at its base. Cybersecurity is getting harder and harder to achieve and an offline web app makes hacking virtually impossible, a breath of fresh air in a time of insecurity.
1515

1616
## Image Databasing
17-
[Demo](https://demos.matthewbenchimol.com/ScyWeb/ScyWebDBMaker.html) a new ultra quantum resistant image database methodology. It allows you to batch key queries. Currently under development.
17+
- [Demo](https://demos.matthewbenchimol.com/ScyWeb/ScyWebDBMaker.html) a new ultra quantum resistant image database methodology. It allows you to batch nosql key queries.
18+
- [Demo](https://demos.matthewbenchimol.com/ScyWeb/ScyWebSQLTester.html) a new quantum resistant image database methodology. It allows you to use SQL queries.
19+
- An SDK is still under development as a working prototype.
1820

1921
### Success of image databasing is extremely high, as it makes database storage concerns virtually obsolete.
2022

0 commit comments

Comments
 (0)