Skip to content

Commit 6a9822b

Browse files
committed
fix: replace Imgur images with local alternatives for UK accessibility
- Download 19 Imgur-hosted images to static/images/ - Update markdown references to use local paths - Add mise.toml for Node.js 24 and Bun version management - Fix compress_images workflow to only run on PR open Fixes #188
1 parent 09fee27 commit 6a9822b

26 files changed

+26
-22
lines changed

.github/workflows/compress_images.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
name: Compress Images
22
on:
33
pull_request:
4-
# Run Image Actions when JPG, JPEG, PNG or WebP files are added or changed.
5-
# See https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#onpushpull_requestpaths for reference.
4+
types: [opened]
65
paths:
76
- '**.jpg'
87
- '**.jpeg'
@@ -16,7 +15,7 @@ jobs:
1615
runs-on: ubuntu-latest
1716
steps:
1817
- name: Checkout Repo
19-
uses: actions/checkout@v2
18+
uses: actions/checkout@v4
2019

2120
- name: Compress Images
2221
uses: calibreapp/image-actions@main
@@ -26,3 +25,4 @@ jobs:
2625
pngQuality: '70'
2726
webpQuality: '70'
2827
githubToken: ${{ secrets.GITHUB_TOKEN }}
28+
compressOnly: true

bun.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/advanced-usage/custom-apps.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Three apps have been included to demonstrate how to create and inject an app:
7373

7474
Fetching posts from any Spotify link sharing subreddit. You can add, remove, arrange subreddits and customize post visual in config menu (in Profile menu, top right button with your username).
7575

