$ jbang https://ankurm.com/wp-content/uploads/2026/12/Hello.java Remote
[jbang] https://ankurm.com/wp-content/uploads/2026/12/Hello.java is not from a trusted source thus not running it automatically.

If you trust the url to be safe to run you can do one of the following

(1) Trust once: Add no trust, only allow access to this URL for the duration of this run
(2) Trust limited url in future: https://ankurm.com/wp-content/uploads/2026/12/
(0) Cancel

[jbang] Type in your choice and hit enter. Will automatically select option (0) after 30 seconds.
[jbang] Timeout reached, selecting option (0)
[jbang] [ERROR] https://ankurm.com/wp-content/uploads/2026/12/Hello.java is not from a trusted source and user did not confirm trust thus aborting.
If you trust the url to be safe to run are here a few suggestions:
Limited trust:
     jbang trust add https://ankurm.com/wp-content/uploads/2026/12/
Trust all subdomains:
    jbang trust add *.ankurm.com
Trust all sources (WARNING! disables url protection):
    jbang trust add *

For more control edit ~/.jbang/trusted-sources.json

[jbang] Run with --verbose for more details. The --verbose must be placed before the jbang command. I.e. jbang --verbose run [...]
[exit status: 10]

$ jbang trust add https://ankurm.com/wp-content/uploads/
[jbang] Trusting permanently: [https://ankurm.com/wp-content/uploads/]

$ jbang https://ankurm.com/wp-content/uploads/2026/12/Hello.java Remote
[jbang] Building jar for Hello.java...
Hello, Remote!
Running on Java 25 (Eclipse Adoptium)

$ grep -v '^//' $JBANG_DIR/trusted-sources.json
[
    "https://ankurm.com/wp-content/uploads/"
]
