Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
node-distribute
Advanced tools
Readme
continuous deployment of node services, make your own vpn ☁️
requires
redis-cli
to be installed locally
npm install node-distribute -g
node-distribute start
// server will now be runningif you want to run this on port 80 use iptables to do the routing
sudo iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 1337
how to configure node-distribute two services are started with node-distribute a git server and a http server to host the admin page (admin:1337) and (git server:7000)
run node-distribute --configure
or node-distribute -c
.
run node-distribute --start
or node-distribute -s
to start the server.
[
{
"subdomain": "...", // test.location:1337
"name": "...", // the name of the repository
"type": String (NODE, STATIC) // the type of application
"anonRead": false, // allow anonymous access
"options": { // optional
"directory": "..." // used for static applications
},
"users": [ // array of users that are allowed to push to this repository
// The default user will be whatever is in user.json with read and write permissions
{
"user": {
"username": "...",
"password": "..."
},
"permissions": [
"R",
"W"
]
}
]
}
]
to deploy an app to the root level just simply use the
*
character in the subdomain field
[
{
"subdomain": "*", // location:1337
...
}
]
to push to this repository simply run
git push http://{user}:{password}@localhost:7000/test.git master
admin account / default repo user
{
"username": "...",
"password": "..."
}
setting a wildcard domain up on localhost (mac)
http://asciithoughts.com/posts/2014/02/23/setting-up-a-wildcard-dns-domain-on-mac-os-x/
If you update the docs, please also copy changes to /test/fixtures/main-app
Thank you!
FAQs
continuous deployment of node services, make your own vpn ☁️
The npm package node-distribute receives a total of 1 weekly downloads. As such, node-distribute popularity was classified as not popular.
We found that node-distribute demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.