Beautifully reactive, server-side rendered Svelte apps w/ a Crystal backend
Celestite is a tool that allows users to leverage the full power of Svelte reactive components in their Crystal web applications. By serving as a drop-in replacement for the view layer, celestite eliminates the need for intermediate .ecr templates. Developers can now write their backend server code in Crystal and their frontend client code in JavaScript & HTML, ensuring seamless integration and fast performance.
shard.yml and run shards install.Celestite::Adapter::Amber in your application_controller.cr to add the celestite_render macro.celestite_amber_init.cr to /config/initializers._error.svelte file in your views directory.build_dir to Amber’s static pipeline.Celestite is a groundbreaking tool that allows developers to seamlessly integrate the power of Svelte reactive components into their Crystal web applications. By serving as a drop-in replacement for the view layer, celestite simplifies the development process, enabling users to write backend server code in Crystal and frontend client code in JavaScript & HTML. Despite being in the early alpha stage, celestite demonstrates promising functionalities for enhancing web development with Crystal.