You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Community store dialog disables Add for links with a port or a ~user path, which the server accepts #236
The server check in omarchyd/apps.mjs (checkUrl, line 807) is:
/^https:\/\/[\w.-]+(:\d+)?\/[\w.\-~/]+$/
The server allows an optional :port and ~ in the path; the web check allows neither. A store on a self-hosted Git server such as https://git.home.lan:3000/me/app-store (a normal setup for a home server) leaves the Add button disabled with no message explaining why, although the server would accept it.
How to reproduce
I ran both expressions in Node:
https://github.com/someone/app-store client true server true
https://git.home.lan:3000/me/app-store client false server true
https://example.com/~bob/store client false server true
In the app: Stores, Add by link, paste the second address. Add stays disabled. Expected: enabled.
Suggested fix
Use the same pattern as the server ((:\d+)? after the host and ~ in the path class), or drop the client check and let the server's message show.
Activity
calledtoconstruct commentedon Nov 22, 2026
Working to resolve this.
No open pull request references this issue, and no one has commented that they are working on it.
#526, #342, #525, #524, #527, #133, #102, #777, #129, #239, #243, #233, #232, #142, #242, and #443 share the app store with this and will land in one pull request.
🤖 Generated with Grok 4.7
calledtoconstruct commentedon Nov 22, 2026
Thanks @nixfred. A community store link may include a port or a ~user path. This ships in #876.
🤖 Generated with Grok 4.7