labdao / openlab-cli

Openlab - decentralised bioinformatics services - from the command line.
https://cli.openlab.tools
MIT License
19 stars 3 forks source link

RFC: openlab CLI #1

Closed NiklasTR closed 2 years ago

NiklasTR commented 2 years ago

I think having a lightweight CLI is an important building block for release openlab v0

blahah commented 2 years ago

Agreed - just moving the spec from the README so I can push the code I've been working on:

Spec (moved from initial README)

A basic CLI that encompasses the following functions:

NiklasTR commented 2 years ago

awesome!

NiklasTR commented 2 years ago

apps = service

openlab service list service name, service id, provider name, provider id, price, rating

NiklasTR commented 2 years ago

openlab app name --example - JSON template openlab app name - specs for the app with links to documentation

NiklasTR commented 2 years ago

openlab job submit job.json openlab job status - job id, application id, timestamp etc. , IPFS CID for finished jobs and log data

states include: posted accepted / rejected queued running completed / failed transferred (NFT was sent)

NiklasTR commented 2 years ago

openlab job log "job id" - reach feature that gives log

NiklasTR commented 2 years ago

openlab token mint jobid, metadataCID, logCID, fileCID

the jobID is an IPFS CID that is generated after uploading an input job description and automatic addition of UUID open token mint is basically linking to a directoryCID - 4 files (as described above)

NiklasTR commented 2 years ago

openlab token transfer

openlab transaction claim openlab transaction pay

more functions to rate provider etc.

NiklasTR commented 2 years ago

openlab provider blame :D

reputation system for useful job requests

blahah commented 2 years ago

Closing for posterity