{"id":19142242,"url":"https://github.com/eldoy/waveorb-generate","last_synced_at":"2026-01-30T01:35:36.134Z","repository":{"id":139869149,"uuid":"239486232","full_name":"eldoy/waveorb-generate","owner":"eldoy","description":"Generator for waveorb filters, actions, plugins, routes and templates.","archived":false,"fork":false,"pushed_at":"2024-09-22T11:58:11.000Z","size":1176,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T00:45:30.267Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/eldoy.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-10T10:36:05.000Z","updated_at":"2024-09-22T11:58:13.000Z","dependencies_parsed_at":"2024-09-13T06:20:06.242Z","dependency_job_id":"258bdb18-ca6f-44be-a981-939326d4bcd2","html_url":"https://github.com/eldoy/waveorb-generate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eldoy%2Fwaveorb-generate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eldoy%2Fwaveorb-generate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eldoy%2Fwaveorb-generate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eldoy%2Fwaveorb-generate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eldoy","download_url":"https://codeload.github.com/eldoy/waveorb-generate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249685173,"owners_count":21310558,"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-09T07:26:28.825Z","updated_at":"2026-01-30T01:35:31.115Z","avatar_url":"https://github.com/eldoy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Waveorb generate\n\nThis package is part of the [Waveorb Javascript Jamstack web app development framework.](https://waveorb.com)\n\nIt is used to generate pages and actions for your web app. The files are meant as a starting point for further development.\n\nDocumentation for the generator is [found here.](https://waveorb.com/doc/command-line#generate)\n\n### Usage\n\nTo generate both pages and actions for a model, use this command:\n`waveorb generate model name`\n\n* input - name:string\n* input - mail:email\n* input - age:number (Last part is type)\n* textarea - bio:text\n* checkbox - hobby:check.digging.coding.boxing\n* radio - type:radio.red.strong.blue\n* select - meal:select.noodle.meat.soup\n\nMinimal validations will be added to actions.\n\nExample:\n```sh\nwaveorb generate model project/task name:select.hei.deg hobby:radio.hunting.barbecue affiliation:check.the_party.freedom\n```\n\nThe `.`-notation works for select, radio and checkboxes and are the different options.\n\nTo generate only pages: `waveorb generate pages name`\n\nTo generate only actions: `waveorb generate actions name`\n\nYou can rerun the command to overwrite your files.\n\n### Nested resources\n\nNesting is supported by using name with slash:\n\n`waveorb generate model parent/name`\n`waveorb generate model grandparent/parent/name`\n\nIt can be infinitely nested.\n\nThis adds\n- parent ids to pages\n  - in form\n  - in url\n  - in links\n\n### Generate from file\n\nAs an example, add a file called `project.yml` to the `models` directory:\n```yml\nname: user/project\nfields:\n  name: string\n  mail: email\n  age: number\n  bio: text\n  hobby: check.digging.coding.boxing\n  type: radio.red.strong.blue\n  meal: select.noodle.meat.soup\n```\n\nGenerate from file:\n`waveorb generate file models/project.yml`\n\nGenerate all in `models` dir:\n`waveorb generate file models`\n\nMIT Licensed. Enjoy!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feldoy%2Fwaveorb-generate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feldoy%2Fwaveorb-generate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feldoy%2Fwaveorb-generate/lists"}