Skip to content

Commit 168ea50

Browse files
authored
Merge branch 'johannesjo:main' into fix/macos-logo-size
2 parents 98cf661 + c190073 commit 168ea50

60 files changed

Lines changed: 2815 additions & 4521 deletions

Some content is hidden

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

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ jobs:
9191

9292
- name: Build and sign
9393
env:
94+
NODE_OPTIONS: '--max-old-space-size=4096'
9495
APPLE_API_KEY: ${{ runner.temp }}/private_keys/AuthKey.p8
9596
APPLE_API_KEY_ID: ${{ secrets.APPLE_API_KEY_ID }}
9697
APPLE_API_ISSUER: ${{ secrets.APPLE_API_ISSUER }}

.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
dist/
22
dist-electron/
3+
dist-remote/
34
release/
45
node_modules/
6+
.worktrees/
7+
.claude/
58
package-lock.json
69
*.AppImage
710
*.deb

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
<img src="https://img.shields.io/github/license/johannesjo/parallel-code" alt="License">
1515
</p>
1616

17+
<p align="center">
18+
<a href="https://youtu.be/sLf0tsQA3pU">
19+
<img src="https://img.shields.io/badge/Watch%20Intro-YouTube-red?logo=youtube&logoColor=white&style=for-the-badge" alt="Watch intro on YouTube">
20+
</a>
21+
</p>
22+
1723
<p align="center">
1824
<img src="screens/longer-video.gif" alt="Parallel Code demo" width="800">
1925
</p>
@@ -73,6 +79,12 @@ When you're happy with the result, merge the branch back to main from the sideba
7379

7480
</details>
7581

82+
## Demo
83+
84+
<p align="center">
85+
<video src="screens/showcase.mp4" width="800" controls></video>
86+
</p>
87+
7688
## Getting Started
7789

7890
1. **Download** the latest release for your platform from the [releases page](https://github.com/johannesjo/parallel-code/releases/latest):

docker/Dockerfile

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# Parallel Code — Docker agent image
2+
# Pre-installs common dev tools so agents don't waste time on setup.
3+
# Build: docker build -t parallel-code-agent:latest docker/
4+
# Size target: ~600 MB (multi-stage not needed; one fat layer is fine for a dev image)
5+
6+
FROM ubuntu:22.04
7+
8+
ENV DEBIAN_FRONTEND=noninteractive \
9+
LANG=C.UTF-8 \
10+
LC_ALL=C.UTF-8
11+
12+
# Core build tools + languages
13+
RUN apt-get update && apt-get install -y --no-install-recommends \
14+
# Basics
15+
ca-certificates curl wget git openssh-client gnupg \
16+
# Build essentials
17+
build-essential pkg-config \
18+
# Python
19+
python3 python3-pip python3-venv \
20+
# Shells & utilities
21+
bash zsh jq ripgrep fd-find fzf tree unzip less \
22+
# Process inspection
23+
procps \
24+
# Networking
25+
dnsutils iputils-ping netcat-openbsd \
26+
# Editor (agents sometimes need a $EDITOR)
27+
nano \
28+
&& rm -rf /var/lib/apt/lists/*
29+
30+
# Add apt repos: NodeSource (Node 22 LTS) and GitHub CLI
31+
RUN mkdir -p /etc/apt/keyrings \
32+
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key \
33+
| gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
34+
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_22.x nodistro main" \
35+
> /etc/apt/sources.list.d/nodesource.list \
36+
&& curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg \
37+
| dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg \
38+
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" \
39+
> /etc/apt/sources.list.d/github-cli.list
40+
41+
# Install Node.js, npm, and GitHub CLI in one layer
42+
RUN apt-get update && apt-get install -y --no-install-recommends \
43+
nodejs \
44+
git-lfs \
45+
gh \
46+
&& rm -rf /var/lib/apt/lists/* \
47+
&& npm install -g npm@10
48+
49+
# Make fd and fdfind available as 'fd'
50+
RUN ln -sf "$(command -v fdfind)" /usr/local/bin/fd 2>/dev/null || true
51+
52+
# Default git config so commits work out of the box inside containers
53+
RUN git config --system init.defaultBranch main \
54+
&& git config --system advice.detachedHead false
55+
56+
# Non-root user — use --user 1000:1000 in docker run as needed
57+
RUN groupadd --gid 1000 agent \
58+
&& useradd --uid 1000 --gid agent --shell /bin/bash --create-home agent
59+
60+
# Set a reasonable default shell
61+
ENV SHELL=/bin/bash
62+
WORKDIR /app
63+
64+
CMD ["bash"]

0 commit comments

Comments
 (0)