A React Router v7 Framework Mode application that generates admin passwords for Fiberhome HG6145F1 routers used by Algérie Télécom.
- React Router v7 Framework Mode with SSR
- React 19
- Vite 8
- Tailwind CSS
- Single Node-based server for both HTML and API responses
- Docker Compose for containerized deployment
docker compose -f docker-compose.local.yml up --buildThe application will be available at http://localhost:3000.
cd frontend
npm install
npm run devThe React Router dev server runs on http://localhost:3000 and serves both the UI and API routes.
cd frontend
npm run build
npm run startThe production server listens on PORT and defaults to 8000.
Request body:
{
"mac": "AA:BB:CC:DD:EE:FF"
}Success response:
{
"mac": "AA:BB:CC:DD:EE:FF",
"password": "generated-password",
"success": true
}Error response:
{
"success": false,
"error": "Invalid MAC address format. Expected format: AA:BB:CC:DD:EE:FF"
}Response:
{
"status": "ok"
}FiberHomePasswordGenerator/
├── cli_version/ # CLI-only Go reference implementation
├── frontend/
│ ├── app/
│ │ ├── lib/
│ │ │ ├── password.js
│ │ │ └── password.server.js
│ │ ├── routes/
│ │ │ ├── _index.jsx
│ │ │ ├── api.generate.js
│ │ │ └── health.js
│ │ ├── app.css
│ │ ├── root.jsx
│ │ └── routes.ts
│ ├── react-router.config.ts
│ ├── vite.config.js
│ ├── Dockerfile
│ └── package.json
├── docker-compose.yml
├── docker-compose.local.yml
└── README.md
- Runtime SSR is enabled in
frontend/react-router.config.ts. - The index route prerender toggle is controlled in
frontend/react-router.config.tsvia the checked-inPRERENDER_INDEX_ROUTEconstant. /api/generateand/healthare implemented as React Router server routes, so no reverse proxy or separate backend service is required.
The original password generation algorithm was created by @theeyepatch07.
This project decompiled the original APK, extracted the algorithm, and now serves both the web UI and API from a single React Router server.
Have password generation methods for other Algérie Télécom routers?
Please share them in our Telegram group: FTTH Algeria Group
https://github.com/rainxh11/AlgerieTelecomRouterPassword
MIT