Commit graph

49 commits

Author SHA1 Message Date
Alan Brooks
8a567ab816 Merge upstream/main into fullscreen-apple 2026-04-05 22:47:56 -04:00
Alan Brooks
2573870004 feat: refine fullscreen apple player 2026-04-05 22:37:10 -04:00
binimum
f3b9cfd2f0 style: auto-fix linting issues 2026-04-05 17:22:39 +00:00
binimum
10b7afc36e
Merge branch 'main' of https://github.com/monochrome-music/monochrome 2026-04-05 17:21:55 +00:00
binimum
995906f572
refactor: optimize image loading and enhance performance
- Removed unnecessary preconnect link to jsDelivr in index.html.
- Added lazy loading to contribs in app.js for improved performance.
- Implemented dynamic loading of am-lyrics and shaka based on image loading status to reduce lcp
- Introduced waitForImagesLoading function in player.js to ensure all images are loaded before initializing the player
- Enhanced image loading attributes in ui.js to include fetchpriority based on loading strategy.
- Updated package.json to include vite-plugin-purgecss for CSS optimization
- Configured Vite to use purgecss and enabled tree-shaking in vite.config.ts to reduce bundle size
2026-04-05 17:21:10 +00:00
Alan Brooks
2bb06f1159 Refine fullscreen player to look more like apple music 2026-04-05 20:12:29 +03:00
binimum
57226892ab
feat: seo 2026-04-05 12:09:52 +00:00
Alan Brooks
0b1bb3cd11 Refine fullscreen player to look more like apple music 2026-04-05 00:18:34 -04:00
Daniel
648e47e1d8 fix(linting): fix js linting issues 2026-04-04 01:37:47 +03:00
Daniel
80cd8b2f9b refactor(downloads): cleanup downloads and add mp4 stik atom 2026-03-24 14:10:28 -05:00
Daniel
c768f8d675 refactor(lyrics): convert to singleton 2026-03-21 17:36:23 -05:00
Daniel
6728b17efe fix: bun format 2026-03-21 16:56:05 -05:00
Daniel
c19dbcf52a refactor: adjust imports to allow for file splitting
- dynamically import router
- dynamically import visualizers
- update import syntax for am-lyrics to use dynamic import syntax
2026-03-19 15:34:51 -05:00
Daniel
e2a09b9b32 refactor: externalize svg images and add new vite plugin
The plugin runs all imported SVG files through svgo.

For index.html, you can use the following syntax:
```html
<use svg="file.svg" size="24" />
```

For scripts, use the `?svg` import query
```javascript
import SVG_FILE from './file.svg?svg&size=24
```

Note: size is shorthand for specifying both width and height individually.  You can also set any property of the base SVG element.

You can also use the `?svg&icon` query to return a function that allows dynamically resizing the SVG string.
2026-03-19 15:28:33 -05:00
binimum
33d3c6c51a
fix(lyrics): update track title retrieval to use getTrackTitle function
chore(deps): update @uimaxbai/am-lyrics to version 1.1.4 in package.json and package-lock.json
2026-03-13 19:57:24 +00:00
Samidy
f513ce27e4 feat(unreleased): lyrics on unreleased 2026-03-13 02:58:57 +03:00
Samidy
51b88cc5e8 cdn to package for am-lyrics 2026-03-12 09:00:27 +03:00
Julien Maille
7dd8854ad1 UI: move lyrics panel close button to the right side 2026-03-08 20:38:05 +01:00
binimum
2d0ab393a7 style: auto-fix linting issues 2026-02-16 18:20:50 +00:00
binimum
48a1a87104
Change lyrics highlight colour based on light/dark mode 2026-02-16 18:19:43 +00:00
binimum
5999f7312f
Nope, turns out I did it wrong 2026-02-15 20:11:15 +00:00
binimum
9a566e8f09
Update am-lyrics to use latest version 2026-02-15 20:06:22 +00:00
Samidy
d50f4f7223 fix(Genius For Lyrics): Fix Genius For Lyrics Not Loading 2026-02-11 16:20:25 +03:00
Eduard Prigoana
60b60bd8fa remove dead apis, search in settings, playbar dragging 2026-02-05 20:42:15 +00:00
Eduard Prigoana
a25f05a66e lyrics offset 2026-02-03 17:58:40 +02:00
SamidyFR
4ede3b2664 style: auto-fix linting issues 2026-01-24 12:13:44 +00:00
Samidy
3f3e12817f basically monochrome 2.0 lol 2026-01-24 15:13:19 +03:00
Julien Maille
5dcc688577 style: fix all linting warnings (unused vars/imports) 2026-01-18 23:28:58 +01:00
Samidy
e5792d035c local music warning, lyrics panel always open, shuffle improvements & fixes 2026-01-17 04:04:12 +03:00
JulienMaille
bae0d0a170 style: auto-fix linting issues 2026-01-16 20:37:51 +01:00
JulienMaille
dc3ae80d9f style: auto-fix linting issues 2026-01-11 00:36:22 +01:00
Aji Priyo Wibowo
90e4785644 fix: Monkey-patching kuromoji when hosting the app 2026-01-08 17:44:24 +07:00
Aji Priyo Wibowo
daac9d9e60 feat: fix performance on convert to romaji 2026-01-08 16:31:39 +07:00
Aji Priyo Wibowo
df2b77eb7d Feat: adding romaji convert feature on lyric 2026-01-08 15:49:54 +07:00
Samidy
0449e96ffa Spotify imports, last.fm scrobbling library fixed, color improvements & more 2026-01-06 16:09:59 +03:00
Julien Maille
0b9eea86ab FIX: remove dead event listener for removed lyrics download button 2026-01-02 11:00:55 +01:00
Julien Maille
801fa264cd IMP: fullscreen lyrics, various css fixes 2026-01-02 00:03:34 +01:00
binimum
134ceb306a
Remove big download button in favour of am-lyrics download button 2025-12-31 18:54:48 +00:00
binimum
4dfa9aeca5
Update am-lyrics library version to 0.6.2 2025-12-31 18:49:37 +00:00
Samidy
a27be3162d Playlist Feature, Lyrics on Fullscreen & More 2025-12-31 12:26:05 +03:00
Julien Maille
82b4afb149 IMP: refactored queue list and lyrics panel in the same ui 2025-12-30 12:05:50 +01:00
Julien Maille
7892bc53fc remove broken karaoke mode 2025-12-29 12:53:30 +01:00
Samidy
aae135a7a1
Fix for lyrics as .lrc.txt (Hopefully :P) 2025-12-29 14:08:49 +03:00
Julien Maille
91da9b887d UI: reorganize bottom controls and improve lyrics panel behavior 2025-12-27 23:18:53 +01:00
Samidy
f227c4c00d Lyrics Update 2025-12-27 21:21:35 +03:00
Julien Maille
99f2ccfdb2 Refactor SVG icons and improve settings UI 2025-12-25 20:03:16 +01:00
eduardprigoana
ae7fae9b3d naming 2025-11-17 21:43:33 +02:00
Ned Halksworth
70c7dc3d01 Add synced lyrics support and enhance styling for karaoke mode 2025-11-10 17:57:36 +00:00
Eduard Prigoana
b5cb97149f fuck your svelte kit 2025-10-26 21:55:13 +02:00