
Security News
When Autonomous Agents Escape: Why Socket Signed the Cyber Defense Open Letter
Socket joins more than 100 technology, cybersecurity, and financial organizations calling for a global surge in cyber defense.
@devino.solutions/upup
Advanced tools
An open-source, free-to-use React component library that easily handles your file upload needs with seamless DigitalOcean Spaces, Amazon S3, Google Drive, and OneDrive integration. 🎮 Join our Discord, where we can provide quick support: Discord Invite Link
Install via NPM:
npm install @bassem97/upup
Or via YARN:
yarn add @bassem97/upup
// imports
import {
BaseConfigs,
CloudStorageConfigs,
GoogleConfigs,
OneDriveConfigs,
Is3Configs,
UploadAdapter,
UpupUploader,
} from '@bassem97/upup'
.env.local)const space_secret = process.env.SPACE_SECRET
const space_key = process.env.SPACE_KEY
const space_endpoint = process.env.SPACE_ENDPOINT
const space_region = process.env.SPACE_REGION
const document_space = process.env.SPACE_DOCUMENTS
const image_space = process.env.SPACE_IMAGES
const onedrive_client_id = process.env.ONEDRIVE_CLIENT_ID
const google_client_id = process.env.GOOGLE_CLIENT_ID
const google_app_id = process.env.GOOGLE_APP_ID
const google_api_key = process.env.GOOGLE_API_KEY
const [key, setKey] = useState('')
const [canUpload, setCanUpload] = useState(false)
const s3Configs: S3Configs = {
region: space_region,
endpoint: space_endpoint,
credentials: {
accessKeyId: space_key,
secretAccessKey: space_secret,
},
}
const baseConfigs: BaseConfigs = {
canUpload: canUpload,
setKey: setKey,
}
const cloudStorageConfigs: CloudStorageConfigs = {
bucket: document_space,
s3Configs,
}
const googleConfigs: GoogleConfigs = {
google_api_key,
google_app_id,
google_client_id,
}
const oneDriveConfigs: OneDriveConfigs = {
onedrive_client_id,
multiSelect: false,
}
return (
<div>
<UpupUploader
baseConfigs={baseConfigs}
cloudStorageConfigs={cloudStorageConfigs}
googleConfigs={googleConfigs}
oneDriveConfigs={oneDriveConfigs}
uploadAdapters={[
UploadAdapter.INTERNAL,
UploadAdapter.GOOGLE_DRIVE,
UploadAdapter.ONE_DRIVE,
]}
/>
<button onClick={() => setCanUpload(true)}> upload </button>
</div>
)
return (
<div>
<UpupUploader
baseConfigs={baseConfigs}
cloudStorageConfigs={cloudStorageConfigs}
uploadAdapters={[UploadAdapter.internal]}
/>
<button onClick={() => setCanUpload(true)}> upload </button>
</div>
)
Please read our Contributing Guidelines before submitting pull requests. All contributions fall under our Code of Conduct.
For security concerns, please review our Security Policy.
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ by Devino
FAQs
README.md
The npm package @devino.solutions/upup receives a total of 63 weekly downloads. As such, @devino.solutions/upup popularity was classified as not popular.
We found that @devino.solutions/upup demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.

Security News
Socket joins more than 100 technology, cybersecurity, and financial organizations calling for a global surge in cyber defense.

Product
Enterprise security teams can now detect malware, credential theft, suspicious network activity, and risky updates across Microsoft Edge extensions.

Research
/Security News
Socket researchers found 18 Chrome extensions and one Edge extension delivering a wallet drainer, credential theft, and other malicious payloads.