{"id":20663987,"url":"https://github.com/universaldatatool/localfileproxy","last_synced_at":"2026-06-05T05:31:43.996Z","repository":{"id":42743129,"uuid":"260825133","full_name":"UniversalDataTool/localfileproxy","owner":"UniversalDataTool","description":"Proxy local files to the web programatically.","archived":false,"fork":false,"pushed_at":"2022-12-11T14:46:59.000Z","size":753,"stargazers_count":0,"open_issues_count":9,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-29T18:40:15.875Z","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/UniversalDataTool.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":"2020-05-03T04:03:35.000Z","updated_at":"2020-08-06T21:33:39.000Z","dependencies_parsed_at":"2023-01-27T01:31:21.980Z","dependency_job_id":null,"html_url":"https://github.com/UniversalDataTool/localfileproxy","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/UniversalDataTool%2Flocalfileproxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UniversalDataTool%2Flocalfileproxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UniversalDataTool%2Flocalfileproxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UniversalDataTool%2Flocalfileproxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UniversalDataTool","download_url":"https://codeload.github.com/UniversalDataTool/localfileproxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242825903,"owners_count":20191482,"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-16T19:21:28.436Z","updated_at":"2025-12-16T04:30:42.803Z","avatar_url":"https://github.com/UniversalDataTool.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# localfileproxy\n\nProxy local files to an online url.\n\nVery useful in web services that uses files on a user's computer but don't want\nto require the user to upload anything.\n\n- supports many clients\n- simple api for programmatic usage\n- supports client machines that don't have exposed ports (e.g. a laptop)\n\n## Web Server, Client Service, Browser Client\n\nIt can be a bit confusing to follow how this works because there are multiple\nclients involved. Here are the three roles:\n\n- **web server (Broker)**: AKA the localfileproxy server, this is a server on the\n  internet that has an exposed port\n- **client service (Service)**: The client application that has access to the files\n- **browser client (Requester)**: This is a service that has URLs to the web server, but\n  because it's a browser (or a different computer than the local client) it\n  can't access the files directly. It will request the files from the web server.\n\n## Technical Details\n\nAll of this is facilitated via a ZeroMQ Majordomo-like pattern. Roughly, this is\nwhat happens...\n\n1. Start the Broker (the localfileproxy server on a Web Server)\n2. Client Service (Service) registers itself itself with the Web Server (Broker),\n   establishing a socket connection\n3. Browser Client (Requester) makes request to Web Server (Broker)\n4. Web Server (Broker) sends a request to the Client Service (Service) over the socket\n5. Client Service (Service) answers the socket request with data from a file\n6. Web Server (Broker) receives data from Client Service (Service), and passes it to the Browser\n   Client (Requester)\n\nThe Broker uses a ZeroMQ Router. The Service uses a ZeroMQ Dealer.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funiversaldatatool%2Flocalfileproxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funiversaldatatool%2Flocalfileproxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funiversaldatatool%2Flocalfileproxy/lists"}