Ascarbek/altshift

★ 0Forks 0SvelteGitHub ↗Compare

README

AltShift Browser Extension

Start local dev environment

  1. Install dependencies npm install or yarn

  2. Create a file: src/config.json and put this content:

{
"backend": "https://backend.altshift.cc"
}
  1. Create downloaded folder and put a sample video there.

  2. Go to src/wrapper/App.svelte and set preferred values for videoId and videoType

  3. Run npm run serve-static or yarn run serve-static

  4. Run npm run dev:rollup or yarn run dev:rollup

Build

  1. Install dependencies npm install or yarn

  2. Create a file: src/config.json and put this content:

{
"backend": "https://backend.altshift.cc"
}
  1. Run npm run build:rollup or yarn run build:rollup

Now all required files will be in public folder.

Contributors

Ascarbek

Issues