{
  "markdown": "# Ancient Greek Philosophy Wiki\n\nA personal research wiki covering Ancient Greek Philosophy (Presocratics,\nSophists, Socratic schools, Hellenistic schools), maintained incrementally by\nan LLM using [OpenWiki](https://github.com/langchain-ai/openwiki) in code mode.\n\n- **Sources** — the plain-text and Markdown files at the repo root\n  (`Anaximandros.txt`, `filosofia.txt`, `filosofia3.md`, `Pythagoras.md`,\n  `aristotelis.md`, ...) are what the LLM reads.\n- **Generated wiki** — the `openwiki/` directory is synthesized from those\n  sources and is hand-readable Markdown you own.\n- **Start here:** [`openwiki/quickstart.md`](openwiki/quickstart.md)\n\n## Features\n\n- **Google Open Knowledge Format (OKF)**: Wiki pages follow the\n  [Google OKF](https://cloud.google.com/blog/products/data-analytics/how-the-open-knowledge-format-can-improve-data-sharing)\n  specification for knowledge sharing.\n- **Entity Pages**: People, orgs, places, and products as dedicated wiki pages,\n  auto-extracted and kept in sync.\n\n## Local usage\n\nInstall OpenWiki once:\n\n```sh\nnpm install --global openwiki\n```\n\nCreate `~/.openwiki/.env` with your provider credentials (example — DeepSeek\nvia the OpenAI-compatible provider, as used for this wiki):\n\n```ini\nOPENWIKI_PROVIDER=\"openai-compatible\"\nOPENAI_COMPATIBLE_BASE_URL=\"https://api.deepseek.com\"\nOPENAI_COMPATIBLE_API_KEY=\"<your-key>\"\nOPENWIKI_MODEL_ID=\"deepseek-chat\"\n```\n\nFrom the repo root:\n\n```sh\nopenwiki code \"what do we know about Thales?\"   # query the wiki\nopenwiki code --update --print                  # regenerate/refresh the wiki\nopenwiki visualize                              # interactive graph + reader in the browser\n```\n\n`openwiki visualize` serves the wiki on `http://127.0.0.1:4321` (never exposed\non the network). It needs an internet connection (libraries load from a CDN).\n\n## Static visualizer\n\n`docs/openwiki-visualizer/` is a self-contained snapshot of the graph + reader,\nre-exported with:\n\n```sh\nnode ~/Desktop/openwiki/dist/cli/cli.js visualize openwiki --export docs/openwiki-visualizer\n```\n\nThe export writes five files: `index.html` (a bare shell), `client.js` and\n`client-lib.js` (the app logic), `styles.css`, and `graph.json` (the actual\ndata — pages and links). The page builds itself in the browser at runtime by\nfetching `./graph.json`, so `index.html` looks empty in an editor.\n\nDo **not** open `index.html` by double-clicking it: browsers block `fetch()`\non `file://` URLs, so the graph can't load and the page stays blank. Serve the\ndirectory over HTTP:\n\n```sh\npython3 -m http.server 8000 --directory docs/openwiki-visualizer\n# then open http://localhost:8000\n```\n\nOr enable GitHub Pages (Settings → Pages → Deploy from branch, `/docs`) to\nbrowse it online — Pages serves it over HTTP, so it works out of the box.\n\n## Gephi export\n\nExtract a person/concept graph for [Gephi](https://gephi.org):\n\n```sh\npython3 graph_export.py openwiki\n```\n\nThis writes `gephi_nodes.csv` (Id, Label, Type, Period, Description) and\n`gephi_edges.csv` (Source, Target, Type, Weight). To load them:\n\n1. Open Gephi → New Project\n2. **File → Import Spreadsheet** → `gephi_nodes.csv` (select \"Nodes table\")\n3. **File → Import Spreadsheet** → `gephi_edges.csv` (select \"Edges table\")\n4. Run a layout (e.g. ForceAtlas 2 or Yifan Hu)\n5. Color by Type column, size by degree\n\nThe committed CSVs are regenerated snapshots; rerun the script after the wiki\nchanges to refresh them.\n\n## Auto-update (GitHub Actions)\n\n`.github/workflows/openwiki-update.yml` refreshes the wiki on demand\n(workflow_dispatch). It uses the same provider settings as local usage and\nneeds one repository secret before it will run:\n\n- **`OPENAI_COMPATIBLE_API_KEY`** — your API key (Settings → Secrets and\n  variables → Actions)\n\nTo re-enable the daily schedule, uncomment the `schedule:` lines in the\nworkflow.\n\n## How the pieces fit\n\n| Piece | Purpose |\n| --- | --- |\n| root `*.txt` / `*.md` | Source material the LLM reads |\n| `openwiki/` | Generated wiki (content, architecture, quickstart) |\n| `AGENTS.md` / `CLAUDE.md` | Pointers for coding agents; OpenWiki maintains them |\n| `.github/workflows/openwiki-update.yml` | Scheduled/manual wiki refresh via Actions |\n| `graph_export.py` + `gephi_*.csv` | Gephi node/edge export |\n| `docs/openwiki-visualizer/` | Static interactive graph (Pages-ready) |\n",
  "bytes": 4321,
  "sha": "6c86e2a6348a4634b949c8953f9253a483c3bd8374dd58e717a23c897744d44b",
  "repo_slug": "pantelisgeorg/openwiki_bundle",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/okf_pantelisgeorg_openwiki_bundle_openwiki_i_84d56ba5/readme"
}