{"id":20372616,"url":"https://github.com/txchen/lite-exp","last_synced_at":"2025-06-12T17:09:24.290Z","repository":{"id":72708642,"uuid":"48820921","full_name":"txchen/lite-exp","owner":"txchen","description":"An app that let you download files from android browser.","archived":false,"fork":false,"pushed_at":"2016-03-05T07:42:46.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-27T11:02:36.634Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/txchen.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}},"created_at":"2015-12-30T21:54:02.000Z","updated_at":"2016-03-02T07:30:22.000Z","dependencies_parsed_at":"2023-03-03T00:45:35.449Z","dependency_job_id":null,"html_url":"https://github.com/txchen/lite-exp","commit_stats":{"total_commits":15,"total_committers":1,"mean_commits":15.0,"dds":0.0,"last_synced_commit":"c1be3466f810861a9c6505efb87d3c2063ffc5a1"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/txchen%2Flite-exp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/txchen%2Flite-exp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/txchen%2Flite-exp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/txchen%2Flite-exp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/txchen","download_url":"https://codeload.github.com/txchen/lite-exp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/txchen%2Flite-exp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":258294805,"owners_count":22679120,"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-15T01:14:05.099Z","updated_at":"2025-06-12T17:09:24.253Z","avatar_url":"https://github.com/txchen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lite-exp\nAn app that let you download files from android browser.\n\nAndroid stock browser cannot download files from sites protected by basic auth, it has an ancient bug: https://code.google.com/p/android/issues/detail?id=1353 Can you just believe it?\n\nAlthough using Chrome or Firefox can workaround this issue, other browser like dolphin still cannot download files that are protected by basic auth.\n\nThis simple app just does one thing: list the files and let user download, files can be protected by form authentication, and the index template is better than nginx's.\n\n## How to deploy\n\nFirstly, install:\n\n```bash\n$ npm install lite-exp -g\n```\n\nThen command `lite-exp` will be available.\n\nThen we need a configuration file, example:\n\n```json\n{\n  \"rootDir\": \"/\",\n  \"host\": \"0.0.0.0\",\n  \"port\": 12345,\n  \"user\": \"d033e22ae348aeb5660fc2140aec35850c4da997\",\n  \"pass\": \"d033e22ae348aeb5660fc2140aec35850c4da997\"\n}\n```\n\nHost and port are optional, default values are `127.0.0.1` and `22222`. For username and password, enter the sha1 hash of the original values.\n\nNow we can run it:\n\n```bash\n$ lite-exp -c config.json\n```\n\n## Embed credential in url\n\nUsername and password can be passed through query like:\n\n```\nhttp://mysexydomain.com/folder1/file2?u=xxx\u0026p=yyy\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftxchen%2Flite-exp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftxchen%2Flite-exp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftxchen%2Flite-exp/lists"}