Skip to content

trusterd/libtrusterd

Repository files navigation

libtrusterd

Build Status

Japanese

trusterd is a one of the famous web server which implements http2 by mruby language.

I know a word isomorphic.But Some time I like to use some languages at the same time. It's so fun.

you can use http2 server with your favorite language which support libffi.

Getting started

git clone https://github.com/kjunichi/libtrusterd.git
cd libtrusterd
git clone https://github.com/mruby/mruby.git
cd mruby
cp -f ../build_config.rb .
rake
cd ..
rake
openssl genrsa -des3 -out key.pem 2048
openssl req -new -key key.pem -out cert.csr
openssl x509 -days 365 -req -signkey key.pem < cert.csr >cert.pem
openssl rsa -in key.pem -out key.pem
cp cert.pem key.pem ssl

Examples

cd examples
npm install kjunichi/node-ffi
npm install ref
ln -s ../ssl .
node trusterd &
open https://127.0.0.1:8080/test

For more examples

See the examples/README.md file.

Link

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published