Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rads/clj.sh
Run Clojure and Babashka functions without any prior installation.
https://github.com/rads/clj.sh
babashka clojure shell
Last synced: 19 days ago
JSON representation
Run Clojure and Babashka functions without any prior installation.
- Host: GitHub
- URL: https://github.com/rads/clj.sh
- Owner: rads
- License: mit
- Created: 2024-12-10T02:39:10.000Z (24 days ago)
- Default Branch: main
- Last Pushed: 2024-12-11T16:36:45.000Z (22 days ago)
- Last Synced: 2024-12-11T17:35:49.204Z (22 days ago)
- Topics: babashka, clojure, shell
- Language: Clojure
- Homepage: https://clj.sh
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# clj.sh
Run Clojure and Babashka functions without any prior installation.
This code is deployed as a service to [clj.sh](https://clj.sh) for free public use.
## Usage
```
# Call a main function
$ curl -fsSL clj.sh/io.github.babashka/neil | sh# Pass arguments
$ curl -fsSL clj.sh/io.github.babashka/neil | sh -s -- --version# If you want, you can download the script first to verify its content
$ curl -fsSL clj.sh/io.github.babashka/neil > neil
$ chmod +x neil
$ ./neil
```## Self-Hosting
This repo includes a `Dockerfile` and `docker-compose.yaml` to make it easy to deploy on your own. The public clj.sh deployments happen manually through the `bin/deploy` script, which is a thin wrapper around Docker and SSH.
That said, this is a typical Ring server and Docker isn't required, so you can deploy this as you would any other Clojure web app.
## Contributing
If you'd like to contribute to clj.sh, you're welcome to create [issues for ideas, feature requests, and bug reports](https://github.com/rads/clj.sh/issues).
## License
Copyright © 2024 Radford Smith
clj.sh is distributed under the [MIT License](LICENSE).