rendertron
A Headless Chrome rendering solution
File Explorer
Download Latest Version (.zip)- main.yml
- CODEOWNERS
- dependabot.yml
- launch.json
- settings.json
- rendertron
- apache.md
- expressjs.md
- nginx.md
- api-reference.md
- configure.md
- deploy.md
- index.md
- server-setup.md
- middleware-test.ts
- middleware.ts
- CHANGELOG.md
- LICENSE
- package-lock.json
- package.json
- README.md
- tsconfig.json
- app-test.ts
- datastore-cache-test.ts
- filesystem-cache-test.ts
- memory-cache-test.ts
- config.ts
- datastore-cache.ts
- filesystem-cache.ts
- index.html
- memory-cache.ts
- renderer.ts
- rendertron.ts
- basic-script.html
- custom-element.html
- explicit-render-event.html
- http-meta-status-code-multiple.html
- http-meta-status-code.html
- include-base-as-directory.html
- include-base.html
- include-date.html
- include-doctype.html
- include-json-ld.html
- include-script.html
- inject-element-after-load.js
- inject-element-module.js
- inject-element.js
- package-lock.json
- package.json
- request-header.html
- restrict-test.test.html
- script-after-load.html
- shadow-dom-no-polyfill.html
- shadow-dom-polyfill-all.html
- shadow-dom-polyfill-loader.html
- .eslintrc.json
- .gitignore
- app.json
- app.yaml
- CHANGELOG.md
- CONTRIBUTING.md
- LICENSE
- nodemon.json
- package-lock.json
- package.json
- README.md
- tsconfig.json
# Installation Guide
1. Get the code
git clone https://github.com/GoogleChrome/rendertron
Downloads the entire project code from GitHub to your computer.
cd rendertron
Moves into the project folder you just downloaded.
2. Official Install Script
Easy RecommendedPrerequisites
- Node.js Node.js must be installed to use npm.
npm install -g rendertron
Installs the package published on the npm registry globally β no need to clone the source.
After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.
Pulled directly from this repo's README.
3. Node.js
EasyPrerequisites
npm install -g rendertron
Installs the package published on the npm registry globally β no need to clone the source.
npm install
Downloads and installs the libraries listed in package.json.
npm run build
Builds optimized production files.
npm run start
Starts the development/run server.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
