{"id":20671299,"url":"https://github.com/allnulled/pio","last_synced_at":"2026-02-14T19:02:41.571Z","repository":{"id":50050535,"uuid":"213609738","full_name":"allnulled/pio","owner":"allnulled","description":"Manage a small JSON database with a small scripting language.","archived":false,"fork":false,"pushed_at":"2021-06-05T12:48:57.000Z","size":2021,"stargazers_count":0,"open_issues_count":11,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-26T07:27:16.428Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://allnulled.github.io/pio","language":"Vue","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/allnulled.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}},"created_at":"2019-10-08T10:08:20.000Z","updated_at":"2019-10-12T10:15:19.000Z","dependencies_parsed_at":"2022-09-24T14:12:48.390Z","dependency_job_id":null,"html_url":"https://github.com/allnulled/pio","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/allnulled/pio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allnulled%2Fpio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allnulled%2Fpio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allnulled%2Fpio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allnulled%2Fpio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/allnulled","download_url":"https://codeload.github.com/allnulled/pio/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allnulled%2Fpio/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29452590,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T15:52:44.973Z","status":"ssl_error","status_checked_at":"2026-02-14T15:52:11.208Z","response_time":53,"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":[],"created_at":"2024-11-16T20:26:16.035Z","updated_at":"2026-02-14T19:02:41.555Z","avatar_url":"https://github.com/allnulled.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pio\n\nManage a small JSON database with a small scripting language.\n\n## Get started\n\n### Open Pio Online Editor\n\nYou can find it here: [https://allnulled.github.io/pio](https://allnulled.github.io/pio)\n\n### Test the syntax\n\nEvery command is made with the following syntax:\n\n```\n{operation}{store}[:{item}]?[/{property}:{value}]*\n```\n\nThe available operations are:\n\n- `+`: adds an item to the store.\n- `-`: removes an items from the store.\n- `!`: edits an items from the store.\n- `?`: selects an item [or some of them] from the store.\n- `:`: execute some command from the store.\n\nTo create a store, simply add a new item in it.\n\nTo run the commands, you can click the 'play' button of the editor, or hit [CONTROL] + [ENTER] in your keyboard.\n\n\n## Examples\n\nHere we have some examples of this scripting language.\n\n#### Example 1. Query all the stores:\n\n```\n?*\n```\n\n#### Example 2. Create a new store:\n\nWe need to insert one item in the store to do this.\n\n#### Example 3. Insert a new item in a store:\n\n```\n+mystore:myitem\n```\n\n#### Example 4. Query one store:\n\n```\n?mystore\n```\n\n#### Example 5. Remove one item from the store:\n\n```\n-mystore:myitem\n```\n\n#### Example 6. Edit an item from the store (the item must exist):\n\n```\n!mystore:myitem/property:value\n```\n\n#### Example 7. Query a store grouping by some property:\n\n```\n+mystore:item1/date:2019-05-08\n+mystore:item2/date:2019-05-07\n+mystore:item3/date:2019-05-06\n?mystore/:group:date\n```\n\nNote that currently the items are sorted automatically, from less to more.\n\n#### Example 8. Create a new command:\n\n```\n+commands:hi/script:alert(\"HI USER!\")\n```\n\n#### Example 9. Execute command:\n\n```\n:hi\n```\n\n#### Example 10. Using shortcuts and dateformatting in attributes:\n\n```\n+tarea:veterinario/fecha:$martes 18 00\n+tarea:itv/fecha:$lunes 15 00\n+tarea:clases de flamenco/fecha:$miercoles 18 00\n?tarea\n```\n\nAs you can see, it converted '$martes', '$miercoles' and '$lunes' into dates.\n\nIn a near future, these properties will be customizable.\n\nParallelly, the result of the attribute is different from what it is set.\n\nThis is because the passed parameter fit the dateformat regular expression:\n\n`/^([0-9][0-9][0-9][0-9]) ([0-9][0-9]?) ([0-9][0-9]?) ([0-9][0-9]?) ([0-9][0-9]?)$/`\n\nWhich stands for:\n\n`YYYY MM? DD? HH? mm?`\n\nBasically, this format is for the user to do it easierly from mobile devices, as the whole language.\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallnulled%2Fpio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fallnulled%2Fpio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallnulled%2Fpio/lists"}