{"id":25383048,"url":"https://github.com/mislam/advanced-uploader","last_synced_at":"2025-04-09T14:16:02.844Z","repository":{"id":18440360,"uuid":"21629223","full_name":"mislam/advanced-uploader","owner":"mislam","description":"Cross browser ajax file uploader with progress bar (supports large files)","archived":false,"fork":false,"pushed_at":"2014-07-08T20:56:25.000Z","size":192,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-15T07:53:17.920Z","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/mislam.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":"2014-07-08T20:56:11.000Z","updated_at":"2014-09-25T02:20:11.000Z","dependencies_parsed_at":"2022-09-16T06:00:52.128Z","dependency_job_id":null,"html_url":"https://github.com/mislam/advanced-uploader","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/mislam%2Fadvanced-uploader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mislam%2Fadvanced-uploader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mislam%2Fadvanced-uploader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mislam%2Fadvanced-uploader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mislam","download_url":"https://codeload.github.com/mislam/advanced-uploader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248054194,"owners_count":21039952,"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":"2025-02-15T07:53:18.986Z","updated_at":"2025-04-09T14:16:02.808Z","avatar_url":"https://github.com/mislam.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Advanced Uploader\n\nUploading a file via XMLHttpRequest with a real a progress bar is sometimes very painful and laborious job specially while facing cross-browser issues. On top of that, if someone is uploading a huge video file (i.e. 1GB) it causes the browser choke to death.\n\nKeeping all these in mind, I decided to create an advanced uploader that will overcome these issues by:\n\n- Instead of uploading the whole file at a time, send small pieces or blob.\n- For careless dinosaur browsers (i.e. Internet Explorer 9 and below), use Flash transport to progressively upload chunks of bytes.\n- On server side, assemble the file by placing the chunks together.\n\n\n## Benefits\n\n- Cross-browser compatibility.\n- Rescue the browser from choking/freezing.\n- Requires much less memory on server-side.\n- Real progress bar.\n\n\n## Supported Browsers\n\n- Chrome\n- Firefox\n- Safari\n- Opera\n- Internet Explorer 9 and above\n\n\n## Server Side Processing\n\nAlthough the server-side script is written in PHP, it can be easily transported into other languages.\n\nFor simplicity's sake, I will show how to run the PHP code as a stand-alone server. If you're running PHP 5.4 and above, you will be able to run PHP's built in HTTP server with the following command:\n\n\tphp -S localhost:8080 -t .\n\nNow, browse to `http://localhost:8080/` to see the uploader in action.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmislam%2Fadvanced-uploader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmislam%2Fadvanced-uploader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmislam%2Fadvanced-uploader/lists"}