{"id":15393660,"url":"https://github.com/zewenn/qova-template","last_synced_at":"2025-03-14T20:44:30.796Z","repository":{"id":226056882,"uuid":"763538070","full_name":"zewenn/qova-template","owner":"zewenn","description":"The Qova Template provides an easy to use - go-like - standard library (__stdlib__) and builder program (run.exe) built with esbuild in go.","archived":false,"fork":false,"pushed_at":"2024-03-25T12:05:15.000Z","size":37267,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-21T13:34:22.013Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zewenn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-02-26T13:38:54.000Z","updated_at":"2024-03-09T22:51:16.000Z","dependencies_parsed_at":"2024-03-09T16:24:45.419Z","dependency_job_id":"ced922d6-f97c-4439-b4da-37dc53e388c1","html_url":"https://github.com/zewenn/qova-template","commit_stats":null,"previous_names":["zewenn/ts-std-lib","zewenn/qova-template"],"tags_count":3,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zewenn%2Fqova-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zewenn%2Fqova-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zewenn%2Fqova-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zewenn%2Fqova-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zewenn","download_url":"https://codeload.github.com/zewenn/qova-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243646540,"owners_count":20324583,"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-10-01T15:19:51.429Z","updated_at":"2025-03-14T20:44:30.773Z","avatar_url":"https://github.com/zewenn.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"./.README/qova%20header.png\" width=\"300px\"\u003e\n\u003c/p\u003e\n\u003ch1 align=\"center\"\u003eThe Qova Template\u003c/h1\u003e\n\u003cp align=\"center\"\u003eGolang Error Handling | Automatic Imports | Easy to use tsx\u003c/p\u003e\n\n## About\nThe Qova Template provides an easy to use - go-like - standard library ([`__stdlib__`](./__stdlib__/)) and builder program ([`run.exe`](./run.exe)) built with esbuild in go. \n\n## The Builder\nThe builder program requires specific flags to perform actions:\n1. ### Build\n    \u003e **IMPORTANT: YOU NEED TO NAME THE ENTRYPOINT OF THE ./source DIRECTORY AS \u003cbr \u003e`[main] \u003cname\u003e.ts(x)`**\n\n\n    You need to specify which parts of your project you want to build/rebuild. \n\n    This can be done by using the `-b:src` (for the [`./source`](./source/) directory) and the `-b:app` (for the [`./app`](./app/) directory) flags.\n    ```powershell\n    ./run -b:src -b:app\n    ```\n\n2. ### Include\n    You might want to import some `.ts` or `.tsx` scripts automatically; Qova's got you covered!\n\n    In the `[main] \u003cname\u003e.ts(x)` file you can auto import scripts like this:\n    ```tsx\n    /** @field ./mydir */\n    /** @close ./mydir */\n\n    // Rest of the script here\n    ```\n    Between the `/** @field ./mydir */` start tag and the `/** @close ./mydir */` end tag every script will be imported from the `./mydir` directory.\n\n    To include the scripts run the builder with the flag `-i`:\n    ```powershell\n    ./run -i\n    ```\n\n3. ### Run\n    If you want to automatically run the built files, you can use the `-r` flag:\n    ```powershell\n    ./run -r\n    ```\n    If a target wasn't specified it will be set to `electron`.\n\n4. ### Target\n    You can set a taget for the builder with the `-r` flag:\n    ```powershell\n    ./run -r:electron -r:node -r:bun\n    ```\n    - `-r:el` / `-r:electron`: `target = \"electron\"`\n    - `-r:n` / `-r:node`: `target = \"node\"`\n    - `-r:b` / `-r:bun`: `target = \"bun\"`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzewenn%2Fqova-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzewenn%2Fqova-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzewenn%2Fqova-template/lists"}