Skip to content

enhance-dev/enhance-ssr-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Enhance SSR Ruby Example

This project demonstrates using Enhance to serverside render components in Ruby. It uses Sinatra as a minimal framework but this technique can be used with Ruby on Rails or almost any other framework.

Install Extism Runtime Dependency

For this library, you first need to install the Extism Runtime by following the instructions in the Ruby SDK Repository.

Download Enhance SSR wasm

Download the latest release of the compiled wasm:

curl -L https://github.com/enhance-dev/enhance-ssr-wasm/releases/download/v0.0.3/enhance-ssr.wasm.gz | gunzip > enhance-ssr.wasm

Run

  1. Install Dependencies
bundle install
  1. Run Server
ruby app.rb
  1. load http://localhost:4567

About

Enhance SSR wrapper for Ruby

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published