Skip to content

Commit

Permalink
Rebrand: Upload.io -> Bytescale
Browse files Browse the repository at this point in the history
  • Loading branch information
ljwagerfield committed Aug 16, 2023
1 parent b15c8c6 commit e41478a
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 39 deletions.
2 changes: 1 addition & 1 deletion BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This repository contains a hot-reloading sandbox for developing the `@upload-io/
### 1. Clone

```shell
git clone git@github.com:upload-io/jquery-uploader.git
git clone git@github.com:bytescale/jquery-uploader.git
cd jquery-uploader
```

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -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
Expand Down
62 changes: 31 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
<h1 align="center">
<a href="https://upload.io/uploader">
<img alt="jQuery Uploader" width="264" height="106" src="https://raw.githubusercontent.com/upload-io/jquery-uploader/main/.github/assets/logo.svg">
<a href="https://www.bytescale.com/docs/upload-widget/frameworks/jquery">
<img alt="jQuery Uploader" width="264" height="106" src="https://raw.githubusercontent.com/bytescale/jquery-uploader/main/.github/assets/logo.svg">
</a>
</h1>
<p align="center"><b>jQuery File Upload Widget</b><br/> (With Integrated Cloud Storage)</p>
<br/>
<p align="center">
<a href="https://github.com/upload-io/jquery-uploader/">
<a href="https://github.com/bytescale/jquery-uploader/">
<img src="https://img.shields.io/badge/gzipped-33%20kb-4ba0f6" />
</a>

<a href="https://www.npmjs.com/package/@upload-io/jquery-uploader">
<img src="https://img.shields.io/badge/@upload--io/jquery--uploader-npm-4ba0f6" />
</a>

<a href="https://github.com/upload-io/jquery-uploader/actions/workflows/ci.yml">
<a href="https://github.com/bytescale/jquery-uploader/actions/workflows/ci.yml">
<img src="https://img.shields.io/badge/build-passing-4ba0f6" />
</a>

Expand All @@ -27,7 +27,7 @@
<img src="https://img.shields.io/badge/TypeScript-included-4ba0f6" />
</a>

<a href="https://github.com/upload-io/jquery-uploader/actions/workflows/ci.yml">
<a href="https://github.com/bytescale/jquery-uploader/actions/workflows/ci.yml">
<img src="https://img.shields.io/npms-io/maintenance-score/@upload-io/jquery-uploader?color=4ba0f6" />
</a>

Expand All @@ -43,13 +43,13 @@
</a>
</h1>

<p align="center"><a href="https://upload.io/uploader"><img alt="Upload Widget Demo" width="100%" src="https://raw.githubusercontent.com/upload-io/jquery-uploader/main/.github/assets/demo.webp"></a></p>
<p align="center"><a href="https://www.bytescale.com/docs/upload-widget/frameworks/jquery"><img alt="Upload Widget Demo" width="100%" src="https://raw.githubusercontent.com/bytescale/jquery-uploader/main/.github/assets/demo.webp"></a></p>

<p align="center">100% Serverless File Upload Widget <br /> Powered by <a href="https://upload.io/">Upload.io</a><br/><br/></p>
<p align="center">100% Serverless File Upload Widget <br /> Powered by <a href="https://www.bytescale.com/">Bytescale</a><br/><br/></p>

<hr/>

<p align="center"><a href="https://upload.io/dmca" rel="nofollow">DMCA Compliant</a> • <a href="https://upload.io/dpa" rel="nofollow">GDPR Compliant</a> • <a href="https://upload.io/sla" rel="nofollow">99.9% Uptime SLA</a>
<p align="center"><a href="https://www.bytescale.com/dmca" rel="nofollow">DMCA Compliant</a> • <a href="https://www.bytescale.com/dpa" rel="nofollow">GDPR Compliant</a> • <a href="https://www.bytescale.com/sla" rel="nofollow">99.9% Uptime SLA</a>
<br/>
<b>Supports:</b> Rate Limiting, Volume Limiting, File Size &amp; Type Limiting, JWT Auth, and more...
<br />
Expand Down Expand Up @@ -77,7 +77,7 @@ Or via a `<script>` tag:

```html
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="https://js.upload.io/jquery-uploader/v3"></script>
<script src="https://js.bytescale.com/jquery-uploader/v3"></script>
```

## Usage
Expand All @@ -87,7 +87,7 @@ Or via a `<script>` tag:
Call this once only — at the start of your app — before calling `$(x).uploader()`.

```javascript
// Get production-ready API keys from Upload.io
// Get production-ready API keys from Bytescale
$.uploader.init({
apiKey: "free"
});
Expand Down Expand Up @@ -147,7 +147,7 @@ All callbacks receive an `Array<UploadWidgetResult>`:
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 <input> element.
size: 12345, // File size in bytes.
Expand All @@ -169,7 +169,7 @@ All callbacks receive an `Array<UploadWidgetResult>`:

