This is the documentation website for the Ψhē Theory — The minimal kernel of the universe as self-referential collapse.
Live Site: https://auric.github.io/alltheory/
- Bilingual: Full support for English and Simplified Chinese
- 64 Chapters: Complete exposition of ψ = ψ(ψ) theory
- Mathematical Rendering: LaTeX support for complex equations
- Dark Mode: Automatic theme switching
- Mobile Responsive: Works on all devices
npm installnpm startThis starts a local development server at http://localhost:3000/. Most changes are reflected live without having to restart the server.
To run with a specific locale:
npm start -- --locale zh-Hans # For Chinese
npm start -- --locale en # For Englishnpm run buildThis generates static content into the build directory for both locales.
npm run serveThis serves the production build locally at http://localhost:3000/alltheory/.
The site is automatically deployed to GitHub Pages when changes are pushed to the main branch.
If you need to deploy manually:
GIT_USER=<Your GitHub username> npm run deploy- Go to repository Settings → Pages
- Under "Build and deployment", select "GitHub Actions" as the source
- Push to
mainbranch to trigger automatic deployment
docs/
├── intro.md # Project introduction
├── project-structure.md # Documentation structure guide
└── 10-psi-core-theory/ # Core theory (64 chapters)
├── 11-primordial-identity/ # Chapters 1-8
├── 12-language-emergence/ # Chapters 9-16
├── 13-structural-collapse/ # Chapters 17-24
├── 14-observer-formation/ # Chapters 25-32
├── 15-reality-crystallization/# Chapters 33-40
├── 16-complexity-unfolding/ # Chapters 41-48
├── 17-meta-recursion/ # Chapters 49-56
└── 18-unity-return/ # Chapters 57-64
- Add markdown files to appropriate directories
- Update navigation in
sidebars.tsif needed - For bilingual content, add translations to
i18n/zh-Hans/
npm run typechecknpm run write-translations- Fork the repository
- Create a feature branch
- Make your changes
- Run tests:
npm run build - Submit a pull request
This project is open source. See LICENSE file for details.
"ψ = ψ(ψ) - The universe knowing itself through itself"