mirror of
https://github.com/xinux-org/website.git
synced 2026-04-12 04:58:44 +00:00
🐧 | New & Redesigned Wiki & Documentation website [maintainer=@xelopsys]
https://xinux.uz/
- MDX 51.5%
- JavaScript 23.2%
- CSS 18%
- Nix 7.3%
* feat: releases page, fix some issue with design * fix: refactor release components to use data from new releases module * fix: add download icon to cards in Downloads component * fix: featured sort, download text type * fix: cors in download page * fix: hash key * fix: app static images path to app dynamic * fix: featured latest version sort --------- Co-authored-by: neo-unical <javohir@unical.uz> |
||
|---|---|---|
| .github/workflows | ||
| app | ||
| components | ||
| data | ||
| public | ||
| .envrc | ||
| .gitignore | ||
| .npmrc | ||
| default.nix | ||
| flake.lock | ||
| flake.nix | ||
| jsconfig.json | ||
| mdx-components.jsx | ||
| module.nix | ||
| next-sitemap.config.js | ||
| next.config.mjs | ||
| package-lock.json | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| postcss.config.js | ||
| README.md | ||
| shell.nix | ||
| styles.css | ||
xinux.uz
The official website of Xinux.
Local Development
With Nix (Xinux/NixOS or Nix package manager)
Make sure flakes are enabled (already enabled on Xinux). If not, add this to your configuration.nix or flake.nix:
nix.settings.experimental-features = [ "nix-command" "flakes" ];
Enter the dev shell (automatically runs pnpm install and sets up PATH):
nix develop
Start the dev server:
pnpm dev
The site will be available at http://localhost:3000.
Build the Nix package (produces a static export in ./result/ folder):
nix build
Without Nix
Install dependencies:
pnpm install
Start dev server:
pnpm dev
The site will be available at http://localhost:3000.
Build for production:
pnpm build
TODO: @orzklv keep identicity of posts before start-using-home-manager.nix