Skip to content
This repository has been archived by the owner on Feb 16, 2025. It is now read-only.

Commit

Permalink
Merge pull request #8 from big-slime/electron
Browse files Browse the repository at this point in the history
v2.0.0: Electron
  • Loading branch information
cheezos authored Dec 21, 2021
2 parents 99bbe3c + 2471b85 commit 3830d90
Show file tree
Hide file tree
Showing 17 changed files with 8,898 additions and 749 deletions.
121 changes: 4 additions & 117 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,117 +1,4 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
config.ini
desktop.ini
ffmpeg*
downloads*
node_modules
dist
ffmpeg2pass-0.log
ffmpeg2pass-0.log.mbtree
21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
## Big Slime Video Compressor
A simple video compressor, created in Python.

A beautiful, simple video compressor.

### Features
- Compress multiple video files in a queue system.

- Compress multiple videos in a queue system.
- Compress videos to any file size.
- Remove audio from videos.
- Automatically downloads and installs ffmpeg.

### Preview
![Screenshot 1](https://github.com/big-slime/video-compressor/raw/main/screenshot.png)

![Screenshot 1](https://github.com/big-slime/video-compressor/raw/electron/preview.gif)

### Love this app?
[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/V7V82NKB5)

[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/bigslime)
Binary file removed icon.ico
Binary file not shown.
68 changes: 68 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://bootswatch.com/5/darkly/bootstrap.min.css" />
<title>Big Slime Video Compressor</title>
</head>
<body style="overflow: hidden">
<!-- Drop Zone -->
<div
id="drop-zone"
style="
display: flex;
align-items: center;
justify-content: center;
text-align: center;
border-radius: 10px;
margin: 10px 10px 10px 10px;
height: 200px;
border: 3px dotted rgb(50, 50, 50);
background: rgb(20, 20, 20);
"
>
<h5><small id="lbl-status" class="text-muted">Drop your videos here.</small></h5>
</div>
<!-- Progress -->
<div style="margin: 10px 10px 20px 10px" class="progress">
<div id="progress-bar" class="progress-bar progress-bar-striped progress-bar-animated" role="progressbar" style="width: 100%"></div>
</div>
<!-- Main Buttons -->
<div style="display: flex; align-items: center; justify-content: center; text-align: center; margin: 10px 10px 10px 10px">
<div style="display: flex; margin: 5px">
<button type="button" class="btn btn-primary" id="btn-compress" disabled>Compress</button>
</div>
<div style="display: flex; margin: 5px">
<button type="button" class="btn btn-danger" id="btn-abort" disabled>Abort</button>
</div>
</div>
<!-- Remove Audio -->
<div style="margin: 10px auto 10px auto">
<div style="display: table; margin-left: auto; margin-right: auto" class="form-check form-switch">
<input id="check-remove-audio" class="form-check-input" type="checkbox" />
<label class="form-check-label" for="flexSwitchCheckDefault">Remove Audio</label>
</div>
</div>
<!-- File Size -->
<div style="display: flex; height: 15px; margin-left: 20%; margin-right: 20%">
<input id="input-file-size" class="form-control form-control-sm" type="text" placeholder="Target file size in megabytes" />
</div>
<!-- Footer -->
<div style="position: absolute; display: flex; justify-content: center; bottom: 0; left: 0; width: 50%; height: 25px; background: rgb(20, 20, 20)">
<button id="btn-support" class="text-muted" style="background: none; border: none; margin: 0; padding: 0; cursor: pointer">
<small class="text-muted">Buy me a coffee?</small>
</button>
</div>
<div style="position: absolute; display: flex; justify-content: center; bottom: 0; right: 0; width: 50%; height: 25px; background: rgb(20, 20, 20)">
<button id="btn-github" class="text-muted" style="background: none; border: none; margin: 0; padding: 0; cursor: pointer">
<small class="text-muted">Github | v2.0.0</small>
</button>
</div>
<script>
const exports = {};
</script>
<script src="dist/renderer/renderer.js" defer></script>
</body>
</html>
Loading

0 comments on commit 3830d90

Please sign in to comment.