{"id":13843861,"url":"https://github.com/0oVicero0/OneList","last_synced_at":"2025-07-11T20:30:47.074Z","repository":{"id":220054430,"uuid":"172256245","full_name":"0oVicero0/OneList","owner":"0oVicero0","description":"A simple directory index for OneDrive","archived":false,"fork":false,"pushed_at":"2023-05-01T20:32:46.000Z","size":78,"stargazers_count":282,"open_issues_count":10,"forks_count":118,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-21T15:39:36.422Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/0oVicero0.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}},"created_at":"2019-02-23T19:43:19.000Z","updated_at":"2024-11-11T02:48:43.000Z","dependencies_parsed_at":"2024-01-31T03:57:13.259Z","dependency_job_id":"1114cd39-b4a7-49d7-88d8-53d0da5956e5","html_url":"https://github.com/0oVicero0/OneList","commit_stats":null,"previous_names":["0ovicero0/onelist"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/0oVicero0/OneList","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0oVicero0%2FOneList","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0oVicero0%2FOneList/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0oVicero0%2FOneList/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0oVicero0%2FOneList/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0oVicero0","download_url":"https://codeload.github.com/0oVicero0/OneList/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0oVicero0%2FOneList/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264892028,"owners_count":23679208,"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-08-04T17:02:29.608Z","updated_at":"2025-07-11T20:30:46.868Z","avatar_url":"https://github.com/0oVicero0.png","language":"Python","funding_links":[],"categories":["Python","Python (1887)"],"sub_categories":[],"readme":"# OneList\n\n## Installation\n\n```bash\n# apt install python3-pip git redis-server\n\ngit clone https://github.com/0oVicero0/OneList.git\ncd OneList\n\npip3 install -r requirements.txt\n# Get refresh_token --\u003e Setup config\n# The \u003crefresh_token\u003e in config.json does not need \"\u003c\" and \"\u003e\".\n\ngunicorn app:app -b 127.0.0.1:5000 -D\n```\n\n## Configuration\n\nCreate a config file named `config.json`\n\n```json\n{\n  \"token\": \"\u003crefresh_token\u003e\",\n  \"location_path\": \"/\",\n  \"start_directory\": \"/\",\n  \"threads\": 3,\n  \"diff_seconds\": 480,\n  \"refresh_seconds\": 720,\n  \"metadata_cached_seconds\": 768,\n  \"structure_cached_seconds\": 840\n}\n```\n## Get refresh_token\n\n### Method 1 (Auto, Recommend): \n#### Get refresh_token\n\n\u003e https://login.microsoftonline.com/common/oauth2/authorize?response_type=code\u0026client_id=ea2b36f6-b8ad-40be-bc0f-e5e4a4a7d4fa\u0026redirect_uri=https://api.moeclub.org/onedrive-login\n\n### Method 2 (Manual): \n\n#### Get auth_token in url\n\n\u003e https://login.microsoftonline.com/common/oauth2/authorize?response_type=code\u0026client_id=ea2b36f6-b8ad-40be-bc0f-e5e4a4a7d4fa\u0026redirect_uri=http://localhost/onedrive-login\n\n#### Get refresh_token\n\n```bash\ncode=\"\u003cauth_token\u003e\"\nwget --no-check-certificate --post-data=\"client_id=ea2b36f6-b8ad-40be-bc0f-e5e4a4a7d4fa\u0026client_secret=h27zG8pr8BNsLU0JbBh5AOznNS5Of5Y540l/koc7048=\u0026grant_type=authorization_code\u0026resource=https://api.office.com/discovery/\u0026redirect_uri=http://localhost/onedrive-login\u0026code=$code\" 'https://login.microsoftonline.com/common/oauth2/token' -qO-\n```\n\n## Demo\n\u003e https://moeclub.org/onedrive\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0oVicero0%2FOneList","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0oVicero0%2FOneList","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0oVicero0%2FOneList/lists"}