{"id":23101402,"url":"https://github.com/nini22p/omp","last_synced_at":"2025-04-12T19:48:17.247Z","repository":{"id":172914615,"uuid":"649241121","full_name":"nini22P/omp","owner":"nini22P","description":"OMP - OneDrive Media Player on the web / 网页端 OneDrive 媒体播放器","archived":false,"fork":false,"pushed_at":"2025-01-26T11:02:31.000Z","size":5253,"stargazers_count":319,"open_issues_count":2,"forks_count":34,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T19:48:12.204Z","etag":null,"topics":["cloud-player","media-player","music-player","onedrive","player","progressive-web-app","pwa","react","typescript","web","web-media-player","web-music-player","web-player"],"latest_commit_sha":null,"homepage":"https://nini22p.github.io/omp/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nini22P.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":"2023-06-04T08:34:22.000Z","updated_at":"2025-04-11T12:57:10.000Z","dependencies_parsed_at":"2024-02-05T04:26:22.864Z","dependency_job_id":"e1c850d2-572f-4c78-90a4-8344e94f06af","html_url":"https://github.com/nini22P/omp","commit_stats":null,"previous_names":["nini22p/omp"],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nini22P%2Fomp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nini22P%2Fomp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nini22P%2Fomp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nini22P%2Fomp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nini22P","download_url":"https://codeload.github.com/nini22P/omp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248625498,"owners_count":21135513,"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":["cloud-player","media-player","music-player","onedrive","player","progressive-web-app","pwa","react","typescript","web","web-media-player","web-music-player","web-player"],"created_at":"2024-12-16T23:51:42.986Z","updated_at":"2025-04-12T19:48:17.220Z","avatar_url":"https://github.com/nini22P.png","language":"TypeScript","readme":"\u003cimg height=\"100px\" width=\"100px\" alt=\"logo\" src=\"https://github.com/nini22P/omp/assets/60903333/e2c099c6-15ad-46f1-a716-cb440b06c13e\"/\u003e\n\n# OMP - OneDrive Media Player\n\n![ci](https://github.com/nini22P/omp/actions/workflows/ci.yml/badge.svg)\n\u003ca href=\"https://afdian.com/a/nini22P\"\u003e\u003cimg alt=\"Afdaian\" style=\"height: 30px;\" src=\"https://pic1.afdiancdn.com/static/img/welcome/button-sponsorme.png\"\u003e\u003c/a\u003e\n[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/nini22p)\n\nEnglish | [中文](./readme_cn.md)\n\n**[Now Playing](https://nini22p.github.io/omp/)**\n\n## Features\n\n- [x] OneDrive Files View\n- [x] Music Playback\n- [x] Music Lyrics\n- [x] Video Playback\n- [x] Play Queue\n- [x] Dark Mode\n- [x] Media Session\n- [x] PWA\n- [x] History Sync\n- [x] Playlists Sync\n- [x] Support VNET\n\n## Screenshots\n\n![Audio light](./public/screenshots/audio-light.webp)\n![Audio dark](./public/screenshots/audio-dark.webp)\n\n## FAQ\n\n### Where is my data stored?\n\nAll of OMP data is stored in the `Apps / OMP` folder in your OneDrive. Where `history.json` is the history and `playlists.json` is the playlists. If you have lost your data, you can restore an older version by visiting the OneDrive web version.\n\n## Running and Build\n\n### App registrations\n\n1. Go to \u003chttps://portal.azure.com/\u003e\n2. Into `App registrations` register an application\n3. `Supported account types` select the third item (`Accounts in any organizational directory and personal Microsoft accounts`)\n4. `Redirect URI` select `SPA`, url enter \u003chttp://localhost:8760\u003e or the domain of your deploy\n5. `API Permissions` add `User.Read` `Files.Read` `Files.ReadWrite.AppFolder`\n\n### Run dev server\n\nAdd `.env.development` in project path\n\n```env\nONEDRIVE_AUTH=https://login.microsoftonline.com/common #VNET(https://login.partner.microsoftonline.cn/common)\nONEDRIVE_GME=https://graph.microsoft.com #VNET(https://microsoftgraph.chinacloudapi.cn)\nCLIENT_ID=\u003cclientId\u003e\nREDIRECT_URI=http://localhost:8760\n```\n\nRun `npm i \u0026\u0026 npm run dev`\n\n### Local build\n\nAdd `.env` in project path\n\n```env\nONEDRIVE_AUTH=https://login.microsoftonline.com/common #VNET(https://login.partner.microsoftonline.cn/common)\nONEDRIVE_GME=https://graph.microsoft.com #VNET(https://microsoftgraph.chinacloudapi.cn)\nCLIENT_ID=\u003cclientId\u003e\nREDIRECT_URI=\u003credirectUri\u003e\n```\n\nRun `npm i \u0026\u0026 npm run build`\n\n## Donations\n\nThis project is free, if you think it works, feel free to donate to support it\n\n- [AFDIAN](https://afdian.com/a/nini22P)\n- [Ko-fi](https://ko-fi.com/nini22p)\n\n## License\n\n[AGPL 3.0](https://github.com/nini22P/omp/blob/main/LICENSE)\n\n## Star History\n\n[![Star History Chart](https://api.star-history.com/svg?repos=nini22P/omp\u0026type=Date)](https://star-history.com/#nini22P/omp\u0026Date)\n","funding_links":["https://ko-fi.com/nini22p"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnini22p%2Fomp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnini22p%2Fomp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnini22p%2Fomp/lists"}