Twig is nest.land's work-in-progress module publishing service written in Deno.
First, Setup environment variables:
# .env
# For `make`
SUPABASE_URL="<supabase api url>"
SUPABASE_API_KEY="<supabase api key>"
KEYFILE="<path to arweave wallet>"
# For `make test`
TEST_ACCESS_TOKEN="<access token hash>"
Start the server with make
on localhost port 8080.
To run the test suite, ensure TEST_ACCESS_TOKEN
match the desired assertions
and run with make test
.
See twig_test.ts
for an example for uploading a module and
retrieving progress.
MIT License