A project which showcases latest development in wasi world. Currently its updated for [email protected]
. It Helps in accumulate learnings from ML, Green Software and Wasi into a single repo
Why create this? Becuase this is the main selling point of the wasi to be able to create logic indenendent of the language and highly decoplied ways and with low latency and low footprint (Env Sustabanle ;>). aka benifies of multiple people working in different modules of the program but at the end all are merged and created a single product
- use of wasm in real world uscase of FAAS
- python openai,
- rust cli
- watttime api
- python
make build
make run_**
graph TD;
cli(["`CLI Written **Rust**`"])-->crypto(["`Crypto Written **Python**`"]);
cli-->webserver(["`HTTP webserver Written **Rust** present inside the cli`"]);
cli-->githubapi(["`Githubapi Written **Python**`"]);
cli-->openai(["`OpenAI LLM Written **Python**`"]);
cli-->watt(["`Watt_time client Written **Python**`"]);
githubapi-->httpclient(["`HTTPClient Written **Rust**`"]);
watt-->httpclient;
openai-->httpclient;
httpclient-->wasi:http;
httpclient
useswaki
crate for the http client
wasihttpclient
uses the wasi:http
crate for the http client which is actually used by waki
is the main entry point for the application, it is written in rust and uses the clap
crate for the command line parsing.
is the module for cryptographic computing, for now its random password generator
is the module for interacting with the github api, for now its just a simple get request to the github api
- latest release of a public repo
- list contributors of a public repo
- stars and top 10 of them of a public repo
is the module for interacting with the OpenAI language model
- simple chat bot
- text to image generation as well
is the module for interacting with the WattTime api
- register a free account
- your location and also region code
- get forcast for 1 hour
- get current Co2 moer index
is the module for interacting with the http client, it is written in rust and uses the waki
which is built on top of wasi:http
crate for the http client
used by githubapi
, watttime
and openai