Loading repository dataβ¦
Loading repository dataβ¦
mwakidenis / repository
π₯ A growing collection of 100+ offline-first networking tools & utilities for developers who care about reliability beyond the internet. Built for disconnected systems, edge networks, and resilient infrastructure β mesh, peer-to-peer, LAN, and practical local-first tooling. LAN > Cloud. π§ π‘π₯π οΈ
Run docker run -p 3000:3000 mwakidenis/networking-toolbox
Or, use our example docker-compose.yml
Fork the repo, and import into Vercel, Netlify or any static hosting provider of your choice.
Follow the dev steps below.
Then run npm run build:node to compile output.
You can then start the server with node build.
Fork the repo.
Head to the Actions tab, find the "Deploy to GitHub Pages" workflow, and trigger it.
Then go to Settings > Pages > Source and select the gh-pages branch.
Visit https://<your-username>.github.io/networking-toolbox/ to see your deployed app.
Follow the dev steps below.
Then run npm run build:static to compile output.
And upload the contents of ./build to any web server, CDN or static host.
Follow the dev steps below.
Then run docker build -t networking-toolbox . to build the image.
You can then start the container with docker run -p 3000:3000 networking-toolbox.
You can build the app from source for a variety of platforms. This is done via SvelteKit adapters.
First, follow the dev steps below.
Then, simply set the DEPLOY_ENV environmental variable, to one of vercel, node, docker, netlify, static or just auto, and build the app
For example: DEPLOY_ENV='node' npm run build
You'll need Node.js installed, as well as Git and optionally Docker. The app is build with Svelte + SvelteKit in TypeScript.
git clone git@github.com:mwakidenis/networking-toolbox.git
cd final-networking-toolbox
yarn
yarn dev
Before merging, code must pass all unit and end-to-end tests, as well as linting, type checks, svelte check and build checks.
yarn test
npm run dev - Starts the development server with hot reload/HMRnpm run build - Builds the app for production
DEPLOY_ENV var (see above)npm run preview - Test your build locally (build required first)npm start - Starts the production app (build required first)npm test β Run unit tests with Vitestnpm run test:api β Run API testsnpm run test:e2e β Run Playwright end-to-end testsnpm run test:coverage β Generate test coveragenpm run check β SvelteKit checks (types & diagnostics)npm run types β TypeScript-specific strict checkingnpm run lint β ESLint on all TS and Svelte filesnpm run format β Format files with Prettiernpm run build-check β Quitley check build worksContributions are welcome (and much appreciated!) Follow the dev instructions above to get started, then check the Contributing Guidelines, and submit your changes as a PR. If you're new to GitHub or open source, take a look at git-in.to for a guide on getting started.