René's URL Explorer Experiment


Title: feat(storage): support S3-compatible endpoints (R2, MinIO, B2) for file storage by waleedlatif1 · Pull Request #4865 · simstudioai/sim · GitHub

Open Graph Title: feat(storage): support S3-compatible endpoints (R2, MinIO, B2) for file storage by waleedlatif1 · Pull Request #4865 · simstudioai/sim

X Title: feat(storage): support S3-compatible endpoints (R2, MinIO, B2) for file storage by waleedlatif1 · Pull Request #4865 · simstudioai/sim

Description: Summary Add S3_ENDPOINT and S3_FORCE_PATH_STYLE env vars so self-hosters can use Cloudflare R2, MinIO, Backblaze B2, or any S3-compatible store for file storage — previously only real AWS S3 worked Wire both into the shared upload S3Client (getS3Client); every storage op (upload, download, presign, multipart) routes through it, so presigned URLs honor the custom endpoint automatically Endpoint is treated as trusted operator config — passed through verbatim, no SSRF/HTTPS gate (so on-prem MinIO works); forcePathStyle defaults to false (AWS S3, R2) and is set true for MinIO/Ceph Make the multipart Location fallback endpoint-aware (the only hardcoded AWS hostname in the upload path) Document the new vars in Helm values.yaml + values-aws.yaml, .env.example, and the English self-hosting docs (new object-storage.mdx page), including the browser-reachability + CORS requirement for direct presigned uploads Type of Change New feature Testing Extended providers/s3/client.test.ts to assert the client is constructed with endpoint/forcePathStyle when set, and absent/false for plain AWS bun run scripts/check-api-validation-contracts.ts passes (no route changes); biome clean Manual R2/MinIO end-to-end verification still to be run in a full environment Notes Docs added in English only; other locales (es/fr/de/ja/zh) to be handled by the translation pipeline Scoped to the self-hosted storage backend; the user-facing S3 connector block/tool is unchanged (separate follow-up) Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Open Graph Description: Summary Add S3_ENDPOINT and S3_FORCE_PATH_STYLE env vars so self-hosters can use Cloudflare R2, MinIO, Backblaze B2, or any S3-compatible store for file storage — previously only real AWS S3 worke...

X Description: Summary Add S3_ENDPOINT and S3_FORCE_PATH_STYLE env vars so self-hosters can use Cloudflare R2, MinIO, Backblaze B2, or any S3-compatible store for file storage — previously only real AWS S3 worke...

