
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@functionland/box
Advanced tools
Fula server turn your device to W3 node with configured IPFS server Which
Fula client
knows how to connect to it by its PeerID from anywhere.
Explore the docs »
Use Server with caution and know the risk's becuse we are at development stage and the identity and encription is not avalibale so you become public node that can accessed from anywhere.
By cloning repo and using rush (our monorepo manager) to build and run it.
This is an example of how to list things you need to use the software and how to install them.
rush
npm install -g @microsoft/rush
node 16
git clone https://github.com/functionland/fula.git
rush update
rush build --to box
Enter Server folder and start server
cd apps/box
rushx start
Using npm
npm install -g @functionland/box
mkdir -p /opt/box
cd /opt/box
default.json
cd /opt/box
mkdir config
touch config/default.json
And copy this config into it.
{
"nodes": [],
"network":{
"key_path": "",
"listen": [
"/dns4/wrtc-star1.par.dwebops.pub/tcp/443/wss/p2p-webrtc-star",
"/dns4/wrtc-star2.sjc.dwebops.pub/tcp/443/wss/p2p-webrtc-star"
]
},
"ipfs": {
"http": ""
}
}
cd /opt/box
npx @functionland/box
###Overview
{
"nodes": [], # List of multiaddresses of other box and ipfs node in your network.
"network":{
"key_path": "", # Path to secret-key file
"listen": [
"/dns4/wrtc-star1.par.dwebops.pub/tcp/443/wss/p2p-webrtc-star",
"/dns4/wrtc-star2.sjc.dwebops.pub/tcp/443/wss/p2p-webrtc-star"
] # List of multiaddresses libp2p and ipfs listen on
},
}
To have a private network without exposing your private data to public ipfs First create a key file:
cd /opt/box/config
echo -e "/key/swarm/psk/1.0.0/\n/base16/\n`tr -dc 'a-f0-9' < /dev/urandom | head -c64`" > swarm.key
After creating the key file open configuration and add path to it in config
{
...
"network":{
"key_path": "./config/swarm.key", # Path to secret-key file
...
},
...
}
After adding this you have to add other network node multiaddresses manually for your network to join.
{
...
"nodes": [] # List of multiaddresses of other box and ipfs node in your network.
...
}
If you want to use an external ipfs like go-ipfs or ipfs-cluster proxy api set Http RPC api of your external node:
{
...,
"ipfs": {
"http": "" # external ipfs or ipfs-cluster proxy to use instead of js-ipfs
}
...
}
For more examples, please refer to the Documentation
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature'
)git push origin feature/AmazingFeature
)See LICENSE
for more information.
FAQs
Reference implementation of box server in Node.js
The npm package @functionland/box receives a total of 0 weekly downloads. As such, @functionland/box popularity was classified as not popular.
We found that @functionland/box demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.