Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/build_worker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build Worker Packages

on:
push:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6

- uses: DeterminateSystems/nix-installer-action@main
- name: Wait for nix daemon to start
if: runner.os == 'macOS'
run: wait4path /nix/var/nix/profiles/per-user
- name: Initialize nix environment
run: nix develop .

- name: Build Worker Bundles
run: |
nix develop --command sh -c '
cd worker && \
./build_worker_bundle.py all && \
echo "compressing bundles..." && \
for f in build/*.tar; do time xz $f; done
'

# we are doing the artifact in this slightly wiered way because we want
# the files to be individual artifacts and not be combined into one
- name: Setup gh actions artifact client
uses: lhotari/gh-actions-artifact-client@v2
- name: Upload artifacts
run: |
for file in worker/build/*.tar.xz; do
name=$(basename "$file")
echo "Uploading $name, file: $file"
cat "$file" | gh-actions-artifact-client.js upload "${name}"
done
28 changes: 0 additions & 28 deletions .github/workflows/test_build.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.direnv
target
24 changes: 14 additions & 10 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
{
"python.autoComplete.extraPaths": [
"backend/.venv/lib/python3.11/site-packages",
"worker/.venv/lib/python3.11/site-packages"
],
"python.analysis.extraPaths": [
"backend/.venv/lib/python3.11/site-packages",
"worker/.venv/lib/python3.11/site-packages"
],
"python.analysis.typeCheckingMode": "basic",
"nixEnvSelector.nixFile": "${workspaceRoot}/shell.nix",
"python.autoComplete.extraPaths": [
"backend/.venv/lib/python3.11/site-packages",
"worker/.venv/lib/python3.11/site-packages"
],
"python.analysis.extraPaths": [
"backend/.venv/lib/python3.11/site-packages",
"worker/.venv/lib/python3.11/site-packages"
],
"python.analysis.typeCheckingMode": "basic",
"nixEnvSelector.nixFile": "${workspaceRoot}/shell.nix",
"rust-analyzer.linkedProjects": [
"desktop/src-tauri/Cargo.toml",
"desktop/desktop-backend/Cargo.toml"
]
}
24 changes: 24 additions & 0 deletions desktop/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local
__pycache__

# Editor directories and files
.vscode/*
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
8 changes: 8 additions & 0 deletions desktop/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# transcribee Desktop

This folder contains the transcribee Desktop app built with tauri.

## Develop

To run the App in develop mode, install the dependencies with npm (`npm i`)
and build & start the app with `npm run tauri dev`.
Loading
Loading