{"id":28564723,"url":"https://github.com/The-Extra-Project/Gadius-CLI","last_synced_at":"2025-06-10T13:36:44.645Z","repository":{"id":183155083,"uuid":"669327515","full_name":"The-Extra-Project/Gadius-CLI","owner":"The-Extra-Project","description":":fishing_pole_and_fish: Submission for ethglobal paris hackathon, building Swiss knife to operate compute over data for geospatial data usecases.","archived":false,"fork":false,"pushed_at":"2024-09-09T09:24:13.000Z","size":2346,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-09-09T11:20:53.038Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/The-Extra-Project.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-21T23:59:39.000Z","updated_at":"2024-09-09T09:24:22.000Z","dependencies_parsed_at":"2023-11-21T11:45:26.987Z","dependency_job_id":"943d2afd-0e5e-4807-844b-4a43beb2e245","html_url":"https://github.com/The-Extra-Project/Gadius-CLI","commit_stats":null,"previous_names":["the-extra-project/gadius-cli"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Extra-Project%2FGadius-CLI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Extra-Project%2FGadius-CLI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Extra-Project%2FGadius-CLI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Extra-Project%2FGadius-CLI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/The-Extra-Project","download_url":"https://codeload.github.com/The-Extra-Project/Gadius-CLI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Extra-Project%2FGadius-CLI/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259085515,"owners_count":22803212,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-10T13:36:40.532Z","updated_at":"2025-06-10T13:36:44.624Z","avatar_url":"https://github.com/The-Extra-Project.png","language":"TypeScript","funding_links":[],"categories":["Use Cases"],"sub_categories":["Lilypad Community Modules"],"readme":"# Gadius CLI:  :fishing_pole_and_fish:\n\nCLI for orchestrating jobs for geospatial analysis on onchain [COD](https://www.cod.cloud)) protocol network called [lilypad](). some other characterstics \n    - [ ] Able to build wallet, pay and instantiate the compute operations onchain.\n    - [ ] visualize the results of the surface reconstruction, citygml models etc.\n## packages:\n\n- CLI: This is the core package that implements the CLI for client in order to run the compute jobs as the wrapper on the lilypad-cli compute jobs or via the lilypad onchain adapter contracts.\n\n- Contracts: This is WIP package that deploys and provides the api with the wrapper solidity contracts that interact directly with the lilypad onchain adapter contracts.\n\n## Build instructions \n\n### 1. From npm registry \n\n\u003e npm install @devextralabs/cli\n\nThen setup the ENV variables in cli/.env file:\n    - RPC_URL (rpc url of the testnet)\n    -  (private key of the testnet based account that has the testnet tokens) \n\n### 2. (from source): \n\nwe have also provided integration with the localhosted bacalau testnet along w/ lilypad stack to test the scheduling and execution of the compute jobs. this will be done in 2 steps\n\n1. clone the library with dependencies: \n\u003e git clone --recursive https://github.com/The-Extra-Project/Gadius-CLI \n\n2. Go to the infra/lilypad folder in order to run the bash script that will setup the local [lilypad stack](https://github.com/bacalhau-project/lilypad/blob/main/CONTRIBUTING.md). \n\n3. Copy the addresses of the deployed contract along w/ the RPC endpoint in the .env file\n\n\n4. build the CLI package: \n```\nnpx turbo build cli\n\n```\n\n5. run the command\n\n```\ncd apps/cli \u0026\u0026 npm run cli\n\n```\n\n### 3. API calls.\n\n```bash\n\ngadius create-cod-point -c / --coordinates \u003cX \u003e \u003cY \u003e --ipfs_shp_file \u003ccid of the file\u003e \n\ngadius create-cod-polygon -c \u003clattitude Xmax\u003e \u003clongitude Ymax\u003e \u003clattitude Xmin\u003e \u003clongitude Ymin\u003e --ipfs_shp_file \u003ccid of the file\u003e --username \u003cusername\u003e\n\ngadius create-job-cityGML -Y  \u003cyaml_input_file\u003e --obj_file \u003cobject_file_output_path\u003e -C \u003ccitygml_output_path\u003e \n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FThe-Extra-Project%2FGadius-CLI","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FThe-Extra-Project%2FGadius-CLI","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FThe-Extra-Project%2FGadius-CLI/lists"}