Skip to content
Merged
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
30 changes: 30 additions & 0 deletions .github/workflows/release-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Create Release PR

on:
workflow_dispatch:

permissions:
contents: read
pull-requests: write

jobs:
create-pr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Create or update PR
uses: repo-sync/pull-request@v2
with:
source_branch: dev
destination_branch: master
pr_title: "chore: merge dev → master"
pr_body: |
Automated PR to merge `dev` into `master`.

---
_Created via Release PR workflow._
pr_label: "release"
github_token: ${{ secrets.GITHUB_TOKEN }}
31 changes: 31 additions & 0 deletions .github/workflows/sync-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Sync Dev from Master

on:
pull_request:
branches: [master]
types: [closed]
workflow_dispatch:

permissions:
contents: write

jobs:
sync:
if: >
github.event_name == 'workflow_dispatch' ||
(github.event.pull_request.merged == true &&
contains(github.event.pull_request.labels.*.name, 'release'))
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}

- name: Sync dev from master
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git checkout dev
git merge master --no-edit
git push origin dev
27 changes: 14 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,28 +29,29 @@ Because life is too short for boring bots.

## Get Started

### 1. Install via pip & git
### One-Line Install

**Linux / macOS:**
```bash
pip install uv
git clone https://github.com/MhankBarBar/zero-ichi
cd zero-ichi
uv sync
curl -fsSL https://raw.githubusercontent.com/MhankBarBar/zero-ichi/master/install.sh | bash
```

### 2. Configure
**Windows (PowerShell):**
```powershell
irm https://raw.githubusercontent.com/MhankBarBar/zero-ichi/master/install.ps1 | iex
```

Copy the example config and make it yours:
### Manual Install

```bash
cp config.json.example config.json
pip install uv
git clone https://github.com/MhankBarBar/zero-ichi
cd zero-ichi
uv sync
cp .env.example .env
```

Then edit `config.json` (keep the `$schema` key at the top for editor IntelliSense).

(Check the [Config Guide](https://zeroichi.mhankbarbar.dev/getting-started/configuration) for the nerdy details)

### 3. Launch
### Launch

```bash
uv run zero-ichi
Expand Down
9 changes: 8 additions & 1 deletion docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,16 @@ export default defineConfig({
['link', { rel: 'icon', href: '/logo.png' }],
['link', { rel: 'preconnect', href: 'https://fonts.googleapis.com' }],
['link', { rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: '' }],
['link', { href: 'https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap', rel: 'stylesheet' }],
['link', { href: 'https://fonts.googleapis.com/css2?family=Press+Start+2P&family=VT323&family=IBM+Plex+Mono:wght@400;500;600&display=swap', rel: 'stylesheet' }],
],

markdown: {
theme: {
light: 'github-dark',
dark: 'github-dark',
},
},

themeConfig: {
logo: '/logo.png',

Expand Down
Loading