Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
908f85d
feat: add wasm rigging
Xe Sep 23, 2025
03a6c07
chore: add rust-toolchain.toml
Xe Sep 27, 2025
a63cbc7
feat(web/js): add wasm client side runner
Xe Sep 28, 2025
8999303
feat(lib/challenge/wasm): server side validation logic
Xe Sep 28, 2025
f150e4b
ci: fix rust dependencies
Xe Sep 28, 2025
9959cb0
ci: fix rust wasm32 target
Xe Sep 28, 2025
bed126e
ci(packages): fix builds
Xe Sep 28, 2025
1c5ce19
ci: test ssh ci for the wasm stack
Xe Sep 28, 2025
41bfbf7
test(ssh-ci): use TecharoHQ/ci-images SSH runner image
Xe Sep 28, 2025
8b60b43
chore(wasm): argon2id -> hashx
Xe Sep 28, 2025
cf931cc
fix(lib): detect failures on challenge method initialization
Xe Sep 28, 2025
097c9e9
feat(web/wasm): use simd128 if available
Xe Sep 28, 2025
a0df3d4
chore: cleanups
Xe Sep 28, 2025
bd5613c
feat(web/wasm): start work on wasm2js, found bugs in the code, stoppi…
Xe Sep 28, 2025
705da2f
fix: disable broken wasm interpreter flow for now
Xe Sep 28, 2025
643b471
feat(wasm): support "pure JS" mode
Xe Sep 30, 2025
bba000e
chore: clean up places I forced things in testing
Xe Sep 30, 2025
a29025c
ci: fix invocations of setup-binaryen
Xe Sep 30, 2025
45c9cb6
Update metadata
Xe Sep 30, 2025
2ad7be2
ci: use binaryen 108
Xe Sep 30, 2025
7f1a719
fix(wasm): use interpreter on aarch64 for now
Xe Sep 30, 2025
0699f33
docs: add wasm documentation
Xe Sep 30, 2025
c04bd48
fix(wasm): support loading webassembly again
Xe Sep 30, 2025
accffa6
chore(wasm): spelling fixes
Xe Sep 30, 2025
1530eab
docs: update CHANGELOG
Xe Sep 30, 2025
158a3b8
docs: update CHANGELOG with binaryen dependency
Xe Sep 30, 2025
8cc2c4d
ci: fix smoke tests
Xe Sep 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ WORKDIR /app

