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

Commit e81758e

Browse files
authored
Merge pull request #28 from stellar-comet/main
Release v2.0.4
2 parents 7c2ffd0 + 48ba0bd commit e81758e

File tree

193 files changed

+6713
-1153
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

193 files changed

+6713
-1153
lines changed

.github/FUNDING.yml

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
github: thavarshan
2+
buy_me_a_coffee: thavarshan

.github/SECURITY.md

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
| Version | Security Fixes Until |
88
| ------- | -------------------- |
99
| 1.0.0 | August 17th, 2024 |
10+
| 2.0.1 | September 17th, 2024 |
1011

1112
## Reporting a Vulnerability
1213

.github/workflows/build.yml

+120
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- release
8+
- feature/*
9+
pull_request:
10+
branches:
11+
- main
12+
- release
13+
- feature/*
14+
15+
jobs:
16+
build-macos:
17+
strategy:
18+
matrix:
19+
arch: [x64, arm64]
20+
runs-on: macos-latest
21+
22+
steps:
23+
- name: Checkout code
24+
uses: actions/checkout@v3
25+
26+
- name: Set up Node.js
27+
uses: actions/setup-node@v3
28+
with:
29+
node-version: '20'
30+
31+
- name: Install dependencies
32+
run: npm install
33+
34+
- name: Build Electron app
35+
run: |
36+
npm run make -- --arch=${{ matrix.arch }}
37+
env:
38+
ELECTRON_CACHE: ${{ runner.temp }}/electron
39+
npm_config_arch: ${{ matrix.arch }}
40+
npm_config_platform: darwin
41+
42+
- name: Verify build output
43+
run: ls out/make
44+
45+
build-linux:
46+
strategy:
47+
matrix:
48+
arch: [x64, arm64]
49+
runs-on: ubuntu-latest
50+
51+
steps:
52+
- name: Checkout code
53+
uses: actions/checkout@v3
54+
55+
- name: Set up Node.js
56+
uses: actions/setup-node@v3
57+
with:
58+
node-version: '20'
59+
60+
- name: Install dependencies
61+
run: npm install
62+
63+
- name: Build Electron app
64+
run: |
65+
npm run make -- --arch=${{ matrix.arch }}
66+
env:
67+
ELECTRON_CACHE: ${{ runner.temp }}/electron
68+
npm_config_arch: ${{ matrix.arch }}
69+
npm_config_platform: linux
70+
71+
- name: Verify build output
72+
run: ls out/make
73+
74+
build-windows:
75+
strategy:
76+
matrix:
77+
arch: [x64, arm64]
78+
runs-on: windows-latest
79+
80+
steps:
81+
- name: Checkout code
82+
uses: actions/checkout@v3
83+
84+
- name: Set up Node.js
85+
uses: actions/setup-node@v3
86+
with:
87+
node-version: '20'
88+
89+
- name: Install Microsoft Build Tools
90+
run: |
91+
choco install microsoft-build-tools -y
92+
shell: pwsh
93+
94+
- name: Verify makeappx.exe and build & sign the appx
95+
run: |
96+
# Verify makeappx.exe
97+
$makeappxPath = 'C:\Program Files (x86)\Windows Kits\10\App Certification Kit\makeappx.exe'
98+
99+
if (Test-Path $makeappxPath) {
100+
echo "makeappx.exe found at $makeappxPath"
101+
$env:WINDOWS_KIT_PATH="C:\Program Files (x86)\Windows Kits\10\App Certification Kit"
102+
} else {
103+
Write-Error "makeappx.exe not found."
104+
exit 1
105+
}
106+
107+
# Install dependencies
108+
npm install
109+
110+
# Build and sign the appx using Electron Forge
111+
npm run publish -- --arch=${{ matrix.arch }}
112+
env:
113+
WINDOWS_KIT_PATH: ${{ env.WINDOWS_KIT_PATH }}
114+
CERT_PASSWORD: ${{ secrets.CERT_PASSWORD }}
115+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
116+
shell: pwsh
117+
118+
- name: Verify build output
119+
run: dir out\make
120+
shell: pwsh

.github/workflows/test.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,16 @@ on:
44
push:
55
branches:
66
- main
7+
- release
8+
- feature/*
79
pull_request:
810
branches:
911
- main
12+
- release
13+
- feature/*
1014

1115
jobs:
12-
build:
16+
test:
1317
runs-on: ubuntu-latest
1418

1519
steps:
@@ -19,7 +23,7 @@ jobs:
1923
- name: Set up Node.js
2024
uses: actions/setup-node@v2
2125
with:
22-
node-version: '18'
26+
node-version: '20'
2327

2428
- name: Install dependencies
2529
run: npm install

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,4 @@ out/
9393
note.md
9494
cert.pem
9595
key.pem
96+
temp

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v20.11.1

.prettierrc

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"semi": true,
3-
"trailingComma": "all",
4-
"singleQuote": true,
5-
"printWidth": 120,
6-
"tabWidth": 2,
7-
"useTabs": false,
8-
"endOfLine": "auto"
2+
"semi": true,
3+
"trailingComma": "all",
4+
"singleQuote": true,
5+
"printWidth": 120,
6+
"tabWidth": 2,
7+
"useTabs": false,
8+
"endOfLine": "auto"
99
}

README.md

+15-60
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
1-
<p align="center"><a href="https://comet.thavarshan.com" target="_blank"><img src="https://github.com/stellar-comet/comet/blob/main/src/assets/images/logo.png" width="400" height="400" alt="Comet"></a></p>
1+
<p align="center"><a href="https://comet.thavarshan.com" target="_blank"><img src="./assets/logo.png" width="400" height="400" alt="Comet"></a></p>
22

3-
## About Comet
3+
[![Test](https://github.com/stellar-comet/comet/actions/workflows/test.yml/badge.svg)](https://github.com/stellar-comet/comet/actions/workflows/test.yml)
4+
[![Build](https://github.com/stellar-comet/comet/actions/workflows/build.yml/badge.svg)](https://github.com/stellar-comet/comet/actions/workflows/build.yml)
5+
[![Release](https://github.com/stellar-comet/comet/actions/workflows/release.yml/badge.svg?branch=release)](https://github.com/stellar-comet/comet/actions/workflows/release.yml)
46

5-
**Comet** is a cross-platform video converter application designed to make video conversion as easy and accessible as possible. Leveraging the power of [FFmpeg](https://ffmpeg.org/), Comet allows users to convert video files into a variety of formats, all within a simple, intuitive interface.
7+
> [!WARNING]
8+
> We don't have an Apple Developer account yet, and the application is not code-signed for both Mac and Windows. Therefore, the applications will show a warning popup on the first start. On Mac, click **Okay**, then go to **Settings / Privacy & Security** and scroll down until you see a button **Open anyway**. You'll have to do this once. On Windows, you may see a warning message indicating that the app is from an unknown publisher. Click **More info** and then **Run anyway** to proceed.
69
7-
![Comet UI 1](./src/assets/images/screenshot_1.png)
8-
![Comet UI 2](./src/assets/images/screenshot_2.png)
9-
![Comet UI 3](./src/assets/images/screenshot_3.png)
10+
## About Comet
1011

11-
<p align="center"><a href="https://comet.thavarshan.com" target="_blank"><img src="./src/assets/images/demo.gif" width="600" alt="Comet Demo"></a></p>
12+
**Comet** is a cross-platform video converter application designed to make video conversion as easy and accessible as possible. Leveraging the power of [FFmpeg](https://ffmpeg.org/), Comet allows users to convert video files into a variety of formats, all within a simple, intuitive interface.
1213

13-
[![Release](https://github.com/stellar-comet/comet/actions/workflows/release.yml/badge.svg?branch=release)](https://github.com/stellar-comet/comet/actions/workflows/release.yml)
14+
![Comet UI 1](./assets/screenshot_1.png)
15+
![Comet UI 2](./assets/screenshot_2.png)
16+
![Comet UI 3](./assets/screenshot_3.png)
17+
![Comet UI 4](./assets/screenshot_4.png)
1418

1519
## Project Overview
1620

@@ -41,57 +45,8 @@ The project has made significant progress:
4145
- **Node.js:** Backend services and script automation.
4246
- **Vite:** For fast and modern build tooling.
4347
- **Tailwind CSS:** For styling and responsive design.
44-
45-
## Project Structure
46-
47-
```bash
48-
comet/
49-
50-
├── .github/ # GitHub-specific files, including workflows
51-
├── .vite/ # Vite cache directory
52-
├── .vscode/ # VSCode settings directory
53-
├── bin/ # Custom scripts and binaries
54-
│ └── converter.sh # Shell script for video conversion
55-
├── node_modules/ # Node.js dependencies
56-
├── out/ # Build output directory
57-
├── scripts/ # Custom scripts
58-
│ └── postinstall.js # Script to run after installation
59-
├── src/
60-
│ ├── assets/
61-
│ │ ├── css/ # Global CSS file
62-
│ │ └── images/ # Image assets for the application
63-
│ ├── lib/
64-
│ │ └── utils.ts # Utility functions
65-
│ ├── ui/
66-
│ │ ├── blocks/ # Main components for the app
67-
│ │ └── components/ # UI-related components
68-
│ ├── main.ts # Main process file
69-
│ ├── preload.ts # Preload script
70-
│ ├── renderer.ts # Renderer process entry point
71-
│ └── app.vue # Main Vue component
72-
73-
├── .editorconfig # Editor configuration
74-
├── .eslintrc.json # ESLint configuration
75-
├── .gitattributes # Git attributes configuration
76-
├── .gitignore # Git ignore file
77-
├── .prettierrc # Prettier configuration
78-
├── LICENSE # License file
79-
├── index.html # Entry HTML file
80-
├── postcss.config.js # PostCSS configuration
81-
├── tailwind.config.js # Tailwind CSS configuration
82-
├── components.json # Component configuration
83-
├── package-lock.json # Lockfile for npm dependencies
84-
├── package.json # Node.js project configuration
85-
├── tsconfig.json # TypeScript configuration
86-
├── README.md # Project README file
87-
├── forge.config.ts # Electron Forge configuration
88-
├── forge.env.d.ts # Environment type declarations
89-
├── shims-vue.d.ts # TypeScript shims for Vue
90-
├── vite.base.config.ts # Vite base configuration
91-
├── vite.main.config.ts # Vite main process configuration
92-
├── vite.preload.config.ts # Vite preload script configuration
93-
└── vite.renderer.config.ts # Vite renderer process configuration
94-
```
48+
- **Jest:** For unit testing.
49+
- **GitHub Actions:** For CI/CD and release automation.
9550

9651
## How to Contribute
9752

@@ -174,7 +129,7 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
174129

175130
## Support
176131

177-
If you find this project helpful or interesting, please consider giving it a ⭐ on GitHub. Your support and feedback are greatly appreciated!
132+
If you find this project helpful or interesting, please consider giving it a ⭐. Your support and feedback are greatly appreciated!
178133

179134
---
180135

File renamed without changes.
File renamed without changes.
File renamed without changes.

assets/icon-256.png

22.8 KB
Loading
File renamed without changes.
File renamed without changes.
File renamed without changes.

assets/icons/icon.ico

179 KB
Binary file not shown.
File renamed without changes.
File renamed without changes.

assets/icons/setup-icon.ico

178 KB
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.

assets/screenshot_1.png

157 KB
Loading

assets/screenshot_2.png

155 KB
Loading

assets/screenshot_3.png

162 KB
Loading

assets/screenshot_4.png

167 KB
Loading

assets/screenshot_5.png

160 KB
Loading

assets/screenshot_6.png

162 KB
Loading

assets/setup-icon-256.png

15.6 KB
Loading

components.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
"tsConfigPath": "./tsconfig.json",
66
"tailwind": {
77
"config": "tailwind.config.js",
8-
"css": "src/assets/css/index.css",
8+
"css": "src/ui/css/index.css",
99
"baseColor": "slate",
1010
"cssVariables": true
1111
},
1212
"framework": "vite",
1313
"aliases": {
1414
"components": "@/ui/components",
15-
"utils": "@/lib/utils"
15+
"utils": "@/ui/utils"
1616
}
17-
}
17+
}

0 commit comments

Comments
 (0)