@chxry/autonode

Simple NPM package for deploying code from GitHub to a server.

Usage no npm install needed!

<script type="module">
  import chxryAutonode from 'https://cdn.skypack.dev/@chxry/autonode';
</script>

README

autonode

npm (scoped) npm bundle size (scoped)

Autonode is a Node tool for automatically deploying a javascript Github repo to a server.

Installation:

npm:
npm install @chxry/autonode
yarn:
yarn add @chxry/autonode

How to use:

Run autonode to generate a autonode.json config file.

npm:
npx autonode
yarn:
yarn autonode

Create a github webhook to your server.

Use the port you defined in the autonode.json file.

Run autonode again.

Autonode will now listen to webhooks from github and restart your javascript program when a new commit is made.

License

MIT License