99492a35e8
Fix SSE ping heartbeat message format
2026-04-04 19:36:28 -07:00
70f52a9b55
Add x-app-url header to tunnel requests
2026-04-04 14:56:29 -07:00
eb2e5a4436
Add appUrl() helper and x-app-url header
2026-04-04 14:40:07 -07:00
0e467a1bdf
Fix git init failing when no default branch or user config is set
2026-03-24 18:40:06 -07:00
df05cbd3aa
Add error handling for lsof and pgrep commands
2026-03-23 16:58:44 -07:00
1f0c7bd099
Remove try-catch from perfToggle and fix perf timing flag read
...
Let errors propagate to the caller instead of catching locally,
simplify the request body construction, and snapshot perf.timing
before the fetch to avoid a TOCTOU race.
2026-03-19 11:50:10 -07:00
4cc0ff2bed
Inline PerfState interface and move subscriptions before routes
...
The PerfState interface was only used twice, so inline it. Move
onChange/onHostLog subscriptions above the route definitions to keep
side-effects grouped. Skip perf.now() in proxy when timing is off.
2026-03-19 11:29:17 -07:00
9a19c0a861
Consolidate perfTiming state into a single perf object
...
Removes the separate variable and setter in favor of a plain object,
making the mutable state easier to track and eliminating a needless
abstraction.
2026-03-19 11:21:50 -07:00
b9f94a6c98
Move setPerfTiming next to perfTiming and always capture request start time
...
Colocate the setter with its variable for readability. Remove the
conditional around performance.now() since the call is negligible
and simplifies the timing logic.
2026-03-19 11:09:27 -07:00
c42c73fe70
Simplify perf toggle by deduplicating branching logic
...
Early-return on invalid input, then unify the GET/POST and display
paths so each concern is handled once instead of per-subcommand.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-19 11:02:06 -07:00
c3ad78f1be
Add CLI perf command to toggle request timing on proxied apps
2026-03-19 10:50:23 -07:00
195be426f1
Convert getAppMetrics to async and replace spawnSync with async Bun.spawn
...
spawnSync blocks the event loop while waiting for ps and du, which
stalls the SSE metrics stream and other requests. Running these
concurrently with async spawn (and Promise.all for du) keeps the
server responsive under load.
2026-03-16 16:32:17 -07:00
aebafdf496
Remove package.json requirement, auto-deploy bare repos
2026-03-12 14:45:57 -07:00
b410a74d15
Refactor app building and simplify gitUrl
2026-03-08 23:38:15 -07:00
e0347444aa
Add share field to app type and show share button
2026-03-08 23:17:35 -07:00
0aa375f037
Add ANSI color and styling to shell scripts
2026-03-08 22:18:53 -07:00
d2339b8d44
fix update spawn error handling and reset flag
2026-03-05 13:03:35 -08:00
61c0c90695
Delegate update to install/install.sh
2026-03-05 07:58:27 -08:00
0af360cef2
Centralize VALID_NAME regex into shared types
2026-03-05 07:45:19 -08:00
e7dd220106
Allow dots in app and repo names
2026-03-04 19:25:51 -08:00
f1fc4fcde8
Add error handling and timeout to system operations
2026-03-04 19:09:30 -08:00
f54cc401dc
real settings
2026-03-04 19:03:29 -08:00
f8c5890e07
Add WiFi config and system info endpoints
2026-03-04 11:39:37 -08:00
93d913f278
Use local git port when available for git URL
2026-03-03 17:10:36 -08:00
577bec0d5c
Simplify modal rendering with dedicated DOM root
2026-03-03 12:46:20 -08:00
c24c0fac45
Refactor env vars: rename DATA_DIR to DATA_ROOT, add APP_URL
2026-03-01 21:21:23 -08:00
baa3712fa2
Add getApp command and gitUrl helper
2026-03-01 14:57:39 -08:00
56db56976b
re-do the whole thing on git
2026-03-01 13:29:01 -08:00
64d5295fde
Merge branch 'global-tools'
2026-03-01 10:16:01 -08:00
82c8fc42da
Add dashboard support for tool apps with iframe embedding
2026-03-01 10:10:49 -08:00
52cf99b56d
Replace global with apps and dashboard app properties
2026-03-01 09:48:36 -08:00
fdc14a5021
fix race condition
2026-03-01 09:40:35 -08:00
c7f8f09ba9
Add global field to filter tool tabs
2026-03-01 09:35:05 -08:00
Chris Wanstrath
74f9062a89
fix reconnect
2026-02-27 15:35:49 -08:00
Chris Wanstrath
55316027c0
heartbeat
2026-02-27 15:14:43 -08:00
45b1903e6b
Use URL-based routing instead of local state
2026-02-26 19:43:18 -08:00
98a1c1ad97
Add client-side router, use URLs for navigation
2026-02-26 11:40:50 -08:00
87d0ff50c1
Centralize hostname config in shared module
2026-02-25 12:55:41 -08:00
0499060676
Use dynamic hostname instead of toes.local
2026-02-25 12:11:43 -08:00
51e42dc538
Fix memory usage via /proc/meminfo on Linux
2026-02-24 19:05:04 -08:00
236e8ff38e
normalize app names to valid subdomains via toSubdomain utility
2026-02-19 20:04:23 -08:00
4aebd6a087
ensure app data directory exists before spawning process
2026-02-19 19:51:39 -08:00
7ea806b778
Add paw print emoji to install.sh status messages
2026-02-19 19:20:12 -08:00
aaf4660816
Delegate build logic to external script, simplify build target representation
2026-02-19 19:16:12 -08:00
18cf4243fa
Build CLI binaries on-demand when requested via /dist/:file endpoint
2026-02-19 13:33:58 -08:00
971ebef21c
dashboard
2026-02-19 09:28:15 -08:00
071f1a02b5
install toes cli
2026-02-18 20:46:56 -08:00
c5672e57bd
cleanup
2026-02-17 14:47:47 -08:00
888f12a8f1
tweak proxy
2026-02-16 21:04:11 -08:00
96083b640f
all apps are http apps
2026-02-16 13:25:24 -08:00