neon-object-storage
यह क्या करती है
यह service आपको फ़ाइलें (जैसे images या documents) इस तरह स्टोर करने देती है कि वे आपके Neon प्रोजेक्ट के database के साथ sync रहें। आपके प्रोजेक्ट की हर 'branch' की अपनी अलग storage जगह होती है।
कब इस्तेमाल करें
- ✓जब आप पहले से database के लिए Neon इस्तेमाल कर रहे हों और डेटा व फ़ाइलों के लिए एक ही जगह चाहते हों।
- ✓जब आपके प्रोजेक्ट के अलग-अलग versions में फ़ाइलें और database डेटा हमेशा एक साथ अप-टू-डेट रहना ज़रूरी हो।
- ✓जब आप फ़ाइलों के साथ बदलाव टेस्ट करना चाहते हों, बिना ज़रूरी डेटा खतरे में डाले।
Skill का लिंक
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/neon-object-storage/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मैं file storage कैसे सेट करूँ ताकि वह मेरे Neon database की branches को ट्रैक करे?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
आप अपने Neon प्रोजेक्ट की कॉन्फ़िगरेशन फ़ाइल (`neon.ts`) में बताते हैं कि आपको कौन से storage 'buckets' चाहिए। फिर एक सरल कमांड उन्हें बना देती है, और Neon अपने आप उन्हें database branches के साथ sync रखता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Neon Object Storage
This is a preview feature and only available in us-east-2. Neon Object Storage is S3-compatible object storage that branches with your projects: every branch gets its own isolated storage state, so files and database rows stay in sync across dev, preview, staging, and production.
Use this skill to help the user store and serve files that branch alongside their database. Deliver a working bucket and upload/download flow, a branch-aware S3 client wired to the injected env vars, or a precise answer from the official Neon docs.
When to Use
Reach for Neon Object Storage when the user needs to store files (images, uploads, generated assets, documents, backups) and any of the following are true:
- They already use Neon Postgres and don't want a second provider. One backend, one bill, one CLI, one set of branches — instead of standing up and wiring a separate AWS S3 / R2 / Supabase Storage account. The same Neon credential that backs the database backs storage.
- Files must stay in sync with the database across environments. Storage branches together with your Postgres data. Fork a branch and the child instantly inherits the parent's buckets and objects at that point in time — copy-on-write, so no data is duplicated. This is what makes agent, dev, preview, and test environments seamless: a preview branch gets a consistent snapshot of both the rows and the files they reference, and writes on the child never touch the parent.
- They want safe, throwaway environments. Upload, overwrite, and delete files in a preview/CI branch without any risk to production data, then drop the branch.
- They want standard S3 tooling. It's built on S3 semantics and speaks the S3 API, so the AWS SDKs,
boto3, the AWS CLI, and presigned URLs all work — reliable and familiar, with no proprietary client.
If the user has no Neon project, isn't on Postgres, and just needs a standalone CDN-backed asset store, a dedicated object store may fit better — but the moment branch-consistent files + rows matter, this is the reason to use it.
What It Does
- S3-compatible — Works with existing S3 SDKs,
boto3, the AWS CLI, and presigned URLs. Path-style addressing and SigV4 only. - Branches with your database — Every Neon branch gets its own isolated, copy-on-write storage state. Forking copies no data.
- Two access modes —
privatebuckets require a credential for every operation;public_readbuckets allow anonymous reads with authenticated writes. - One credential system — The same Neon credential system used by Functions and the AI Gateway.
Setup
Object storage is part of the neon.ts infrastructure-as-code config (see the neon skill for the branch-first workflow, link/checkout, and neon.ts basics). Declare buckets under preview.buckets, keyed by bucket name:
// neon.ts
import { defineConfig } from "@neon/config/v1";
export default defineConfig({
preview: {
buckets: {
images: {}, // private by default
"public-assets": { access: "public_read" },
},
},
});
Provision the declared buckets on the linked branch:
neon deploy # alias for `neon config apply`
Neon Infrastructure as Code (neon.ts)
The preview.buckets block above is part of neon.ts, Neon's infrastructure-as-code file — one TypeScript file declares your buckets alongside every other service the branch should have (see the neon skill for the full reference). Reconcile the declaration against a branch the Terraform way:
neon config status # print the branch's live config (which buckets exist)
neon config plan # dry-run diff of what apply would change
neon config apply # create the declared buckets (neon deploy is an alias)
Buckets are branch-scoped: when a neon.ts is present, neon checkout applies the policy as it creates a branch, so a fresh preview/CI branch comes up with its buckets already provisioned (and copy-on-write objects inherited from the parent). Checking out an existing branch doesn't reconcile it — run neon deploy to apply changes. Provisioning (config apply / deploy), link, and checkout also pull the branch's S3 credentials into your local .env.local, so the same env pull step shown below happens for you on those commands.
…
अक्सर पूछे जाने वाले सवाल
'S3-compatible' का मतलब क्या है?
इसका मतलब है कि यह file storage के लिए एक बहुत आम communication standard (API) इस्तेमाल करता है, जो Amazon S3 जैसी सेवाओं में भी इस्तेमाल होता है। इससे आप वही टूल और libraries इस्तेमाल कर सकते हैं जो आपको पहले से आती हैं।
इस संदर्भ में 'branches' क्या हैं?
ये आपके प्रोजेक्ट की कॉपी जैसी होती हैं, जिन पर आप मुख्य वर्जन को प्रभावित किए बिना नए features टेस्ट कर सकते हैं। यह सेवा सुनिश्चित करती है कि हर branch की अपनी फ़ाइलें हों, जो उसी branch के डेटा के साथ sync रहें।
क्या मैं अपनी फ़ाइलों को public या private बना सकता हूँ?
हाँ, आप अपने storage 'buckets' को private सेट कर सकते हैं (जिसे खोलने के लिए login चाहिए) या read के लिए public (कोई भी देख सकता है, लेकिन बदलाव सिर्फ़ आप कर सकते हैं)।
जानकारी
लेखक का मूल विवरण
S3-compatible object storage that branches with your Neon project, so files and the database stay in sync across every branch.
लोकप्रियता
- GitHub स्टार
- 48k
- रैंकिंग में स्थान
- #5283
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
00-andruia-consultant
48kआपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।
007
48kआपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।
10-andruia-skill-smith
48kआपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।
20-andruia-niche-intelligence
48kआपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।
मिलती-जुलती skills
discrawl
394kयह आपके एजेंट को Discord संदेशों के सेव किए गए स्थानीय आर्काइव में खोजने, उसका सारांश बनाने और उसकी ताज़गी जांचने में मदद करती है।
clickhouse-io
280kआपके एजेंट को ClickHouse databases में queries और schemas optimize करने में मदद करता है। high-performance analytical workloads के लिए best practices लागू करता है। जब analytical queries बहुत धीमी हों, तब इसका उपयोग करें।
scientific-db-pubmed-database
280kआपके एजेंट को बायोमेडिकल क्षेत्र के वैज्ञानिक लेख खोजने में मदद करता है। जिस रिसर्च में खास मेडिकल जानकारी चाहिए, उसके लिए यह काम का है।