diff --git a/BUILD.md b/BUILD.md index 2db87f5..45653c4 100644 --- a/BUILD.md +++ b/BUILD.md @@ -24,7 +24,7 @@ This repository comprises 2 projects: ### 1. Clone ```shell -git clone git@github.com:upload-io/angular-uploader.git +git clone git@github.com:bytescale/angular-uploader.git cd angular-uploader ``` diff --git a/LICENSE b/LICENSE index c0d6f7e..f4648e6 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2020 Upload Ltd +Copyright (c) 2023 Bytescale Ltd Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 464088c..7ee9e16 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@

- - Angular Uploader + + Angular Uploader

Angular File Upload Widget
(With Integrated Cloud Storage)


- + @@ -14,7 +14,7 @@ - + @@ -27,7 +27,7 @@ - + @@ -43,13 +43,13 @@ -

Upload Widget Demo

+

Upload Widget Demo

-

100% Serverless File Upload Widget
Powered by Upload.io

+

100% Serverless File Upload Widget
Powered by Bytescale


-

DMCA CompliantGDPR Compliant99.9% Uptime SLA +

DMCA CompliantGDPR Compliant99.9% Uptime SLA
Supports: Rate Limiting, Volume Limiting, File Size & Type Limiting, JWT Auth, and more...
@@ -105,8 +105,8 @@ The `uploadButton` directive displays a file upload modal on click. Inputs: -- `uploader` (required): an instance of the [`Uploader` class](https://github.com/upload-io/uploader/blob/main/lib/src/Uploader.tsx). -- `uploadOptions` (optional): an object following the [`UploadWidgetConfig` interface](https://github.com/upload-io/uploader/blob/main/lib/src/UploadWidgetConfig.ts). +- `uploader` (required): an instance of the [`Uploader` class](https://github.com/bytescale/uploader/blob/main/lib/src/Uploader.tsx). +- `uploadOptions` (optional): an object following the [`UploadWidgetConfig` interface](https://github.com/bytescale/uploader/blob/main/lib/src/UploadWidgetConfig.ts). - `uploadComplete` (optional): a callback containing a single parameter — an array of uploaded files. ```typescript @@ -129,7 +129,7 @@ import { Uploader, UploadWidgetConfig, UploadWidgetResult } from 'uploader'; }) export class AppComponent { uploader = Uploader({ - apiKey: 'free', // <-- Get production-ready API keys from Upload.io + apiKey: 'free', // <-- Get production-ready API keys from Bytescale }); options: UploadWidgetConfig = { multi: false, @@ -147,8 +147,8 @@ The `upload-dropzone` component renders an inline drag-and-drop file uploader. Inputs: -- `uploader` (required): an instance of the [`Uploader` class](https://github.com/upload-io/uploader/blob/main/lib/src/Uploader.tsx). -- `options` (optional): an object following the [`UploadWidgetConfig` interface](https://github.com/upload-io/uploader/blob/main/lib/src/UploadWidgetConfig.ts). +- `uploader` (required): an instance of the [`Uploader` class](https://github.com/bytescale/uploader/blob/main/lib/src/Uploader.tsx). +- `options` (optional): an object following the [`UploadWidgetConfig` interface](https://github.com/bytescale/uploader/blob/main/lib/src/UploadWidgetConfig.ts). - `onComplete` (optional): a callback containing the array of uploaded files as its parameter. - `onUpdate` (optional): same as above, but called after every file upload or removal. - `width` (optional): width of the dropzone. @@ -203,7 +203,7 @@ The callbacks receive a `Array`: originalFile: { fileUrl: "https://upcdn.io/FW25...", // Uploaded file URL. filePath: "/uploads/example.jpg", // Uploaded file path (relative to your raw file directory). - accountId: "FW251aX", // Upload.io account the file was uploaded to. + accountId: "FW251aX", // Bytescale account the file was uploaded to. originalFileName: "example.jpg", // Original file name from the user's machine. file: { ... }, // Original DOM file object from the element. size: 12345, // File size in bytes. @@ -225,7 +225,7 @@ The callbacks receive a `Array`: ## 🌐 File Management API -Upload.io provides an [Upload API](https://upload.io/docs/upload-api), which supports the following: +Bytescale provides an [Upload API](https://www.bytescale.com/docs/upload-api), which supports the following: - File uploading. - File listing. @@ -237,26 +237,26 @@ Uploading a `"Hello World"` text file is as simple as: ```shell curl --data "Hello World" \ -u apikey:free \ - -X POST "https://api.upload.io/v1/files/basic" + -X POST "https://api.bytescale.com/v1/files/basic" ``` _Note: Remember to set `-H "Content-Type: mime/type"` when uploading other file types!_ -[Read the Upload API docs »](https://upload.io/docs/upload-api) +[Read the Upload API docs »](https://www.bytescale.com/docs/upload-api) ## 🌐 Image Processing API (Resize, Crop, etc.) -Upload.io also provides an [Image Processing API](https://upload.io/docs/image-processing-api), which supports the following: +Bytescale also provides an [Image Processing API](https://www.bytescale.com/docs/image-processing-api), which supports the following: -- [Image Resizing](https://upload.io/docs/image-processing-api#image-resizing-api) -- [Image Cropping](https://upload.io/docs/image-processing-api#image-cropping-api) -- [Image Compression](https://upload.io/docs/image-processing-api#image-compression-api) -- [Image Conversion](https://upload.io/docs/image-processing-api#f) -- [Image Manipulation (blur, sharpen, brightness, etc.)](https://upload.io/docs/image-processing-api#image-manipulation-api) -- [Layering (e.g for text & image watermarks)](https://upload.io/docs/image-processing-api#image) +- [Image Resizing](https://www.bytescale.com/docs/image-processing-api#image-resizing-api) +- [Image Cropping](https://www.bytescale.com/docs/image-processing-api#image-cropping-api) +- [Image Compression](https://www.bytescale.com/docs/image-processing-api#image-compression-api) +- [Image Conversion](https://www.bytescale.com/docs/image-processing-api#f) +- [Image Manipulation (blur, sharpen, brightness, etc.)](https://www.bytescale.com/docs/image-processing-api#image-manipulation-api) +- [Layering (e.g for text & image watermarks)](https://www.bytescale.com/docs/image-processing-api#image) - and more... -[Read the Image Processing API docs »](https://upload.io/docs/image-processing-api) +[Read the Image Processing API docs »](https://www.bytescale.com/docs/image-processing-api) ### Original Image @@ -270,7 +270,7 @@ https://upcdn.io/W142hJk/raw/example/city-landscape.jpg ### Processed Image -Using the [Image Processing API](https://upload.io/docs/image-processing-api), you can produce [this image](https://upcdn.io/W142hJk/image/example/city-landscape.jpg?w=900&h=600&fit=crop&f=webp&q=80&blur=4&text=WATERMARK&layer-opacity=80&blend=overlay&layer-rotate=315&font-size=100&padding=10&font-weight=900&color=ffffff&repeat=true&text=Chicago&gravity=bottom&padding-x=50&padding-bottom=20&font=/example/fonts/Lobster.ttf&color=ffe400): +Using the [Image Processing API](https://www.bytescale.com/docs/image-processing-api), you can produce [this image](https://upcdn.io/W142hJk/image/example/city-landscape.jpg?w=900&h=600&fit=crop&f=webp&q=80&blur=4&text=WATERMARK&layer-opacity=80&blend=overlay&layer-rotate=315&font-size=100&padding=10&font-weight=900&color=ffffff&repeat=true&text=Chicago&gravity=bottom&padding-x=50&padding-bottom=20&font=/example/fonts/Lobster.ttf&color=ffe400): @@ -301,25 +301,25 @@ https://upcdn.io/W142hJk/image/example/city-landscape.jpg ## Full Documentation -[Uploader Documentation »](https://upload.io/docs/upload-widget) +[Uploader Documentation »](https://www.bytescale.com/docs/upload-widget) ## Need a Headless (no UI) File Upload Library? -[Try Upload.js »](https://upload.io/upload-js) +[Try Upload.js »](https://www.bytescale.com/upload-js) ## Can I use my own storage? -**Yes:** Upload.io supports AWS S3 on [Upload Plus](https://upload.io/pricing) plans. +**Yes:** Bytescale supports AWS S3, Cloudflare R2, Google Storage, and DigitalOcean Spaces. -Upload.io offers its own built-in storage for ease and simplicity (default). +To configure a custom storage backend, please see: -You can change this to AWS S3 on a folder-by-folder basis in the Upload Dashboard. +[https://www.bytescale.com/docs/storage/sources](https://www.bytescale.com/docs/storage/sources) -## 👋 Create your Upload.io Account +## 👋 Create your Bytescale Account -Angular Uploader is the Angular file upload component for Upload.io — The File Upload Service for Web Apps: +Angular Uploader is the Angular Upload Widget for Bytescale: the best way to serve images, videos, and audio for web apps. -**[Create an Upload.io account »](https://upload.io/upload-js/get-started)** +**[Create a Bytescale account »](https://www.bytescale.com/)** ## Building From Source diff --git a/projects/angular-uploader/package.json b/projects/angular-uploader/package.json index daf8e98..1210ebc 100644 --- a/projects/angular-uploader/package.json +++ b/projects/angular-uploader/package.json @@ -1,17 +1,17 @@ { "name": "angular-uploader", "version": "8.40.0", - "author": "Upload (https://upload.io)", + "author": "Bytescale (https://www.bytescale.com)", "description": "Angular File Upload UI Widget — Lightweight & supports: drag and drop, multiple uploads, image cropping, customization & more 🚀 Comes with Cloud Storage 🌐", "license": "MIT", - "homepage": "https://upload.io/uploader", + "homepage": "https://www.bytescale.com/docs/upload-widget/frameworks/angular", "readmeFilename": "README.md", "repository": { "type": "git", - "url": "git+https://github.com/upload-io/angular-uploader.git" + "url": "git+https://github.com/bytescale/angular-uploader.git" }, "bugs": { - "url": "https://github.com/upload-io/angular-uploader/issues" + "url": "https://github.com/bytescale/angular-uploader/issues" }, "files": [ "*"