Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Sync Braid URLs as files on disk.
Like Dropbox (file sync), plus Google Docs (collaborative editing), all over HTTP.
Install braidfs globally using npm:
npm install -g braidfs
To start the braidfs server:
braidfs serve
To sync a URL:
braidfs sync <url>
When you run braidfs sync <url>
, it creates a local file mirroring the content at that URL. The local file path is determined by the URL structure. For example:
https://example.com/path/file.txt
~/http/example.com/path/file.txt
To unsync a URL:
braidfs unsync <url>
The braidfs server runs on http://localhost:10000
by default and provides the following endpoints:
/<url>
: Synchronizes the specified URL: creates a local file, and provides a Braid-HTTP interface/.braidfs/config
: Displays the current configuration/.braidfs/errors
: Shows the error logAccessing a URL through the proxy (e.g., http://localhost:10000/https://example.com/file.txt
) will automatically add it to the set of synced URLs, similar to using braidfs sync <url>
.
braidfs looks for a configuration file at ~/http/.braidfs/config
. You can set the following options:
port
: The port number for the proxy server (default: 10000)sync
: An object where the keys are URLs to sync, and the values are simply "true"domains
: An object for setting domain-specific configurations, including authentication headersExample config.json
:
{
"port": 10000,
"sync": {
"https://example.com/document1.txt": true,
"https://example.com/document2.txt": true
},
"domains": {
"example.com": {
"auth_headers": {
"Cookie": "secret_pass"
}
}
}
}
The domains
configuration allows you to set authentication headers for specific domains. In the example above, any requests to example.com
will include the specified Cookie
header.
braidfs is designed to run locally and only accepts connections from localhost (127.0.0.1 or ::1) for security reasons. The domains
configuration enables secure communication with servers that require authentication by allowing you to set domain-specific headers.
FAQs
braid technology synchronizing files and webpages
The npm package braidfs receives a total of 54 weekly downloads. As such, braidfs popularity was classified as not popular.
We found that braidfs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.