COPY go.mod go.sum package.json package-lock.json ./
RUN apt-get update \
&& apt-get -y install zstd brotli redis \
&& apt-get -y install zstd brotli redis uuid-runtime binaryen \
&& mkdir -p /home/vscode/.local/share/fish \
&& chown -R vscode:vscode /home/vscode/.local/share/fish \
&& chown -R vscode:vscode /go
Expand Down
6 changes: 5 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
"postStartCommand": "bash ./.devcontainer/poststart.sh",
"features": {
"ghcr.io/xe/devcontainer-features/ko:1.1.0": {},
"ghcr.io/devcontainers/features/github-cli:1": {}
"ghcr.io/devcontainers/features/github-cli:1": {},
"ghcr.io/devcontainers/features/rust:1": {
"version": "latest",
"targets": "wasm32-unknown-unknown"
}
},
"initializeCommand": "mkdir -p ${localEnv:HOME}${localEnv:USERPROFILE}/.local/share/atuin",
"customizations": {
Expand Down
1 change: 1 addition & 0 deletions .devcontainer/poststart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ pwd
npm ci &
go mod download &
go install ./utils/cmd/... &
cargo fetch &

wait
33 changes: 32 additions & 1 deletion .github/actions/spelling/expect.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ bbolt
bdba
berr
bezier
binaryen
bingbot
Bitcoin
bitrate
Expand All @@ -41,6 +42,7 @@ cachediptoasn
Caddyfile
caninetools
Cardyb
cdylib
celchecker
celphase
cerr
Expand All @@ -57,7 +59,9 @@ checkresult
chibi
cidranger
ckie
clippy
cloudflare
codegen
Codespaces
confd
connnection
Expand All @@ -69,11 +73,15 @@ crt
Cscript
daemonizing
dayjob
dce
DDOS
dealign
Debian
debrpm
decaymap
denan
devcontainers
dfo
Diffbot
discordapp
discordbot
Expand All @@ -92,6 +100,7 @@ eerror
ellenjoe
emacs
enbyware
equix
etld
everyones
evilbot
Expand All @@ -104,14 +113,18 @@ facebookgo
Factset
fastcgi
fediverse
fff
ffm
ffprobe
financials
finfos
Firecrawl
flagenv
fnames
Fordola
forgejo
forwardauth
fpcast
fsys
fullchain
gaissmai
Expand Down Expand Up @@ -139,6 +152,7 @@ grpcprom
grw
Hashcash
hashrate
hashx
headermap
healthcheck
healthz
Expand All @@ -147,6 +161,7 @@ Hetzner
hmc
homelab
hostable
hostimport
htmlc
htmx
httpdebug
Expand All @@ -157,6 +172,7 @@ iaskspider
iaso
iat
ifm
iit
Imagesift
imgproxy
impressum
Expand All @@ -168,6 +184,7 @@ iptoasn
isp
iss
isset
iterand
ivh
Jenomis
JGit
Expand All @@ -181,6 +198,7 @@ kagibot
Keyfunc
keypair
KHTML
kilohashes
kinda
KUBECONFIG
lcj
Expand All @@ -195,9 +213,11 @@ limsa
Linting
linuxbrew
LLU
lmu
loadbalancer
lol
lominsa
lto
maintainership
malware
mcr
Expand Down Expand Up @@ -264,12 +284,16 @@ redir
redirectscheme
refactors
reputational
rereloop
risc
rse
ruleset
runlevels
RUnlock
runtimedir
runtimedirectory
RUSTFLAGS
rustup
Ryzen
sas
sasl
Expand All @@ -285,10 +309,10 @@ shellcheck
shirou
shopt
Sidetrade
simd
simprint
sitemap
sls
Smartphone
sni
Spambot
sparkline
Expand All @@ -313,20 +337,25 @@ techarohq
templ
templruntime
testarea
tetratelabs
Thancred
thoth
thothmock
Tik
Timpibot
TLog
tnh
traefik
trunc
uberspace
Unbreak
unbreakdocker
unifiedjs
uninlined
unmarshal
unparseable
untee
usize
uvx
uwu
UXP
Expand All @@ -337,6 +366,8 @@ vendored
vhosts
VKE
Vultr
wasmjs
wazero
weblate
webmaster
webpage
Expand Down
13 changes: 12 additions & 1 deletion .github/workflows/docker-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Docker image builds (pull requests)

on:
pull_request:
branches: [ "main" ]
branches: ["main"]

env:
DOCKER_METADATA_SET_OUTPUT_ENV: "true"
Expand Down Expand Up @@ -45,6 +45,17 @@ jobs:
run: |
brew bundle

- uses: actions-rust-lang/setup-rust-toolchain@02be93da58aa71fb456aa9c43b301149248829d8 # v1.15.1
with:
cache: false
target: wasm32-unknown-unknown

- name: Setup Binaryen
uses: Aandreba/setup-binaryen@77f25f9d7d30f09667a2535888bf9516b31a4cd7 # v1.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: 108

- name: Docker meta
id: meta
uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8.0
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,17 @@ jobs:
run: |
brew bundle

- uses: actions-rust-lang/setup-rust-toolchain@02be93da58aa71fb456aa9c43b301149248829d8 # v1.15.1
with:
cache: false
target: wasm32-unknown-unknown

- name: Setup Binaryen
uses: Aandreba/setup-binaryen@77f25f9d7d30f09667a2535888bf9516b31a4cd7 # v1.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: 108

- name: Log into registry
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
with:
Expand Down
Loading
Loading