Compare commits
2 Commits
ebae2390df
...
b44c6bd073
Author | SHA1 | Date |
---|---|---|
Violet Millie | b44c6bd073 | |
Violet Millie | f08750be30 |
23
README.md
23
README.md
|
@ -1,15 +1,24 @@
|
|||
# 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:
|
||||
|
||||
```bash
|
||||
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.
|
||||
|
|
18
package.json
18
package.json
|
@ -1,11 +1,21 @@
|
|||
{
|
||||
"name": "spotify-web-notifications",
|
||||
"module": "index.ts",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"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": {
|
||||
"@types/bun": "latest"
|
||||
"@types/bun": "latest",
|
||||
"@types/firefox-webext-browser": "^120.0.0",
|
||||
"web-ext": "^7.10.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"typescript": "^5.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue