Skip to content

Commit 009f890

Browse files
committed
working imagecompressor MVP
0 parents  commit 009f890

File tree

9 files changed

+2147
-0
lines changed

9 files changed

+2147
-0
lines changed

.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?

LICENSE

Lines changed: 674 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# image-compressor
2+
Compresses Images to below 10MB

index.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="UTF-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<title>Document</title>
8+
<script type="module" src="src/main.ts"></script>
9+
</head>
10+
11+
<body>
12+
<h1>Image Compressor</h1>
13+
<h2>Input</h2>
14+
<input type="file">
15+
16+
<h2>Output</h2>
17+
<a href="" id="download" download style="display: none;">Download</a>
18+
<p id="status" style="display: none;">Compressing...</p>
19+
</body>
20+
21+
</html>

0 commit comments

Comments
 (0)