Bluenoise is an open source tool for high performance object storage and management of artifacts SBOM and vulnerabilities scanning
- Run the Server: Start the server by running the following command in your project directory.
cd cmd\server
go run main.go
cd frontend
npm run start-legacy
- Create a Bucket: Use curl or a similar tool to create a bucket.
curl -X POST "http://localhost:8080/create-bucket?bucket=mybucket"
- Upload a File: Use curl or a similar tool to upload a file to the bucket.
curl -F "file=@/path/to/your/file" "http://localhost:8080/upload?bucket=mybucket"
- Download a File: Use curl or a web browser to download a file from the bucket.
curl -O "http://localhost:8080/download?bucket=mybucket&filename=yourfile"
- List Files in a Bucket: Use curl or a web browser to list all files in the bucket.
curl "http://localhost:8080/list?bucket=mybucket"
- To add / update / delete custom metadata, send a POST request to /update-metadata with the following JSON body:
{
"id": "file-id",
"custom_metadata": {
"newKey": "newValue"
},
"action": "add"
}
{
"id": "file-id",
"custom_metadata": {
"keyToDelete": ""
},
"action": "delete"
}
curl "http://localhost:8080/update-metadata"