The source of dogejs.com: plain static HTML, CSS and JavaScript, plus the scripts that preview, check and upload it.
Live demo · Documentation · All DogeJS projects
- Holds the whole website as plain static HTML, CSS and JavaScript in
site/: the home page, a page for every product, the live demos and the images. - Has a strict preview server that behaves like a static CDN, so a page that only works because your dev server guesses MIME types fails here, as it would in production.
- Has a page checker that opens every page in headless Chrome at desktop and phone widths and reports console errors, failed requests and overflow.
- Has a stamp script that adds a build id to every local asset URL, so browsers and the CDN never mix old and new files.
- Has the upload script that sends the changed files to the CDN and purges its cache.
The result is https://dogejs.com/. To preview this repository on your own computer:
git clone https://github.com/DogeJS-Dev/website.git
cd website
python3 tools/strict_server.py site 8080 # or: npm run preview
# then open http://127.0.0.1:8080/A product page: Core, with its live demo.
The two-minute start page for shop owners.
There is nothing to install for the site itself. The preview and the checks need Python 3; the page checker also needs Playwright (pip install playwright) and Google Chrome; the upload script needs Node 18 or newer and no packages.
npm run preview # strict static preview on http://127.0.0.1:8080/
npm run check # in a second terminal: open every page in headless Chrome
npm test # syntax checks of the scriptsnpm testThe static-only principle. Everything on dogejs.com is a file that a CDN can serve: there is no server code and no backend operated by the project. Anything that needs chain data takes a URL that the site owner or the visitor supplies. The ready-made apps include a short list of community servers, and some pages fetch a fiat rate from CoinGecko; each page says when.
Folder layout.
| Path | What it is |
|---|---|
site/ |
Everything that is published: index.html, one folder per page (core/, backends/, node/, cli/, pay/, signin/, wallet/, tools/, shop/, link/, tip/, p/, t/, watch/, start/), plus demos/, buttons/, lib/, images/ and the shared stylesheets and script. |
site/wallet/app/ |
The built DogeJS Wallet (from the wallet repository). |
site/tools/ |
The built browser utilities (from browser-utilities). |
deploy/ |
The upload script, its README and bunny.config.example.json. The real bunny.config.json holds secrets, is listed in .gitignore and is never committed. |
tools/ |
strict_server.py, check_pages.py, stamp.py and refresh-bundles.mjs. |
Files and folders in site/ whose name starts with _ or . are not uploaded (except .well-known).
Refreshing the bundles. The product bundles on the site are copies of build output from the product repositories. With the product repositories checked out next to each other and built (npm install && npm run build), run:
node tools/refresh-bundles.mjs --repos .. # pay.js, signin.js, shop/watch/link/p/t/tip scripts, lib/core.js, lib/backends.jsThree bundles are written into this repository by the product repository itself, with SITE_DIR pointing at a checkout of this one:
cd ../wallet && SITE_DIR=../website npm run build:site # site/wallet/app
cd ../browser-utilities && SITE_DIR=../website npm run build:site # site/tools
cd ../light-node && SITE_DIR=../website npm run build:site # site/lib/node-verify.jsThen run npm run stamp, preview, and check.
Deploying. Copy deploy/bunny.config.example.json to deploy/bunny.config.json and fill it in (storage zone, password, and optionally the account key for the cache purge; see deploy/README.md). Then:
npm run stamp # stamp asset URLs with a build id (it edits site/ in place)
npm run deploy:dry-run # see what would be uploaded
npm run deploy # upload what changed, then purge the cache- Publishes the output of wallet, browser-utilities, light-node, pay-button, sign-in, shop-mode, payment-links, watch, core and backends.
This is the live source of the website. The pages describe projects that are not yet published to npm and have had no external security review; each product repository states its own status. The page checker needs Chrome and Playwright, so it is not part of npm test. The coin mark's licence and the Dogecoin trademark guidelines still need to be confirmed before wide distribution (see THIRD_PARTY_LICENSES in the pay-button repository).
Bug reports, ideas and pull requests are welcome. Read the contributing guide first: small, tested, explained.
Report a security problem privately to hello@dogejs.com, never in a public issue. See SECURITY.md.
The maintainers keep one combined development workspace for all DogeJS projects and publish each project from it as a repository of its own. An accepted pull request is applied there and appears here with the next release.
MIT, see LICENSE.



