GithubHelp home page GithubHelp logo

matchamoon / tsubasa Goto Github PK

View Code? Open in Web Editor NEW
15.0 3.0 1.0 417 KB

πŸ¦‹ Tsubasa compresses to MB file size, with best-in-class audio quality/visual bitrate, and a simple web UI 🌐

Home Page: https://tsubasa.js.org

License: GNU Affero General Public License v3.0

JavaScript 2.73% HTML 3.44% Vue 66.50% CSS 6.50% TypeScript 20.84%
ffmpeg-wasm typescript vue video-compression file-upload ffmpeg audio-compression mp4

tsubasa's People

Contributors

coffeebank avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

coffeebank

tsubasa's Issues

Improve progress indicators

Show a status message for users to know if an error happened, without needing to open console

  • #1 Show status message
  • Show progress percentage
  • Disable editing input fields during and after ffmpeg has already completed
  • Add a cancel button
  • Show error indicator
  • Show advanced details (console output)?

Containerize the application by creating a Dockerfile

To make this app simpler to run in a cloud environment, we can containerize the app by using Docker and creating a simple Dockerfile that looks like:

FROM node:lts-alpine

# install simple http server for serving static content
RUN npm install -g http-server

# make the 'app' folder the current working directory
WORKDIR /app

# copy both 'package.json' and 'package-lock.json' (if available)
COPY package*.json ./

# install project dependencies
RUN npm install

# copy project files and folders to the current working directory (i.e. 'app' folder)
COPY . .

# build app for production with minification
RUN npm run build

EXPOSE 8080
CMD [ "http-server", "dist" ]

Source: https://v2.vuejs.org/v2/cookbook/dockerize-vuejs-app

I’ve tried this setup and this Dockerfile works, but an application error is thrown that’s not thrown on the demo website:

ReferenceError: SharedArrayBuffer is not defined
    at 17b35eff-b80d-4c99-8195-9e4c9e9d7242:22:175
    at Object.be [as load] (index.396c12aa.js:42:4082)
    at async wp.transcode (index.396c12aa.js:42:6842)
    at async l (index.396c12aa.js:42:10753)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.