Datasaur
Search…
Robosaur
Robosaur provides creating and exporting Datasaur projects through scripting
Robosaur is a Typescript command-line scripting tool to create and export Datasaur projects.
The source code for Robosaur is available publicly as an open-source GitHub project. Use the following command to clone the source code.
1
git clone https://github.com/datasaur-ai/robosaur.git
Copied!

Quickstart

Before running any Robosaur commands, get familiar with our project types and there are two things that you need to configure.
  1. 1.
    Open /quickstart/{preferred-project-type}/config/config.json.
  2. 2.
    Generate the OAuth credentials and replace <DATASAUR_CLIENT_ID> and <DATASAUR_CLIENT_SECRET> config values.
  3. 3.
    Open https://app.datasaur.ai/projects. Click your profile on the top right corner and select the team that you want to use. Grab the team ID from the URL (https://app.datasaur.ai/teams/{team-id}/projects) and replace all <TEAM_ID> config values.
  4. 4.
    Run npm ci on the root folder.

Create Multiple Projects

1
npm run start -- create-projects quickstart/token-based/config/config.json
Copied!

Export Multiple Projects

1
npm run start -- export-projects quickstart/token-based/config/config.json
Copied!
Please see the next section to configure and customize more deeply about both the project creation and export.

Requirement

Robosaur is developed using TypeScript and Node.js. We recommend using nvm to manage the versions. You can just run nvm use to configure it.
  • Node.js v16.13.2
  • NPM v8 (should be bundled with Node.js)
Copy link