{"id":17204022,"url":"https://github.com/ivanceras/diwata_cli","last_synced_at":"2025-03-25T09:42:44.957Z","repository":{"id":76197719,"uuid":"131844543","full_name":"ivanceras/diwata_cli","owner":"ivanceras","description":null,"archived":false,"fork":false,"pushed_at":"2018-07-23T18:58:38.000Z","size":6024,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-14T00:47:21.999Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/ivanceras.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}},"created_at":"2018-05-02T12:02:03.000Z","updated_at":"2018-07-23T18:58:40.000Z","dependencies_parsed_at":"2023-02-27T13:30:49.269Z","dependency_job_id":null,"html_url":"https://github.com/ivanceras/diwata_cli","commit_stats":{"total_commits":18,"total_committers":1,"mean_commits":18.0,"dds":0.0,"last_synced_commit":"84d44c5f7b3a177145b260040fe8eadcee1f2171"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanceras%2Fdiwata_cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanceras%2Fdiwata_cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanceras%2Fdiwata_cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanceras%2Fdiwata_cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ivanceras","download_url":"https://codeload.github.com/ivanceras/diwata_cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245207558,"owners_count":20577700,"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-15T02:20:18.650Z","updated_at":"2025-03-25T09:42:44.923Z","avatar_url":"https://github.com/ivanceras.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Diwata CLI\nThis repo is part of [diwata](https://github.com/ivanceras/diwata) project.\n\nThis contains a precompiled static html files which you can compile yourself\nrefer to the main diwata project.\n\n\n## Quickstart\nIf you have an existing postgresql database, you can quickly open it using the app by:\n```sh\ncargo install diwata_cli\ndiwata_cli --db-url postgres://user:passwd@localhost:5432/dbname -p 8000 --open\n```\nYou can also open sqlite database.\nDownload this [sqlite sample db](https://github.com/ivanceras/sakila/raw/master/sqlite-sakila-db/sakila.db)\nYou can then open it by issuing the command\n```\ndiwata_cli --db-url sqlite://sakila.db  -p 80001 --open\n```\n\n```\nUSAGE:\n    diwata_cli [OPTIONS]\n\nFLAGS:\n    -h, --help       Prints help information\n    -V, --version    Prints version information\n\nOPTIONS:\n    -a, --address \u003caddress\u003e    The address the server would listen, default is 0.0.0.0 [default: 0.0.0.0]\n    -u, --db-url \u003cdb_url\u003e      Database url to connect to, when set all data is exposed without login needed in the\n                               client side\n    -p, --port \u003cport\u003e          What port this server would listen to, default is 8000 [default: 8000]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivanceras%2Fdiwata_cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fivanceras%2Fdiwata_cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivanceras%2Fdiwata_cli/lists"}