Opengraph URL: https://github.com/simstudioai/sim/pull/4865

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:347378cb-936a-e7b3-1464-0b0884cf6801
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id94EC:37EBB:8E65E0:CA2946:6AFB5123
html-safe-nonce5c1eeea2d4e49683852bf4456834439b455a54d0be2b12f91d4cf0f8667527b9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NEVDOjM3RUJCOjhFNjVFMDpDQTI5NDY6NkFGQjUxMjMiLCJ2aXNpdG9yX2lkIjoiODU4OTQyMDUyNDg2NDIyOTY2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac6dcd6a0232bf060738d457eaa7b2992f731687ee8b328dc747c243e37c78026e
hovercard-subject-tagpull_request:3797294101
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/4865/files
twitter:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
og:image:altSummary Add S3_ENDPOINT and S3_FORCE_PATH_STYLE env vars so self-hosters can use Cloudflare R2, MinIO, Backblaze B2, or any S3-compatible store for file storage — previously only real AWS S3 worke...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None7122bb414b542dba14d71a3f0b9f6fd2abce715b9f5912d082800563e6c806d1
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasecbf66c024bb6d10e6955baa7413c54cf13a201bb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/4865/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F4865%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F4865%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/4865/files
Reloadhttps://github.com/simstudioai/sim/pull/4865/files
Reloadhttps://github.com/simstudioai/sim/pull/4865/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests197 (197)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
waleedlatif1/s3-storage-setup-docshttps://github.com/simstudioai/sim/tree/waleedlatif1/s3-storage-setup-docs
Conversation 12 https://github.com/simstudioai/sim/pull/4865
Commits 4 https://github.com/simstudioai/sim/pull/4865/commits
Checks 12 https://github.com/simstudioai/sim/pull/4865/checks
Files changed https://github.com/simstudioai/sim/pull/4865/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4865/files
feat(storage): support S3-compatible endpoints (R2, MinIO, B2) for file storage https://github.com/simstudioai/sim/pull/4865/files#top
Show all changes 4 commits https://github.com/simstudioai/sim/pull/4865/files
59748bb feat(storage): support S3-compatible endpoints (R2, MinIO, B2) for fi… waleedlatif1 Jun 3, 2026 https://github.com/simstudioai/sim/pull/4865/commits/59748bbdfe158190871fbec47be68d7ce14823ac
74afb56 docs(storage): add RustFS as an S3-compatible provider example waleedlatif1 Jun 3, 2026 https://github.com/simstudioai/sim/pull/4865/commits/74afb56280e4386b91b70c74998f43f84251072a
f3c7b14 fix(storage): address review feedback and fix env mock for CI waleedlatif1 Jun 3, 2026 https://github.com/simstudioai/sim/pull/4865/commits/f3c7b144faa53e001c14a8bf8bf86e6df0896e0c
12c14e2 docs(storage): add backlinks to S3-compatible providers (R2, MinIO, C… waleedlatif1 Jun 3, 2026 https://github.com/simstudioai/sim/pull/4865/commits/12c14e298160fd6c6bc6ca2b61d346dfec3ddcf9
Clear filters https://github.com/simstudioai/sim/pull/4865/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4865/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4865/files
environment-variables.mdx https://github.com/simstudioai/sim/pull/4865/files#diff-33c5f3ac7599e970f9b61367338c35b7c006f8019591028b62882bd33c3c0243
meta.json https://github.com/simstudioai/sim/pull/4865/files#diff-78d9a540e66162a71f8ea155059679d3d4470111080d13fa693f6559ed188451
object-storage.mdx https://github.com/simstudioai/sim/pull/4865/files#diff-c200d4511d067fe0e4859fdd259de83f277b6b549a900ea2c29921fdadb1bd50
.env.example https://github.com/simstudioai/sim/pull/4865/files#diff-4a29ce2c9471f5720a7b21936c0716a37c648ef653d7563bfa140153bb045284
env.ts https://github.com/simstudioai/sim/pull/4865/files#diff-7db3fc610ff89cf819c4eb69b43ec37ae18530e1861f6c322faeb62f8f48f298
config.ts https://github.com/simstudioai/sim/pull/4865/files#diff-7aa9c7e717e0f1bfdaf2ad95914c68676dbac8f643efd525d5ca9e27624214c5
setup.server.ts https://github.com/simstudioai/sim/pull/4865/files#diff-b42b8247a8eedba1b1305c67da03a3678a0b68f0b59524e4cf821f97694d65b2
client.test.ts https://github.com/simstudioai/sim/pull/4865/files#diff-35e8011c5cc779bb761eca22ac0125f7832884ac7ee9fd0a822d2f000e9e14f4
client.ts https://github.com/simstudioai/sim/pull/4865/files#diff-5b5c75fd8b0e84e44544dfe3eb319a86603568755f5568c5b4ce3007b519927e
values-aws.yaml https://github.com/simstudioai/sim/pull/4865/files#diff-ccbd876dc146874ac7983bc062a237ac84088bf75f5744d5e76a00562e4c791c
values.yaml https://github.com/simstudioai/sim/pull/4865/files#diff-5586790157aac5be1a3be674910d22e602e8c840abbf289d0ad31ffb5dac5cb1
env.mock.ts https://github.com/simstudioai/sim/pull/4865/files#diff-a536c3c0ed795a7a08b0670a3faef5924374413dc0b6ea0d01d651da86526b3a
apps/docs/content/docs/en/self-hosting/environment-variables.mdxhttps://github.com/simstudioai/sim/pull/4865/files#diff-33c5f3ac7599e970f9b61367338c35b7c006f8019591028b62882bd33c3c0243
View file https://github.com/simstudioai/sim/blob/12c14e298160fd6c6bc6ca2b61d346dfec3ddcf9/apps/docs/content/docs/en/self-hosting/environment-variables.mdx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/4865/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/4865/files#diff-33c5f3ac7599e970f9b61367338c35b7c006f8019591028b62882bd33c3c0243
https://github.com/simstudioai/sim/pull/4865/files#diff-33c5f3ac7599e970f9b61367338c35b7c006f8019591028b62882bd33c3c0243
apps/docs/content/docs/en/self-hosting/meta.jsonhttps://github.com/simstudioai/sim/pull/4865/files#diff-78d9a540e66162a71f8ea155059679d3d4470111080d13fa693f6559ed188451
View file https://github.com/simstudioai/sim/blob/12c14e298160fd6c6bc6ca2b61d346dfec3ddcf9/apps/docs/content/docs/en/self-hosting/meta.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/4865/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/4865/files#diff-78d9a540e66162a71f8ea155059679d3d4470111080d13fa693f6559ed188451
https://github.com/simstudioai/sim/pull/4865/files#diff-78d9a540e66162a71f8ea155059679d3d4470111080d13fa693f6559ed188451
apps/docs/content/docs/en/self-hosting/object-storage.mdxhttps://github.com/simstudioai/sim/pull/4865/files#diff-c200d4511d067fe0e4859fdd259de83f277b6b549a900ea2c29921fdadb1bd50
View file https://github.com/simstudioai/sim/blob/12c14e298160fd6c6bc6ca2b61d346dfec3ddcf9/apps/docs/content/docs/en/self-hosting/object-storage.mdx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/4865/{{ revealButtonHref }}
apps/sim/.env.examplehttps://github.com/simstudioai/sim/pull/4865/files#diff-4a29ce2c9471f5720a7b21936c0716a37c648ef653d7563bfa140153bb045284
View file https://github.com/simstudioai/sim/blob/12c14e298160fd6c6bc6ca2b61d346dfec3ddcf9/apps/sim/.env.example
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/4865/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/4865/files#diff-4a29ce2c9471f5720a7b21936c0716a37c648ef653d7563bfa140153bb045284
apps/sim/lib/core/config/env.tshttps://github.com/simstudioai/sim/pull/4865/files#diff-7db3fc610ff89cf819c4eb69b43ec37ae18530e1861f6c322faeb62f8f48f298
View file https://github.com/simstudioai/sim/blob/12c14e298160fd6c6bc6ca2b61d346dfec3ddcf9/apps/sim/lib/core/config/env.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/4865/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/4865/files#diff-7db3fc610ff89cf819c4eb69b43ec37ae18530e1861f6c322faeb62f8f48f298
https://github.com/simstudioai/sim/pull/4865/files#diff-7db3fc610ff89cf819c4eb69b43ec37ae18530e1861f6c322faeb62f8f48f298
apps/sim/lib/uploads/config.tshttps://github.com/simstudioai/sim/pull/4865/files#diff-7aa9c7e717e0f1bfdaf2ad95914c68676dbac8f643efd525d5ca9e27624214c5
View file https://github.com/simstudioai/sim/blob/12c14e298160fd6c6bc6ca2b61d346dfec3ddcf9/apps/sim/lib/uploads/config.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/4865/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/4865/files#diff-7aa9c7e717e0f1bfdaf2ad95914c68676dbac8f643efd525d5ca9e27624214c5
https://github.com/simstudioai/sim/pull/4865/files#diff-7aa9c7e717e0f1bfdaf2ad95914c68676dbac8f643efd525d5ca9e27624214c5
Please reload this pagehttps://github.com/simstudioai/sim/pull/4865/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4865/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.