Twitch.tv client written in Svelte
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
hazy 2e4ec94e46 Fix game pages content (previously only displayed Just Chatting) 6 months ago
src Fix game pages content (previously only displayed Just Chatting) 6 months ago
static Add meta tags to homepage 6 months ago
.gitignore Initial commit 6 months ago
.npmrc Initial commit 6 months ago
LICENSE Add LICENSE 6 months ago
README.md Update README, correct branding 6 months ago
index.js Catch error with m3u8 fetching 6 months ago
package-lock.json Installed Shaka-Player 6 months ago
package.json Update README, correct branding 6 months ago
postcss.config.cjs Initial commit 6 months ago
svelte.config.js Update README, correct branding 6 months ago

README.md

SPARK

a FOSS Twitch client written in Svelte.

Usage

npm i
npm run start

The server, by default, will run on http://127.0.0.1:3000. To use a different port, or to use a different host, specify with the PORT and HOST environment variables.

Development

svelte-kit dev, or npm run dev can be used only if you set the VITE_API_ORIGIN variable to an existing SPARK server.

This is because SPARK wraps around SvelteKit to provide API endpoints, and this does not work with npm run dev. So you must use an external server for those API endpoints during development.

Roadmap

  • Emotes in chat

Changelog

v0.0.2

  • Use SvelteKit as Express middleware so API endpoints can use express (makes proxying much faster)
  • Correct a bug in which current live streams were not displayed on user pages
  • Removed unused properties
  • Improve scrollbars
  • Refactor VOD and stream pages to use the same code
  • Switch to Shaka-Player, which allows users to choose their own quality settings (plus, it looks pretty nice)
  • Redirect /u/username/live to /u/username when a channel is not live
  • Seek Twitch chat when seeking in a VOD
  • Allow using external server for API endpoints (see the Usage>Development section of this README)
  • Add chat toggle button

v0.0.1

Initial version. Some UI copied from a previous Twitch client I abandoned a year ago.

  • VODs, Streams both play
  • Searching for videos and channels works
  • Chat works on VODs and streams
  • Homepage with multiple sections (Popular streams, popular categories, popular "just chatting" channels, etc)
  • View more streams in a specific category

License

SPARK's code is under the AGPL license. Anyone can use SPARK's code, even commercially, but they must link back to their source code, including all changes they make to the project.