Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@osaas/cli
Advanced tools
CLI for working and scripting with Open Source Cloud
Prerequisites:
npm install -g @osaas/cli
% osc
Usage: osc [options] [command]
Options:
-v, --version Output the current version
--env <environment> Environment to use
-h, --help display help for command
Commands:
admin
list <serviceId> List all my service instances
create [options] <serviceId> <name> Create a service instance
describe <serviceId> <name> Get details for a service instance
remove <serviceId> <name> Remove a service instance
logs <serviceId> <name> Get logs for a service instance
packager [options] <source> <dest> Create streaming package from ABR bundle on S3
and store on another S3 bucket
compare
live
intercom
transcribe [options] <source> Generate subtitles from video or audio using Open
AI Whisper
db
architect
vod
web
help [command] display help for command
First set the environment variable OSC_ACCESS_TOKEN
with your personal access token. Obtain the personal access token in the Eyevinn Open Source Cloud web console.
% export OSC_ACCESS_TOKEN=<personal-access-token>
Create a MinIO storage server instance called mystore
with the given credentials.
% osc create minio-minio mystore -o RootUser=admin -o RootPassword=abC12345678
Instance created:
{
name: 'mystore',
url: 'https://eyevinnlab-mystore.minio-minio.auto.prod.osaas.io',
resources: {
license: { url: 'https://api-minio-minio.auto.prod.osaas.io/license' },
app: {
url: 'https://eyevinnlab-mystore.minio-minio.auto.prod.osaas.io/'
}
},
RootUser: 'admin',
RootPassword: 'abC12345678'
}
Install the MinIO client to create a bucket on this server. If you already have MinIO client installed you can skip this step.
% brew install minio/stable/mc
Setup an alias to your server. Replace the URL below with the instance URL returned when created the store.
% mc alias set mystore https://eyevinnlab-mystore.minio-minio.auto.prod.osaas.io admin abC12345678
Create a bucket called mybucket
% mc mb mystore/mybucket
Bucket created successfully `mystore/mybucket`.
To access the bucket using the AWS S3 client:
% AWS_ACCESS_KEY_ID=admin AWS_SECRET_ACCESS_KEY=abC12345678 \
aws s3 --endpoint=https://eyevinnlab-mystore.minio-minio.auto.prod.osaas.io \
cp images.jpeg s3://mybucket/
upload: images.jpeg to s3://mybucket/images.jpeg
% AWS_ACCESS_KEY_ID=admin AWS_SECRET_ACCESS_KEY=abC12345678 \
aws s3 --endpoint=https://eyevinnlab-mystore.minio-minio.auto.prod.osaas.io \
ls s3://mybucket/
2025-01-21 10:35:11 12533 images.jpeg
% osc list minio-minio
Allow public read access to bucket.
% mc anonymous set download mystore/mybucket
Setup CDN property in AWS Cloudfront
% osc web cdn-create --provider=cloudfront --origin-path=/mybucket minio-minio mystore
% osc remove minio-minio mystore
Are you sure you want to remove mystore? (yes/no) yes
Create a VOD file for streaming from using a pipeline named demo
. Follow the steps in the Eyevinn Open Source Cloud documentation on how to setup a pipeline.
% osc vod create demo https://testcontent.eyevinn.technology/mp4/VINN.mp4
eyevinn
as an OSC super adminPAT_SECRET=<pat-secret> osc admin list-instances eyevinn channel-engine
asdasd
as an OSC super adminPAT_SECRET=<pat-secret> osc --env dev admin remove-instance asdasd channel-engine mychannel
FAQs
Open Source Cloud CLI
We found that @osaas/cli 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
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.