{"id":21703592,"url":"https://github.com/codemonument/deno_scripting_template","last_synced_at":"2026-05-07T01:38:17.969Z","repository":{"id":40781308,"uuid":"443030862","full_name":"codemonument/deno_scripting_template","owner":"codemonument","description":"A template repo for developing scripts with deno. These scripts can be compiled to single js files or even bundled with the deno executable for distribution. ","archived":false,"fork":false,"pushed_at":"2023-07-24T10:20:54.000Z","size":42,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-20T16:49:15.145Z","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/codemonument.png","metadata":{"files":{"readme":"Readme.md","changelog":"Changelog.md","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}},"created_at":"2021-12-30T09:41:10.000Z","updated_at":"2023-07-24T10:16:24.000Z","dependencies_parsed_at":"2023-07-24T11:51:58.329Z","dependency_job_id":null,"html_url":"https://github.com/codemonument/deno_scripting_template","commit_stats":null,"previous_names":["codemonument/deno_scripting_template"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/codemonument/deno_scripting_template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemonument%2Fdeno_scripting_template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemonument%2Fdeno_scripting_template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemonument%2Fdeno_scripting_template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemonument%2Fdeno_scripting_template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codemonument","download_url":"https://codeload.github.com/codemonument/deno_scripting_template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemonument%2Fdeno_scripting_template/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260453717,"owners_count":23011572,"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":"2024-11-25T21:33:42.121Z","updated_at":"2026-05-07T01:38:12.943Z","avatar_url":"https://github.com/codemonument.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deno Scripting Template\n\nA template repo for developing scripts with deno. These scripts can be compiled\nto single js files or even bundled with the deno executable for distribution.\n\nThis could also be used as a base for a cli written in deno, simply use a\ncli-args parsing package in `main.ts` and build out the commands.\n\n## Folder Structure\n\n- `.vscode` = A folder, \n  - containing a `settings.json` which activates the deno language server for this workspace\n  - containing a `extensions.json` with recommended vscode extensions for this workspace\n- `dist` = A folder containing the output artefacts, like a bundled js file or\n  even executables for windows or mac\n- `playground` = a location used as cwd for running main.ts (this allows a clean\n  testing space and avoids problems with the source-code files, like accidental\n  deletion)\n- `src` = A folder containing more source files which are used by `main.ts`\n- `.env` = A file with environment variables being used with the `velociraptor` script runner\n- `.gitignore` = A normal gitingore file\n- `deno.jsonc` - A JSON config file with comments to customize tsc, linting and formatting inside deno executable\n- `main.ts` = the entrypoint for this deno script / app\n- `Readme.md` = A normal Readme file\n- `scripts.yaml` = A file defining the workspace scripts, like `vr start` \u0026 `vr build`. \n   Needs the `velociraptor` cli to be installed globally. (see install instructions below)\n\n## Adjustments after using the Template\n\n1. Update the `APP_NAME` variable in `.env` file. It is used as name for bundled\n   js files or compiled executables.\n\n## Setup after Cloning\n\n1. Install Velociraptor (Script Runner)\n   1. Get the newest install command from here:\n      https://velociraptor.run/docs/installation/\n   2. Run the install command from the website, for example:\n      `deno install -qAn vr https://deno.land/x/velociraptor@1.5.0/cli.ts`\n   3. If you used this exact command from Step 2 from this readme, \n      run `vr upgrade` afterwards to update velociraptor\n\n## Install new Dependencies \n\nTwo Options: \n- use esm.sh, via the helper tasks: `deno task esm:add \u003c:package\u003e`\n- add bare specifiers to import map via `npm:package-name`\n\nCAUTION: If you want to deploy your script / cli to deno.land/x, you must not use import_map! \nBc. installing this script via deno.land/x can't access the import map!\nSee: https://deno.land/manual@v1.31.3/basics/import_maps#import-maps-are-for-applications\n\n## TODOs for this Template\n\n- Add automation with Github Actions:\n  https://stefanbuck.com/blog/repository-templates-meets-github-actions\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemonument%2Fdeno_scripting_template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodemonument%2Fdeno_scripting_template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemonument%2Fdeno_scripting_template/lists"}