{"id":25882011,"url":"https://github.com/johron/pues","last_synced_at":"2026-05-08T22:33:40.336Z","repository":{"id":253970514,"uuid":"844689145","full_name":"johron/pues","owner":"johron","description":"Initialize and manage projects easily with json blueprints","archived":false,"fork":false,"pushed_at":"2024-09-14T10:16:25.000Z","size":139,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-02T15:56:49.322Z","etag":null,"topics":["json","lua","luarocks","project-manager"],"latest_commit_sha":null,"homepage":"https://luarocks.org/modules/johron/pues","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johron.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2024-08-19T19:16:53.000Z","updated_at":"2024-09-21T21:42:50.000Z","dependencies_parsed_at":"2024-09-12T12:04:03.387Z","dependency_job_id":null,"html_url":"https://github.com/johron/pues","commit_stats":null,"previous_names":["johron/pues"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/johron/pues","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johron%2Fpues","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johron%2Fpues/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johron%2Fpues/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johron%2Fpues/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johron","download_url":"https://codeload.github.com/johron/pues/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johron%2Fpues/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32800223,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["json","lua","luarocks","project-manager"],"created_at":"2025-03-02T15:56:52.520Z","updated_at":"2026-05-08T22:33:40.316Z","avatar_url":"https://github.com/johron.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pues\n- Initialize and manage projects easily with json blueprints\n\n## Install\n- see [dependencies](#dependencies) before installation\n```bash\nluarocks install pues\npues --version\n```\n\n# Todo\n- [ ] I de auto genererte readme-ene i pues blir kommandene skrevet som 'print' istedenfor print()\n- [ ] Legg til melding i readme at dette er generert med pues og at for å bruke denne konfigurasjonen må en bruke pues\n\n## Blueprint documentation\n- `version`: The version this blueprint was made for\n- `source`?: Name of zip archive located in '~/.config/pues/archives/' without extention\n- `readme`?: If a readme should be included\n    - default = false\n- `managed`?: If the project should be managed by pues\n    - default = true\n- `build`?: Table of shell commands (This can have \"%{arg}\" in it to tunnel arguments into the pues command)\n- `run`?: Table of shell commands   (This can have \"%{arg}\" in it to tunnel arguments into the pues command)\n- `marked`?: Files where '%{name}' should be replaced with project name\n- `dependencies`?: Project dependencies\n    - Table with name as the package manager name\n        - `command`: The command to install with the package manager\n        - `packages`: Table with the packages to be installed\n\n## Example Blueprint\n```json\n{\n    \"version\": \"0.0.1\",\n    \"source\": \"example\",\n    \"readme\": true,\n    \"managed\": true,\n    \"build\": [\n        \"tsc src/main.ts\"\n    ],\n    \"run\": [\n        \"ts-node src/main.ts %{arg}\"\n    ],\n    \"marked\": [\n        \"package.json\"\n    ],\n    \"dependencies\": {\n        \"npm\": {\n            \"command\": \"npm install\",\n            \"packages\": [\n                \"example@2.1.5\",\n                \"package\"\n            ]\n        },\n        \"luarocks\": {\n            \"command\": \"luarocks install\",\n            \"packages\": [\n                \"module 1.2-3\"\n            ]\n        }\n    }\n}\n```\n\n## Dependencies\n- zzip.h, can be installed with 'apt install zziplib-dev', 'dnf install zziplib-devel'\n- for rest see latest rockspec in [rockspecs](./rockspecs/), these are installed automatically when using luarocks\n\n## Building with luarocks\n```bash\nluarocks make rockspecs/pues-\u003cversion\u003e.rockspec\n```\n\n## Testing\n- Using the docker and the provided [Dockerfile](./Dockerfile) is recommended when testing\n\n### With luarocks (recommended)\n```bash\nluarocks make rockspecs/pues-\u003cversion\u003e.rockspec\npues --version\n```\n\n### Without luarocks\n```bash\nlua pues/main.lua --version\n```\n\n## License\n- This source code is subject to the terms of the GNU General Public License, version 3. [License](./LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohron%2Fpues","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohron%2Fpues","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohron%2Fpues/lists"}