## 🌐 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.
Expand All @@ -181,26 +181,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

Expand All @@ -214,7 +214,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):

<img src="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" />

Expand Down Expand Up @@ -245,25 +245,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

jQuery Uploader is the jQuery file upload component for Upload.io — The File Upload Service for Web Apps:
jQuery Uploader is the jQuery 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

Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"name": "@upload-io/jquery-uploader",
"version": "3.36.0",
"author": "Upload <hello@upload.io> (https://upload.io)",
"author": "Bytescale <hello@bytescale.com> (https://www.bytescale.com)",
"description": "jQuery File Upload UI Widget — Lightweight & supports: drag and drop, multiple uploads, image cropping, customization & more 🚀 Comes with Cloud Storage 🌐",
"license": "MIT",
"main": "dist/main.js",
"types": "dist/index.d.ts",
"homepage": "https://upload.io/uploader",
"homepage": "https://www.bytescale.com/docs/upload-widget/frameworks/jquery",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/upload-io/jquery-uploader.git"
"url": "git+https://github.com/bytescale/jquery-uploader.git"
},
"bugs": {
"url": "https://github.com/upload-io/jquery-uploader/issues"
"url": "https://github.com/bytescale/jquery-uploader/issues"
},
"files": [
"/dist/**/*",
Expand Down Expand Up @@ -53,7 +53,7 @@
"publish:executeIfReleaseCommit": "bash -c 'COMMIT=$(git log -1 --pretty=%B) && [ \"${COMMIT:0:8}\" != \"Release \" ] || npm run publish:execute'",
"publish:execute": "npm run publish:cdn && npm publish && npm run publish:createGitHubRelease",
"publish:createGitHubRelease": "gh release create v$(node -p \"require('./package.json').version\")",
"publish:cdn": "npm run prepack:cdn && aws s3 cp --recursive --content-type application/javascript dist/ s3://upload-js-releases/jquery-uploader/ && aws cloudfront create-invalidation --distribution-id EO4VJPLCDN8HY --paths '/jquery-uploader/*'",
"publish:cdn": "npm run prepack:cdn && aws s3 cp --recursive --content-type application/javascript dist/ s3://upload-js-releases/jquery-uploader/ && aws cloudfront create-invalidation --distribution-id EO4VJPLCDN8HY --paths '/jquery-uploader/*' && aws cloudfront create-invalidation --distribution-id E250290WAJ43YY --paths '/jquery-uploader/*'",
"test": "npx wdio run tests/wdio.conf.ts --autoCompileOpts.tsNodeOpts.project=tests/tsconfig.json",
"prepare": "husky install"
},
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.cdn.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if (isNaN(majorVersion)) {
}

/**
* Creates the dist that's published to 'https://js.upload.io/jquery-uploader/v*'.
* Creates the dist that's published to 'https://js.bytescale.com/jquery-uploader/v*'.
*/
module.exports = {
...config,
Expand Down

0 comments on commit e41478a

Please sign in to comment.