Add Swift (Vapor) and Ruby (Rails) runner support
Update homepage copy to highlight new language support and add announcement post. Add build:content script to package.json.
Seto Elkahfi committed
Jun 29, 2025 at 12:05 UTC
63f07844fae69304bf8d868540d40c9d288c0d19
3 files changed
+111
-5
app/page.tsx
+71
-5
@@ -1,18 +1,84 @@
1
import { allPosts } from "@/.contentlayer/generated";
2
import Link from "next/link";
3
import { genPageMetadata } from "./seo";
4
-import siteMetadata from '@/content/siteMetadata'
4
+import siteMetadata from "@/content/siteMetadata";
5
import TabbedRunner from "./components/TabbedRunner";
6
7
-export const metadata = genPageMetadata({ title: `${siteMetadata.title}` })
7
+export const metadata = genPageMetadata({ title: `${siteMetadata.title}` });
8
9
export default function Home() {
10
- let publishedPosts = allPosts.filter((post) => post.published)
11
- publishedPosts = publishedPosts.sort((a, b) => new Date(a.date).getTime() - new Date(b.date).getTime())
10
+ let publishedPosts = allPosts.filter((post) => post.published);
11
+ publishedPosts = publishedPosts.sort(
12
+ (a, b) => new Date(a.date).getTime() - new Date(b.date).getTime(),
13
+ );
14
return (
15
<div className="prose dark:prose-invert">
16
<h1>smbCloud</h1>
15
- <p className="text-lg">Deploy your NodeJS (NextJS, Astro) or Swift (Vapor) app with one command: </p>
17
+ <div className="mb-4">
18
+ <div className="inline-block px-4 py-2 rounded-lg bg-gradient-to-r from-blue-500 to-purple-500 text-white font-bold text-xl shadow-lg">
19
+ The unified cloud platform for modern app deployment.
20
+ </div>
21
+ </div>
22
+ <p className="text-lg">
23
+ Deploy your{" "}
24
+ <a href="https://nodejs.org/" target="_blank" rel="noopener noreferrer">
25
+ NodeJS
26
+ </a>{" "}
27
+ <em>
28
+ (with{" "}
29
+ <a
30
+ href="https://nextjs.org/"
31
+ target="_blank"
32
+ rel="noopener noreferrer"
33
+ >
34
+ NextJS
35
+ </a>{" "}
36
+ or{" "}
37
+ <a
38
+ href="https://astro.build/"
39
+ target="_blank"
40
+ rel="noopener noreferrer"
41
+ >
42
+ Astro
43
+ </a>
44
+ )
45
+ </em>
46
+ ,{" "}
47
+ <a href="https://swift.org/" target="_blank" rel="noopener noreferrer">
48
+ Swift
49
+ </a>{" "}
50
+ <em>
51
+ (via{" "}
52
+ <a
53
+ href="https://vapor.codes/"
54
+ target="_blank"
55
+ rel="noopener noreferrer"
56
+ >
57
+ Vapor
58
+ </a>
59
+ )
60
+ </em>
61
+ , and{" "}
62
+ <a
63
+ href="https://www.ruby-lang.org/"
64
+ target="_blank"
65
+ rel="noopener noreferrer"
66
+ >
67
+ Ruby
68
+ </a>{" "}
69
+ <em>
70
+ (on{" "}
71
+ <a
72
+ href="https://rubyonrails.org/"
73
+ target="_blank"
74
+ rel="noopener noreferrer"
75
+ >
76
+ Rails
77
+ </a>
78
+ )
79
+ </em>{" "}
80
+ app with one command:{" "}
81
+ </p>
82
<TabbedRunner />
83
<hr />
84
<h2>Resources</h2>
content/posts/introducing-swift-vapor-ruby-rails-runner.mdx
new
+39
@@ -0,0 +1,39 @@
1
+---
2
+title: Introducing Swift (with Vapor) and Ruby (with Rails) Runner Support
3
+description: Announcing support for Swift (Vapor) and Ruby (Rails) runners—expanding your development possibilities on our platform.
4
+date: "2025-06-29"
5
+lastmod: "2025-06-29"
6
+published: true
7
+---
8
+
9
+## Expanding Horizons: Swift (Vapor) and Ruby (Rails) Runners
10
+
11
+We're thrilled to announce that our platform now supports **Swift** (with [Vapor](https://vapor.codes/)) and **Ruby** (with [Rails](https://rubyonrails.org/)) runners! This update opens up new possibilities for developers who want to build, test, and deploy modern web applications using two of the most beloved frameworks in their respective ecosystems.
12
+
13
+### Why Swift with Vapor?
14
+
15
+- **Modern, Safe, and Fast**: Swift is renowned for its safety and performance. With Vapor, you get a powerful, expressive web framework that brings Swift to the server.
16
+- **Growing Ecosystem**: Vapor is rapidly gaining traction in the server-side Swift community, making it a great choice for scalable APIs and web apps.
17
+- **Seamless Integration**: Our runner provides a ready-to-use environment for Swift and Vapor projects—no manual setup required.
18
+
19
+### Why Ruby with Rails?
20
+
21
+- **Convention Over Configuration**: Rails is famous for its productivity and developer happiness, letting you focus on building features instead of boilerplate.
22
+- **Battle-Tested**: Rails powers some of the world’s most popular web applications, with a mature ecosystem and vibrant community.
23
+- **Instant Start**: Spin up Rails apps in seconds with our runner, perfect for prototyping, learning, or production deployments.
24
+
25
+### Key Features
26
+
27
+- **Zero-Config Runners**: Start coding in Swift (Vapor) or Ruby (Rails) instantly—no environment setup needed.
28
+- **Fast Feedback**: Experience rapid code execution and output, ideal for learning, prototyping, or collaborative development.
29
+- **Consistent Environments**: Each runner is preconfigured for best practices, ensuring your code runs the same everywhere.
30
+
31
+### Get Started
32
+
33
+Ready to try it out? Simply select the **Swift (Vapor)** or **Ruby (Rails)** runner when creating a new project or workspace. Whether you're building REST APIs, web apps, or experimenting with new ideas, our platform has you covered.
34
+
35
+---
36
+
37
+We're committed to making development accessible, fast, and fun—no matter your language or framework of choice. With Swift (Vapor) and Ruby (Rails) runners, your creative possibilities just got a whole lot bigger.
38
+
39
+Happy coding!
\ No newline at end of file
package.json
+1
@@ -5,6 +5,7 @@
5
"scripts": {
6
"dev": "next dev",
7
"build": "next build",
8
+ "build:content": "contentlayer2 build",
9
"preview": "next build && next start",
10
"start": "next start",
11
"start-smbcloudweb": "next start -p 3015",