1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-06-27 12:55:55 +00:00
The Twitch Enhancement Suite. Get custom emotes and tons of new features you'll never want to go without. https://www.frankerfacez.com/
Find a file
SirStendec 1d046fca2b 4.76.0
* Added: Setting to control the priority of third-party emote providers. This lets you, as an example, prioritize emotes from 7TV over BetterTTV. Note that these priorities are still secondary to emote source priorities (personal emotes > channel emotes > global emotes). (Closes #1587)
* Added: Setting to replace the native player 'Clip' button with a custom button that better fits the style of the other buttons. (Closes #1580)
* Fixed: Highlighting messages from users with open viewer cards not working correctly with alternating background colors enabled. (Closes #1581)
* Fixed: Various directory features not working correctly. (Closes #1588)
* Fixed: Emotes unlocked with channel points appearing on FFZ emote cards with the source 'CHANNEL_POINTS'.
* Fixed: The Experiments UI failing to load correctly if an experiment has no name.
* Experiments: Preparing for a new PubSub experiment.
* API Added: `emotes.setProvider(provider: string, data: {name: string, icon: string, description: string})` for registering an emote provider. This is used by the new setting to let users customize emote provider priorities.
* API Added: All modules now have a `addon_manifest` property which will contain the add-on's manifest if the module belongs to an add-on.
2024-12-03 16:15:11 -05:00
.github * Maintenance: Add workflow to automate builds of the main client for the user-script version of FFZ. 2024-10-24 13:35:58 -04:00
bin Initial commit for converting FrankerFaceZ to TypeScript. 2023-11-13 20:47:45 -05:00
res 4.75.7 2024-11-07 15:00:13 -05:00
socketserver 4.8.1 2019-08-07 14:13:04 -04:00
src 4.76.0 2024-12-03 16:15:11 -05:00
styles 4.75.7 2024-11-07 15:00:13 -05:00
types More type progress. 2023-11-16 18:41:50 -05:00
.editorconfig Initial commit for converting FrankerFaceZ to TypeScript. 2023-11-13 20:47:45 -05:00
.eslintrc.js Maintenance: This commit updates to webpack v5 and esbuild. I'm still testing it, but I think this'll work. 2023-09-01 17:01:52 -04:00
.gitignore Initial commit for converting FrankerFaceZ to TypeScript. 2023-11-13 20:47:45 -05:00
fontello.client.json This is a maintenance commit with no released build. 2019-09-29 15:49:29 -04:00
fontello.config.json 4.75.7 2024-11-07 15:00:13 -05:00
jsconfig.json Maintenance: This commit updates to webpack v5 and esbuild. I'm still testing it, but I think this'll work. 2023-09-01 17:01:52 -04:00
LICENSE Update licensing information. 2016-11-09 23:45:08 -05:00
old_changes.html 4.0.0 Beta 1 2017-11-13 01:23:39 -05:00
package.json 4.76.0 2024-12-03 16:15:11 -05:00
pnpm-lock.yaml 4.75.4 2024-10-22 17:19:03 -04:00
README.md * Maintenance: Add workflow to automate builds of the main client for the user-script version of FFZ. 2024-10-24 13:35:58 -04:00
tsconfig.json More type progress. 2023-11-16 18:41:50 -05:00
typedoc.json Initial commit for converting FrankerFaceZ to TypeScript. 2023-11-13 20:47:45 -05:00
webpack.config.js 4.75.3 2024-10-19 13:13:01 -04:00

FrankerFaceZ

Build Main Client Build Extension

Copyright (c) 2024 Dan Salvato LLC

Licensed under the Apache License, Version 2.0. See LICENSE.

Developing

FrankerFaceZ uses node.js to manage development dependencies and to run an HTTP server for development. This project uses the pnpm package manager. To get everything you need:

  1. Install node.js and pnpm
  2. Run pnpm install within the FrankerFaceZ directory.

From there, you can use npm to build FrankerFaceZ from source simply by running pnpm build. For development, you can instruct webpack to watch the source files for changes and re-build automatically with pnpm start

FrankerFaceZ comes with a local development server that listens on port 8000 and it serves up local development copies of files, falling back to the CDN when a local copy of a file isn't present.

Note: The local development server uses webpack-dev-server internally, which self-signs a certificate for hosting content via HTTPS. You will need to ensure your browser accepts a self-signed certificate for localhost.

The user-script version of FrankerFaceZ is designed to make it easy to load from your local development server. Please switch to using the user-script version for development purposes.

Then, you must set the local storage variable ffzDebugMode to true. Just run the following in your console on Twitch:

localStorage.ffzDebugMode = true;

You can edit the project's icon font using the pnpm font command. This will create a new Fontello session, if one doesn't already exist, and open your default web browser to Fontello so you can edit the font.

If you're running the development server with pnpm start, you'll be able to automatically save changes to the Fontello font by clicking Fontello's Export button. Otherwise, you can use pnpm font:save to download the changes from your session.

Editor Settings

Please make sure that your editor is configured to use tabs rather than spaces for indentation and that lines are ended with \n. It's recommended that you configure linting support for your editor as well.

If you're using Visual Studio Code, make sure to install the ESLint extension and add the following to your workspace settings:

{
	"eslint.validate": [
		"javascript",
		"javascriptreact",
		"vue"
	]
}