🌗 Stripe Projects:透過命令列介面(CLI)部署與管理雲端服務
➤ 告別碎片化設定:Stripe 助開發者透過 CLI 一鍵部署軟體堆疊
https://projects.dev/
Stripe 近期發布了名為「Stripe Projects」的開發者預覽工具,旨在簡化開發者建構應用程式時的繁瑣流程。過去,開發者在串接託管、資料庫、身份驗證及 AI 模型等服務時,往往需要手動註冊多個帳號並在不同的儀錶板間切換。Stripe Projects 將此流程整合進 CLI,讓開發者只需透過幾個簡單指令,即可自動化完成服務配置、憑證儲存、環境變數同步以及計費管理,從而實現開發流程的標準化與高效率。
+ 太棒了!以前為了設定後端服務要開十幾個分頁,現在終於能用一行指令搞定,希望能儘快支援更多雲端供應商。
+ 這對 AI Agents 來說是個福音,將基礎設施配置變成可編程化的 Workflow,開發效率直接提升一個檔次。
#軟體開發工具 #基礎設施即代碼 #Stripe
Stripe Projects: Provision and manage services from the CLI

Set up hosting, databases, auth, AI, observability, analytics, and more from the CLI. Stripe Projects gives developers and coding agents a reliable way to provision real services, manage credentials, and keep track of usage across the stack.

Stripe Projects
Ah, the dream of provisioning your digital empire with a mere handful of CLI commands—because who doesn't love pretending they're a 90s hacker in a bad movie? 🤓🔧 Spoiler alert: automating tedium via Stripe's new toy is like trying to outrun a snail stuck in molasses. 🐌💾 Enjoy manually managing your 'provisioned' chaos!
https://projects.dev/ #digitalempire #CLIcommands #automation #Stripe #techhumor #manualmanagement #HackerNews #ngated
Stripe Projects: Provision and manage services from the CLI

Set up hosting, databases, auth, AI, observability, analytics, and more from the CLI. Stripe Projects gives developers and coding agents a reliable way to provision real services, manage credentials, and keep track of usage across the stack.

Stripe Projects

You know how you’re in the middle of a process and you refresh a web page and it loses state?

So that sucks.

With Kitten¹ – when using the new state-maintaining/class-based and event model-based component model – it’s easy to have flowing interfaces that animate between states, etc., that don’t lose state if you refresh the page (or open another tab).

What you can’t do on the Web, however, is restore the state of any cross-origin iframes. (As you have no visibility into their contents to take a snapshot, etc.)

This is something I ran into with the embedded Stripe component I’m using in Catalyst². Specifically, it has a success state that I want to restore so the interface, which uses selective disclosure and has animated to that step in the sign up process, doesn’t jump if you refresh it or look different if you open it in another tab.

So what do you do if you’re obsessed with making things work as well as possible?

Apparently, this:

1. You go and manually save the Stripe iframe’s HTML and relevant CSS

2. You notice that it is ~371KB in size and you sigh

3. You use a combination of automated and manual methods to whittle that down to a 4.2KB HTML/CSS snapshot of the state.

4. You make that into a Kitten component³ so you can set the bits that are dynamic⁴

5. You make sure that it matches the original exactly using PixelSnap 2 guides⁵ (see screenshot; and yes, I told you I’m obsessed) :)

6. Et voila!

🤷‍♂️

¹ https://kitten.small-web.org
² https://catalyst.small-web.org
³ https://kitten.small-web.org/tutorials/components-and-fragments/
https://codeberg.org/project-catalyst/app/src/commit/a3cf136f3670a9e2954a35d5b3aa227969f22eaf/sign-up/SuccessfulStripeSubscription.fragment.js
https://pixelsnap.com

#Catalyst #SmallWeb #design #Stripe #iframes #stateRestoration #web #dev