Skip to content
Open
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
20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,23 @@ jobs:
run: |
uv run graphify --help
uv run graphify install

nix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install Nix
uses: cachix/install-nix-action@v27
with:
extra_nix_config: |
experimental-features = nix-command flakes

- name: Check flake
run: nix flake check --all-systems

- name: Build default package
run: nix build .#default

- name: Verify built binary runs
run: nix run .#default -- --help
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ skills/
docs/superpowers/
.vscode/
openspec/
result
# Local benchmark scripts — never commit
scripts/run_k2_*.py
scripts/llm.py
Expand Down
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ graphify export callflow-html
| Python | 3.10+ | `python --version` | [python.org](https://www.python.org/downloads/) |
| uv *(recommended)* | any | `uv --version` | `curl -LsSf https://astral.sh/uv/install.sh \| sh` |
| pipx *(alternative)* | any | `pipx --version` | `pip install pipx` |
| Nix *(alternative)* | 2.4+ (flakes enabled) | `nix --version` | [nixos.org](https://nixos.org/download/) |

**macOS quick install (Homebrew):**
```bash
Expand Down Expand Up @@ -90,6 +91,36 @@ pipx install graphifyy
pip install graphifyy
```

**Nix (flake):**

Run directly without installing:
```bash
nix run github:safishamsi/graphify
```

To expose `graphify` as a package inside another flake, add it as an input and reference its default package:
```nix
{
inputs = {
graphify.url = "github:safishamsi/graphify";
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
};

outputs = { nixpkgs, graphify, ... }: {
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
devShells.${system}.default = pkgs.mkShell {
buildInputs = [ graphify.packages.${system}.default ];
};
};
};
}
```

---

**Step 2 — register the skill with your AI assistant:**

```bash
Expand Down
120 changes: 120 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading