Prepare ByteGeist Toolbox v1.0.0 release
This commit is contained in:
1 parent
7b77c2261a
commit
738b058224
11 files changed
+450
-8
No files matched your search
@@ -0,0 +1,61 @@
|
||||
# Deployment
|
||||
|
||||
## Local Use
|
||||
|
||||
```bash
|
||||
npm install
|
||||
npm test
|
||||
npm run dev
|
||||
```
|
||||
|
||||
The local development server listens on port `3001` unless `PORT` is set.
|
||||
|
||||
## Production Update
|
||||
|
||||
```bash
|
||||
cd /srv/bytegeist-toolbox
|
||||
git pull origin main
|
||||
docker compose down
|
||||
docker compose up -d --build
|
||||
docker compose ps
|
||||
docker compose logs --tail=100
|
||||
```
|
||||
|
||||
## Docker Network
|
||||
|
||||
The application joins the external Nginx Proxy Manager Docker network:
|
||||
|
||||
```text
|
||||
nginx-proxy-manager_default
|
||||
```
|
||||
|
||||
Nginx Proxy Manager should proxy to:
|
||||
|
||||
```text
|
||||
http://bytegeist-toolbox:3001
|
||||
```
|
||||
|
||||
Do not assume the Nginx Proxy Manager container name. Confirm container names with:
|
||||
|
||||
```bash
|
||||
docker ps
|
||||
```
|
||||
|
||||
## Internal Health Check
|
||||
|
||||
```bash
|
||||
docker exec -it npm curl -sS http://bytegeist-toolbox:3001/health
|
||||
```
|
||||
|
||||
The `npm` container name is environment-specific. Confirm it with:
|
||||
|
||||
```bash
|
||||
docker ps
|
||||
```
|
||||
|
||||
## Public Verification
|
||||
|
||||
```bash
|
||||
curl -I https://toolbox.casko.dev
|
||||
```
|
||||
|
||||
@@ -0,0 +1,79 @@
|
||||
# ByteGeist Toolbox
|
||||
|
||||
## Project Description
|
||||
|
||||
ByteGeist Toolbox is a lightweight website and network diagnostics app that combines a website status checker, DNS lookup, SSL certificate checker, and HTTP headers checker in one plain HTML, CSS, JavaScript, Node.js, and Express application.
|
||||
|
||||
## Key Features
|
||||
|
||||
- Website status checks with status code, response time, redirects, final URL, and timestamp.
|
||||
- DNS lookups for A, AAAA, CNAME, MX, TXT, and NS records.
|
||||
- SSL certificate inspection with issuer, subject, validity dates, trust status, TLS protocol, cipher, resolved address, and SHA-256 fingerprint.
|
||||
- HTTP response header inspection with common security-header presence indicators and raw header output.
|
||||
- Responsive browser interface for desktop, tablet, and phone widths.
|
||||
|
||||
## Security Work
|
||||
|
||||
- Restricted URL checks to HTTP and HTTPS.
|
||||
- Blocked URL credentials and nonstandard ports.
|
||||
- Validated DNS resolution before outbound requests.
|
||||
- Blocked loopback, private, link-local, local, reserved, and related non-public address ranges.
|
||||
- Revalidated redirect destinations before following them.
|
||||
- Added redirect limits, network timeouts, rate limiting, and safe client-facing errors.
|
||||
- Used Node APIs for network work without shell execution.
|
||||
|
||||
## Testing Work
|
||||
|
||||
- Uses Node's built-in test runner.
|
||||
- Current automated test count: 62 tests.
|
||||
- Covers hostname validation, URL security checks, DNS helpers, SSL helper logic, HTTP header analysis, and public-network integration behavior.
|
||||
- Current full test suite requires internet access.
|
||||
|
||||
## Deployment Architecture
|
||||
|
||||
- Node.js and Express app served from a Docker container.
|
||||
- Production port: `3001`.
|
||||
- Docker Compose service: `bytegeist-toolbox`.
|
||||
- Reverse proxy: Nginx Proxy Manager over the external `nginx-proxy-manager_default` Docker network.
|
||||
- Public site: `https://toolbox.casko.dev`.
|
||||
|
||||
## Technologies Used
|
||||
|
||||
- HTML
|
||||
- CSS
|
||||
- JavaScript
|
||||
- Node.js
|
||||
- Express
|
||||
- Docker
|
||||
- Docker Compose
|
||||
- Node test runner
|
||||
|
||||
## Resume Entry
|
||||
|
||||
ByteGeist Toolbox - Built and prepared a production-ready Node.js diagnostics toolbox with four public website inspection tools, SSRF-resistant outbound request validation, Docker deployment, and automated test coverage.
|
||||
|
||||
## Resume Bullets
|
||||
|
||||
- Built a lightweight Express application providing website status, DNS, SSL certificate, and HTTP header inspection tools.
|
||||
- Implemented outbound request controls to block private, loopback, link-local, reserved, local, credentialed, and nonstandard-port destinations.
|
||||
- Added redirect revalidation, redirect limits, network timeouts, rate limiting, and safe client-facing error handling.
|
||||
- Designed a responsive plain HTML, CSS, and JavaScript interface without adding frontend frameworks.
|
||||
- Wrote and maintained 62 automated tests with coverage for validation, network helper logic, and integration behavior.
|
||||
- Containerized the app with Docker and Docker Compose for deployment behind Nginx Proxy Manager.
|
||||
- Documented release, deployment, security controls, limitations, and production verification steps for v1.0.0.
|
||||
|
||||
## LinkedIn Project Description
|
||||
|
||||
ByteGeist Toolbox is a lightweight Node.js and Express diagnostics app for checking website status, DNS records, SSL certificates, and HTTP headers. I prepared the project for a v1.0.0 release with Docker deployment docs, SSRF-resistant request validation, rate limiting, responsive UI checks, and 62 automated tests.
|
||||
|
||||
## Skills Demonstrated
|
||||
|
||||
- Node.js backend development
|
||||
- Express routing and middleware
|
||||
- Secure outbound request validation
|
||||
- DNS, HTTP, and TLS diagnostics
|
||||
- Docker deployment
|
||||
- Automated testing
|
||||
- Responsive frontend implementation
|
||||
- Release documentation
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
# ByteGeist Toolbox v1.0.0 Release Checklist
|
||||
|
||||
- [ ] Automated tests pass.
|
||||
- [ ] Exact test count recorded.
|
||||
- [ ] All four tools work locally.
|
||||
- [ ] All four tools work in production.
|
||||
- [ ] Private and loopback destinations are blocked.
|
||||
- [ ] Invalid inputs return readable errors.
|
||||
- [ ] Mobile layout checked at 375px, 390px, and 768px.
|
||||
- [ ] Docker rebuild succeeds.
|
||||
- [ ] Health endpoint succeeds.
|
||||
- [ ] Nginx Proxy Manager can reach `bytegeist-toolbox:3001`.
|
||||
- [ ] README screenshots exist.
|
||||
- [ ] Gitea updated.
|
||||
- [ ] GitHub mirror updated.
|
||||
- [ ] Production deployment verified.
|
||||
- [ ] v1.0.0 tag created and pushed.
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
Reference in new issue
Block a user