{"id":16130191,"url":"https://github.com/lambdacasserole/sync-or-simple","last_synced_at":"2025-04-06T14:14:53.065Z","repository":{"id":75386029,"uuid":"112945232","full_name":"lambdacasserole/sync-or-simple","owner":"lambdacasserole","description":"A simple background sync from HTML form to server-side file.","archived":false,"fork":false,"pushed_at":"2017-12-03T16:46:15.000Z","size":67,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-12T20:17:21.765Z","etag":null,"topics":["ajax","form","javascript","security","sync"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lambdacasserole.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2017-12-03T16:45:13.000Z","updated_at":"2017-12-03T16:47:01.000Z","dependencies_parsed_at":"2023-06-06T08:45:27.828Z","dependency_job_id":null,"html_url":"https://github.com/lambdacasserole/sync-or-simple","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/lambdacasserole%2Fsync-or-simple","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambdacasserole%2Fsync-or-simple/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambdacasserole%2Fsync-or-simple/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambdacasserole%2Fsync-or-simple/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lambdacasserole","download_url":"https://codeload.github.com/lambdacasserole/sync-or-simple/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247492543,"owners_count":20947545,"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":["ajax","form","javascript","security","sync"],"created_at":"2024-10-09T22:14:57.323Z","updated_at":"2025-04-06T14:14:53.048Z","avatar_url":"https://github.com/lambdacasserole.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sync or Simple\nThis is a proof-of-concept page designed to illustrate a that a user need not click the submit button on a form for\ninformation from the page to be sent to the server.\n\n## How to Use\nPHP will need to be installed on your machine and in your PATH. Open a terminal in the root directory (the folder with \nthis file in it) and run:\n\n```\nphp -S localhost:8080\n```\n\nThen navigate to `http://localhost:8080` in your web browser. Open up the `http://localhost:8080/spy.html` page in\nanother window. Typing in to the username and password fields on the form in the first window will cause text to\nappear in the second.\n\n## How It Works\nIn the background, every half a second, a script is sending the contents of the username and password fields to the\nserver (which is in this case running on the same machine, but needn't be) which is capturing these values.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flambdacasserole%2Fsync-or-simple","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flambdacasserole%2Fsync-or-simple","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flambdacasserole%2Fsync-or-simple/lists"}