This is the sample crawlora app that is used to publish and update app for crawlora dashboard.
in case if you want to update an existing app add app_id in crawlora.json
# crawlora.json
{
"env":{
"key":"value"
},
"entrypoint": "./.dist/index.js",
"function": "default",
"screenshot_files": ["./assets/screenshot_1.png", "./assets/screenshot_2.png", "./assets/screenshot_3.png", "./assets/screenshot_4.png"],
"logo_file": "./assets/logo.png",
"banner_file": "./assets/banner.png",
"title": "Google Links searches app starter",
"short_description": "Get google links quickly",
"version":"1.0.0",
"documentation_file": "./documentation.md",
"input_file": "./input.json",
"app_id": "3636e627-4e2c-4293-acb2-1c2e4d856b87"
}image setup guidelines
- banner: 16:9 ( 1280px to 860px)
- logo: 1:1 ( 1000px to 1000px )
- screenshots ( min 3 ) ( 1280px to 860px) each
- update
crawlora.json - update
input.json( make sure you have enough and proper inputs ) - update
documentation.json - set the
CRAWLORA_AUTH_KEYsecret in the new github repo - you will always have this environment variable when running so not need to set up in
crawlora.json
#Environment variables at the runtime
CRAWLORA_SEQUENCE_ID # the running sequence
CRAWLORA_AUTH_KEY # the user auth key
you can get this from node.js runtime like this
process.env['CRAWLORA_SEQUENCE_ID'] // 3636e627-4e2c-4293-acb2-1c2e4d856b87
process.env['CRAWLORA_AUTH_KEY'] //3636e627-4e2c-4293-acb2-1c2e4d856b873636e627-4e2c-4293-acb2-1c2e4d856b873636e627-4e2c-4293-acb2-1c2e4d856b873636e627-4e2c-4293-acb2-1c2e4d856b873636e627-4e2c-4293-acb2-1c2e4d856b87