76-
![Reddit](https://i.imgur.com/MC3tpNZ.png)
76+
![Reddit](/images/apps/reddit.png)
7777

7878
To install, run following commands:
7979

@@ -86,7 +86,7 @@ spicetify apply
8686

8787
Aggregate all new releases from favorite artists, podcasts. Time range, release type, and other filters can be customized in config menu (in Profile menu, top right button with your username). Date format is based on your locale code (BCP47).
8888

89-
![New Releases](https://i.imgur.com/MP9dTjt.png)
89+
![New Releases](/images/apps/new-releases.png)
9090

9191
To install, run following commands:
9292

@@ -101,7 +101,7 @@ Get access to the current track's lyrics from various lyrics providers (Musixmat
101101

102102
Colors, lyrics providers can be customized in config menu (in Profile menu, top right button with your username).
103103

104-
![Lyrics Plus](https://i.imgur.com/WtD080A.png)
104+
![Lyrics Plus](/images/apps/lyrics-plus.png)
105105

106106
To install, run following commands:
107107

docs/advanced-usage/extensions.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -84,23 +84,23 @@ Videos are unable to play in some regions because of Spotify's policy. Instead o
8484

8585
Easily store and browse pages, play tracks or tracks in specific time. Useful for who wants to check out an artist, album later without following them or writing their name down.
8686

87-
![Ext_bookmark](https://i.imgur.com/isgU4TS.png)
87+
![Ext_bookmark](/images/extensions/bookmark.png)
8888

8989
### Christian Spotify
9090

9191
**Filename:** `autoSkipExplicit.js`
9292

9393
Auto skip explicit tracks. Toggle option is in Profile menu (top right button).
9494

95-
![Ext_ChristianDemo](https://i.imgur.com/5reGrBb.png)
95+
![Ext_ChristianDemo](/images/extensions/christian-demo.png)
9696

9797
### Full App Display
9898

9999
**Filename:** `fullAppDisplay.js`
100100

101101
Full App Display: Minimal album cover art display with beautiful blur effect background. Activating button located in top bar. While in display mode, double click anywhere to exit. Right click anywhere to open setting menu.
102102

103-
![Ext_FAD](https://i.imgur.com/S7CPQ2s.png)
103+
![Ext_FAD](/images/extensions/full-app-display.png)
104104

105105
### Keyboard Shortcut
106106

@@ -114,37 +114,37 @@ Extends Spotify's default keybinds (toggle help modal with `?`) with vim like sh
114114
- <kbd>G</kbd>/<kbd>Shift</kbd> <kbd>G</kbd>: Scroll to top or bottom
115115
- <kbd>F</kbd>: Open up keyboard-driven navigation. Hit correct key sequences to open up place you want to go:
116116

117-
![KeyboardDemo](https://i.imgur.com/evkGv9q.png)
117+
![KeyboardDemo](/images/extensions/keyboard-demo.png)
118118

119119
### Loopy Loop
120120

121121
**Filename:** `loopyLoop.js`
122122

123123
Provide ability to mark start and end points on progress bar and automatically loop over that track portion.
124124

125-
![LoopyLoop](https://i.imgur.com/YEkbjLC.png)
125+
![LoopyLoop](/images/extensions/loopy-loop.png)
126126

127127
### Pop-up Lyrics
128128

129129
**Filename:** `popupLyrics.js`
130130

131131
Have easy access to a pop-up window with the current song's lyrics. Click at microphone icon on top bar to open lyrics windows. Right click at the same icon to open config menu to customize looks and lyrics providers priorities.
132132

133-
![Pop-up Lyrics](https://i.imgur.com/Nx9Lx7D.png)
133+
![Pop-up Lyrics](/images/extensions/popup-lyrics.png)
134134

135135
### Shuffle+
136136

137137
**Filename:** `shuffle+.js`
138138
Shuffles using Fisher–Yates algorithm with zero bias. After installing extensions, right click album/playlist/artist item, there will be an option "Play with Shuffle+". You can also multiple select tracks and choose to "Play with Shuffle+".
139139

140-
![Shuffle](https://i.imgur.com/gxbnqSN.png)
140+
![Shuffle](/images/extensions/shuffle.png)
141141

142142
### Trash Bin
143143

144144
**Filename:** `trashbin.js`
145145
Throw songs/artists to trash bin and never hear them again (automatically skip). This extension will append a Throw to Trashbin option in tracks and artists link right click menu.
146146

147-
![Ext_Trash](https://i.imgur.com/ZFTy5Rm.png)
147+
![Ext_Trash](/images/extensions/trash.png)
148148

149149
### Web Now Playing
150150

@@ -173,7 +173,7 @@ If you are running Spicetify 1.2.1 or below, and a supported Spotify version, yo
173173

174174
Easily setting up the client for your friends or audiences to choose, add song to queue but prevent them to control player. Plays button in album track list/playlist are re-purposed to add track to queue, instead of play track directly. Hide Controls option also allow you to hide all control button in player bar, Play/More/Follow buttons in cards.
175175

176-
![Ext_DJDemo](https://i.imgur.com/pOFEqtM.png)
176+
![Ext_DJDemo](/images/extensions/dj-demo.png)
177177

178178
### New Release
179179

@@ -189,4 +189,4 @@ Aggregate all new releases from favorite artists, podcasts. Setting menu could b
189189

190190
You like using Discover, New Releases page to find new music but adding each one of them to queue takes a lot of effort? If so, activate this extensions and apply. At top of every carousel now has a "Queue All" button to help you add all of them to queue. Note: Not available for playlist carousels. Just songs, albums ones.
191191

192-
![QueueAllDemo](https://i.imgur.com/D9ytt7K.png)
192+
![QueueAllDemo](/images/extensions/queue-all-demo.png)

docs/development/js-modules.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ For Japanese studying purpose, I'm developing an extension that shows the Romaji
2121

2222
The idea is when I right click at track name and choose Show Romaji:
2323

24-
![img1](https://i.imgur.com/kkSOtwG.png)
24+
![img1](/images/development/js-modules-1.png)
2525

2626
Result should show as a notification:
2727

28-
![img2](https://i.imgur.com/LLF5ZGh.png)
28+
![img2](/images/development/js-modules-2.png)
2929

3030
To translate Japanese text to Romaji, I use a package named [kuroshiro](https://github.com/hexenq/kuroshiro). Luckily, this package will export distribution files as ES6 Module. This is quite important because package itself relies on other utilities packages too. When it is compiled as an ES6 module, everything is transpiled to Browser supported Javascript and combined in one file. Moreover, kuroshiro also needs [kuroshiro-analyzer-kuromoji](https://github.com/hexenq/kuroshiro-analyzer-kuromoji) package to be usable, which relies on dictionaries gzip files. You can see there is no easy way to utiltise both packages and their external files if we use traditional Javascript extension.
3131

docs/faq.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,15 @@ This problem happens in the extension [Popup Lyrics](https://github.com/spicetif
6969

7070
3. Now in Musixmatch app, hit `Ctrl + Shift + i` to bring up DevTools.
7171

72-
![mxm1](https://i.imgur.com/jMGMgCc.png)
72+
![mxm1](/images/faq/mxm1.png)
7373

7474
4. Switch to Network tab. Hit `Ctrl + R`. Filter results with "apic":
7575

76-
![mxm2](https://i.imgur.com/QdwqtQa.png)
76+
![mxm2](/images/faq/mxm2.png)
7777

7878
5. Click on any result. Click on the Headers tab. Scroll all the way down. Note down `usertoken`
7979

80-
![mxm3](https://i.imgur.com/ZsGwKG3.png)
80+
![mxm3](/images/faq/mxm3.png)
8181

8282
It should look like this:
8383

@@ -87,4 +87,4 @@ It should look like this:
8787

8888
6. You can open the config for Popup Lyrics by right clicking on the Popup Lyrics button. Or if you're using Lyrics Plus, open the config by clicking on Lyrics in the sidebar and clicking on the profile menu and then clicking 'Lyrics Plus config'. You can then paste your personal token in the input field in the Musixmatch section and turn the switch on.
8989

90-
![mxm4](https://i.imgur.com/yvrkllb.png)
90+
![mxm4](/images/faq/mxm4.png)

mise.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[tools]
2+
node = "24"
3+
bun = "latest"

static/images/apps/lyrics-plus.png

64.2 KB
Loading
398 KB
Loading

static/images/apps/reddit.png

552 KB
Loading

0 commit comments

Comments
 (0)