A dashboard for viewing DoubleZero Request for Comments (RFC) documents. Built with React, TypeScript, Vite, and Tailwind CSS.
Live Demo: https://dz-rfcs.stakingfacilities.com/
- Fetches RFC documents from the DoubleZero GitHub repository
- Groups RFCs by status (Active, Draft, etc.)
- Full markdown rendering with syntax highlighting
- Commit history timeline with diff viewer
- Node.js 22+ (or 20.19+)
- A web server (Nginx, Caddy, or similar)
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
sudo apt install -y nodejs
node --version # Should show v22.x.xgit clone git@gitlab.sf-intra.net:nodeops/doublezero-rfcs-dashboard.git
cd doublezero-rfcs-dashboard
npm install
npm run buildThis creates a dist/ folder with static files.
Copy the build output to your web root:
sudo cp -r dist/* /var/www/html/Or create a dedicated directory and configure Nginx:
sudo mkdir -p /var/www/doublezero-rfcs
sudo cp -r dist/* /var/www/doublezero-rfcs/Create Nginx config /etc/nginx/sites-available/doublezero-rfcs:
server {
listen 80;
server_name your-domain.com;
root /var/www/doublezero-rfcs;
index index.html;
location / {
try_files $uri $uri/ /index.html;
}
}Enable and restart:
sudo ln -s /etc/nginx/sites-available/doublezero-rfcs /etc/nginx/sites-enabled/
sudo nginx -t
sudo systemctl restart nginxFor quick testing without configuring Nginx:
npm install -g serve
serve -s dist -l 3000npm install
npm run devThe dev server runs at http://localhost:5173
The dashboard fetches RFCs live from GitHub on each page load. To add new RFC files, update the RFC_FILES array in src/App.tsx.