Compare commits
No commits in common. "b44c6bd073d6cbe328c5bc8877a179060b1f7b15" and "ebae2390df1d04dbadc3448aa42db160d19941e1" have entirely different histories.
b44c6bd073
...
ebae2390df
23
README.md
23
README.md
|
@ -1,24 +1,15 @@
|
||||||
# spotify-web-notifications
|
# spotify-web-notifications
|
||||||
|
|
||||||
A Firefox extension adding now-playing style notifications to the [Spotify web interface](https://open.spotify.com/). An (unsupported) Chromium version can be found [here](https://gitlab.com/limesey/spotify-web-notifs).
|
|
||||||
|
|
||||||
This extension works by scraping the web player for the necessary data, meaning that you won't need a developer account!
|
|
||||||
|
|
||||||
## Table of contents
|
|
||||||
|
|
||||||
- [Usage](#usage) - Instructions on how to use the extension
|
|
||||||
|
|
||||||
- [Development](#development) - Development instructions
|
|
||||||
|
|
||||||
## Usage
|
|
||||||
|
|
||||||
TODO: Write
|
|
||||||
|
|
||||||
## Development
|
|
||||||
|
|
||||||
To install dependencies:
|
To install dependencies:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bun install
|
bun install
|
||||||
```
|
```
|
||||||
|
|
||||||
|
To run:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
bun run index.ts
|
||||||
|
```
|
||||||
|
|
||||||
|
This project was created using `bun init` in bun v1.0.23. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.
|
||||||
|
|
16
package.json
16
package.json
|
@ -1,21 +1,11 @@
|
||||||
{
|
{
|
||||||
"name": "spotify-web-notifications",
|
"name": "spotify-web-notifications",
|
||||||
"module": "index.ts",
|
"module": "index.ts",
|
||||||
"scripts": {
|
"type": "module",
|
||||||
"run-web-ext": "web-ext run --keep-profile-changes -p SpotifyWebNotifications",
|
|
||||||
"run-devflow": "bun run-web-ext & bun build --watch src/extension/typescript/content.ts src/extension/typescript/background.ts --splitting --outdir dist"
|
|
||||||
},
|
|
||||||
"webExt": {
|
|
||||||
"sourceDir": "dist/"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/bun": "latest",
|
"@types/bun": "latest"
|
||||||
"@types/firefox-webext-browser": "^120.0.0",
|
|
||||||
"web-ext": "^7.10.0"
|
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"typescript": "^5.0.0"
|
"typescript": "^5.0.0"
|
||||||
},
|
}
|
||||||
"type": "module"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue