Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
eeb3e30
cross-platform port: platform abstraction, IPC, keys, linux-extras ga…
Twinx015 Oct 10, 2026
2a3f41c
CI matrix (3 OS) + runtime VLC bootstrap + Windows test gating
Twinx015 Oct 10, 2026
c033ca0
Packaging specs (3 OS) + release workflow + per-OS VLC docs
Twinx015 Oct 10, 2026
59f0014
tests: isolate scratch HOME on Windows (USERPROFILE/HOMEDRIVE)
Twinx015 Oct 10, 2026
db7ac7a
ci: fix pygobject apt dep, macOS VLC lib pinning, Windows VLC download
Twinx015 Oct 10, 2026
cadfc3d
fix macOS SIGUSR1 kill, Windows cp1252 output, CRLF/seek/thumb test gaps
Twinx015 Oct 10, 2026
522f07c
tests: make macOS homebrew fallback test deterministic on real Macs
Twinx015 Oct 10, 2026
0d21271
release: give each OS binary a distinct asset name
Twinx015 Oct 10, 2026
ff17efb
to-do: close 0.2 (CI green x3) and 6.6 (test release live)
Twinx015 Oct 10, 2026
2619f65
rich: rich-driven colors, 'rich' display mode, progress-column config…
Twinx015 Oct 10, 2026
da6b0c8
config: interactive mode now lists settings; pick one to edit
Twinx015 Oct 10, 2026
9589abe
ui: fix questionary picker crash after rich color migration
Twinx015 Oct 10, 2026
e267e19
display: rich panel in --full, consistent info, rich spinners
Twinx015 Oct 10, 2026
a2f78c2
rich panel: dedupe progress columns, shrink to ~40% width
Twinx015 Oct 10, 2026
d57d346
titles: parse with Tile, keep ~/.flow/ignore.txt custom words
Twinx015 Oct 11, 2026
0494129
tags: replace scan/apply with an interactive editor + free-form tags
Twinx015 Oct 11, 2026
dbf15a2
tags: add -m multi-select to tags add/remove
Twinx015 Oct 11, 2026
9a640e3
tags: multi-select by default in the interactive editor
Twinx015 Oct 11, 2026
c265a2e
added rich settings an fixed some falws
Twinx015 Oct 11, 2026
57de485
fixed windows error in test
Twinx015 Oct 11, 2026
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
95 changes: 95 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
name: Bug report
description: Something in Flow is broken or behaves unexpectedly
title: "[Bug]: "
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to report this. Please fill in as much as you can.
For security problems, do not use this form. See the security policy instead.
- type: textarea
id: what-happened
attributes:
label: What happened?
description: Describe the problem and what you expected to happen instead.
validations:
required: true
- type: textarea
id: steps
attributes:
label: Steps to reproduce
description: The exact commands or clicks that trigger the problem.
placeholder: |
1. Run `flow -pl "..."`
2. ...
validations:
required: true
- type: dropdown
id: interface
attributes:
label: Interface
description: Where did you see the problem?
options:
- flow (interactive shell or flags)
- flow-tui
- flow-web
- flow-min
- A plugin
- Not sure
validations:
required: true
- type: dropdown
id: mode
attributes:
label: Mode
options:
- Online
- Offline
- Both
- Not sure
validations:
required: true
- type: input
id: version
attributes:
label: Flow version
description: For example `0.8.4`. Run `pip show flow-twinx`, or give the commit if you run from source.
validations:
required: true
- type: input
id: os
attributes:
label: Operating system
placeholder: e.g. Arch Linux, Ubuntu 24.04, macOS 15
validations:
required: true
- type: input
id: python
attributes:
label: Python version
description: Output of `python --version`.
validations:
required: true
- type: textarea
id: check
attributes:
label: Output of `flow --check`
render: shell
validations:
required: true
- type: textarea
id: logs
attributes:
label: Logs or screenshots
description: Run `config dev true` inside Flow to get more detail. Paste any error output here.
render: shell
- type: checkboxes
id: confirm
attributes:
label: Before submitting
options:
- label: I searched the existing issues and did not find this one.
required: true
- label: This is not a security vulnerability.
required: true
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Report a security vulnerability
url: https://github.com/flow-twinx/flow/security/policy
about: Please report security problems privately, not in a public issue.
45 changes: 45 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Feature request
description: Suggest an idea or an improvement for Flow
title: "[Feature]: "
labels: ["enhancement"]
body:
- type: textarea
id: problem
attributes:
label: What problem are you trying to solve?
description: Describe what you want to do and what gets in the way today.
validations:
required: true
- type: textarea
id: solution
attributes:
label: What would you like to see?
description: Describe the change you have in mind. Sketches of commands, flags or screens are welcome.
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Alternatives you considered
description: Other ways to solve it, including a plugin or a script around `flow-min`.
- type: dropdown
id: interface
attributes:
label: Which interface is this for?
multiple: true
options:
- flow (interactive shell or flags)
- flow-tui
- flow-web
- flow-min
- Plugin API
- All of them
- type: checkboxes
id: confirm
attributes:
label: Before submitting
options:
- label: I searched the existing issues and did not find this request.
required: true
- label: I would be willing to help build this.
required: false
15 changes: 15 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## What does this change?

<!-- A short summary of the change and why it is needed. Link related issues, e.g. "Fixes #123". -->

## How was it tested?

<!-- Commands you ran, interfaces you tried (flow, flow-tui, flow-web, flow-min), online and/or offline mode. -->

## Checklist

- [ ] `uv run pytest` passes
- [ ] I added or updated tests for this change
- [ ] I updated the docs in `docs/` if behaviour, commands, flags or file formats changed
- [ ] The change respects the module boundaries (backend owns logic; front ends stay thin)
- [ ] Nothing here touches the real `~/.flow/` from tests
67 changes: 67 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: CI

on:
push:
branches: [beta, main]
pull_request:

jobs:
test:
name: test (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v5
with:
version: "0.12.x"
enable-cache: true
cache-dependency-glob: "uv.lock"

- name: Install system deps (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y \
vlc \
libgirepository-2.0-dev \
libcairo2-dev \
gobject-introspection \
libdbus-1-dev \
libportaudio2

- name: Install VLC (macOS)
if: runner.os == 'macOS'
run: |
brew install --cask vlc
echo "VLC_PLUGIN_PATH=/Applications/VLC.app/Contents/MacOS/plugins" >> "$GITHUB_ENV"

- name: Install VLC (Windows, portable)
if: runner.os == 'Windows'
shell: pwsh
run: |
$ErrorActionPreference = "Stop"
$vlcZip = "$env:RUNNER_TEMP\vlc.zip"
$vlcDir = "$env:RUNNER_TEMP\vlc"
curl.exe -L --fail --retry 3 -o $vlcZip "https://get.videolan.org/vlc/3.0.21/win64/vlc-3.0.21-win64.zip"
New-Item -ItemType Directory -Force -Path $vlcDir | Out-Null
tar.exe -xf $vlcZip -C $vlcDir
$vlcRoot = (Get-ChildItem $vlcDir -Directory | Select-Object -First 1).FullName
"PYTHON_VLC_LIB_PATH=$vlcRoot\libvlc.dll" | Out-File -FilePath $env:GITHUB_ENV -Append
"VLC_PLUGIN_PATH=$vlcRoot\plugins" | Out-File -FilePath $env:GITHUB_ENV -Append

- name: Sync project
run: uv sync --group dev

- name: Smoke test (libvlc, a real Instance, entry-point imports)
run: |
uv run python -c "import vlc; vlc.Instance('--no-video --quiet'); print('libvlc:', vlc.libvlc_get_version())"
uv run python -c "import cli.main, minimal.main, tui.main, web.main; print('all entry points import ok')"

- name: Run tests
run: uv run pytest -q
96 changes: 96 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
name: Release

on:
push:
tags: ["v*"]

permissions:
contents: write

jobs:
build:
name: build (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
spec: packaging/flow.linux.spec
artifact: flow-linux
binary: dist/flow
- os: macos-latest
spec: packaging/flow.macos.spec
artifact: flow-macos
binary: dist/flow
- os: windows-latest
spec: packaging/flow.windows.spec
artifact: flow-windows.exe
binary: dist/flow.exe
steps:
- uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v5
with:
version: "0.12.x"
enable-cache: true
cache-dependency-glob: "uv.lock"

- name: Install system deps (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y \
vlc \
libgirepository-2.0-dev \
libcairo2-dev \
gobject-introspection \
libdbus-1-dev \
libportaudio2

- name: Install VLC (macOS)
if: runner.os == 'macOS'
run: |
brew install --cask vlc
echo "VLC_PLUGIN_PATH=/Applications/VLC.app/Contents/MacOS/plugins" >> "$GITHUB_ENV"

- name: Install VLC (Windows, portable)
if: runner.os == 'Windows'
shell: pwsh
run: |
$ErrorActionPreference = "Stop"
$vlcZip = "$env:RUNNER_TEMP\vlc.zip"
$vlcDir = "$env:RUNNER_TEMP\vlc"
curl.exe -L --fail --retry 3 -o $vlcZip "https://get.videolan.org/vlc/3.0.21/win64/vlc-3.0.21-win64.zip"
New-Item -ItemType Directory -Force -Path $vlcDir | Out-Null
tar.exe -xf $vlcZip -C $vlcDir
$vlcRoot = (Get-ChildItem $vlcDir -Directory | Select-Object -First 1).FullName
"PYTHON_VLC_LIB_PATH=$vlcRoot\libvlc.dll" | Out-File -FilePath $env:GITHUB_ENV -Append
"VLC_PLUGIN_PATH=$vlcRoot\plugins" | Out-File -FilePath $env:GITHUB_ENV -Append

- name: Sync project
run: uv sync --group dev

- name: Build onefile binary
run: uv run pyinstaller --noconfirm --clean ${{ matrix.spec }}

- name: Smoke test the binary
run: |
${{ matrix.binary }} --check
${{ matrix.binary }} --status

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.artifact }}
path: ${{ matrix.binary }}

- name: Stage release asset with OS-specific name
run: cp "${{ matrix.binary }}" "dist/${{ matrix.artifact }}"

- name: Attach to GitHub Release
uses: softprops/action-gh-release@v2
with:
files: dist/${{ matrix.artifact }}
overwrite_files: true
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Changelog

All notable changes to Flow are recorded here. The format follows
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and the project
follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.8.4]

Current release. Earlier history was not recorded in this file.
Loading
Loading