
Security News
Astral Launches pyx: A Python-Native Package Registry
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
An async first RPC app server built in Ruby. Supported by DRb, Puma, and Zookeeper.
Start with creating your project directory.
mkdir MyApp
Create a new Gemfile and bundle install
.
source "https://rubygems.org"
gem 'shatter-rb'
Create the project with:
bundle exec shatter new <AppName>
For now, app name should be in provided in UpperCamelCase.
Init zookeeper with the required keys needed
bundle exec shatter init_service_discovery
Finally, you start shatter by running both the web server and service applications.
bin/service
bin/server
Congrats! Shatter is up and running!
Included in the setup is one example HelloWorldFunction
to show you how things work. You can invoke it with curl like:
curl -i -X POST -d '{}' localhost:9292/hello_world
Check the location
header in the response and follow that url till your response is ready. The Javascript client does all this for you, however.
You can check out a demo js script here: https://github.com/EricRoos/shatter/blob/main/javascript/dist/demo.js
We suggest you use Vite to setup your front end. Shatter comes with the ability to export your functions to a typescript definition that will give you a configured out of the box client ready for use. No need for wiring yourself except for importing whats generated.
You can generate your typescript with:
bundle exec shatter generate_typescript --path web/src/
Assuming you have setup your javascript based front end at ./web
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/shatter. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the Shatter project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.
Shatter logo provided by: Beautiful png from pngtree.com/
FAQs
Unknown package
We found that shatter-rb demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.