
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@artsy/gemup
Advanced tools
Lightweight Javascript utility for using Artsy's Gemini service to upload directly to S3.
Lightweight Javascript utility for using Artsy's Gemini service to upload directly to S3. Used internally at Artsy, so not useful to general public—but open source by default!
Use gemup
one of three ways:
yarn add @artsy/gemup
Import into your project:
import gemup from "@artsy/gemup";
Add an upload function and reference it on an <input>
:
const handleUploadClick = (e) => {
gemup(e.target.files[0], {
app: "force",
geminiHost: 'https://media.artsy.net',
fail: function (err) {
console.log("Ouch!", err);
},
add: function (src) {
console.log("We got a data-uri image client-side!", src);
},
progress: function (percent) {
console.log("<3 progress bars, file is this % uploaded: ", percent);
},
done: function (src) {
console.log("Done uploading, here's the S3 url: ", src);
},
});
};
...
<input type="file" multiple={false} onChange={(e) => handleUploadClick(e)} />
MIT
FAQs
Lightweight Javascript utility for using Artsy's Gemini service to upload directly to S3.
We found that @artsy/gemup demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.