{"id":19218733,"url":"https://github.com/fadilxcoder/php-desktop-app","last_synced_at":"2025-02-23T09:14:50.356Z","repository":{"id":86245625,"uuid":"374071245","full_name":"fadilxcoder/php-desktop-app","owner":"fadilxcoder","description":"PHP Desktop Applications - Server CI [https://github.com/fadilxcoder/ci-jwt.git]","archived":false,"fork":false,"pushed_at":"2022-09-05T17:08:55.000Z","size":513,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-04T19:23:36.577Z","etag":null,"topics":["database","desktop-application","notes","php","poc"],"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/fadilxcoder.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":"2021-06-05T09:19:47.000Z","updated_at":"2022-09-04T20:18:25.000Z","dependencies_parsed_at":"2023-03-08T10:00:36.384Z","dependency_job_id":null,"html_url":"https://github.com/fadilxcoder/php-desktop-app","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/fadilxcoder%2Fphp-desktop-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fadilxcoder%2Fphp-desktop-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fadilxcoder%2Fphp-desktop-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fadilxcoder%2Fphp-desktop-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fadilxcoder","download_url":"https://codeload.github.com/fadilxcoder/php-desktop-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240292395,"owners_count":19778311,"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":["database","desktop-application","notes","php","poc"],"created_at":"2024-11-09T14:27:55.027Z","updated_at":"2025-02-23T09:14:50.294Z","avatar_url":"https://github.com/fadilxcoder.png","language":"JavaScript","readme":"# NOTES\n\n- Client / Server (Client need to be authorized to be to request API)\n- URL : http://127.0.0.1:56729/\n- Repo cloning, packages installation, compiling assets - check `bash/setup.sh`\n- Compile assets : `npm run build`, `npm run build \u0026\u003e /dev/null` for no display, `npm run watch` for compiling in *watch* mode\n- **Request JWT** - Request JWT from server / Sending `true` , Getting encoded JWT `eyJ0eXAiOiJ......`\n- **Send JWT** - Request Authorization Bearer from server / Sending jwt sign (anonymous user object \u0026 public key), Getting API `Bearer` - jwt encode (authenticated user \u0026 private key)\n- **API Bearer JWT** - Use client bearer token -\u003e JWT server -\u003e API server -\u003e JWT server -\u003e Client\n\n# APP\n\n- https://github.com/cztomczak/phpdesktop/wiki\n- https://github.com/cztomczak/phpdesktop/wiki/Settings\n- https://github.com/cztomczak/phpdesktop/wiki/Chrome-settings\n\n# Configuration `settings.json`\n\n- `web_server` \u003e `listen_on` : port should be in between **49152–65535**\n- `chrome` \u003e `external_navigation` : **false** to open in OS default browser\n\n# Resources\n\n- **jwt-encode** - `npm i jwt-encode` - https://www.npmjs.com/package/jwt-encode\n- **jwt-decode** - https://www.npmjs.com/package/jwt-decode\n- Online RSA Key Generator - http://travistidwell.com/jsencrypt/demo/index.html\n- **consola** - `npm i consola` - https://www.npmjs.com/package/consola\n- - `consola.success('This is a success message');`\n- - `consola.info('Give me some Info');`\n- - `consola.error('I am not good because I am an error');`\n- - `consola.silent('I am not going to be silent');`\n- - `consola.fatal('I am fatal');`\n- - `consola.warn('Warning consola ahead');`\n- - `consola.log('logging out this message');`\n- - `consola.ready('I am ready to log');`\n- - `consola.start('lets start using consola');`\n\n# Repo\n\n- **master**\n\n\u003cimg src=\"./img/master.PNG\"/\u003e\n\n---\n\n- **develop** [https://github.com/fadilxcoder/php-desktop-app/tree/develop]\n\n\u003cimg src=\"./img/develop.PNG\"/\u003e\n\n---\n\n- **jspreadsheet** [https://github.com/fadilxcoder/php-desktop-app/tree/jspreadsheet]\n\n\u003cimg src=\"./img/jspreadsheet.PNG\"/\u003e","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffadilxcoder%2Fphp-desktop-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffadilxcoder%2Fphp-desktop-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffadilxcoder%2Fphp-desktop-app/lists"}