|
18 | 18 |
|
19 | 19 | Scramjet Transform Hub is a cool way to run programs on your computer or in the cloud. It's easy to use, and it supports lots of different types of programs. |
20 | 20 |
|
21 | | -The Hub is the heart of Scramjet Cloud Platform, a serverless data processing system that allows you to easily deploy, run and interconnect programs that process repetitive data tasks in long-running processes. STH can be run just as well on a Raspberry Pi as it can on a massive 128 core Epyc bare metal server. It installs in one simple command and deploys your app to processes, Docker containers or Kubernetes clusters just as easily... Oh, and the app is incredibly simple too: |
| 21 | +The Hub is the heart of Scramjet Cloud Platform, a serverless data processing system that allows you to easily deploy, run and interconnect programs that process repetitive data tasks in long-running processes. STH can be run just as well on a Raspberry Pi as it can on a massive 128 core Epyc bare metal server. It installs in one simple command and deploys your app to processes, Docker containers or Kubernetes clusters just as easily... Oh, and the apps are incredibly simple to write too, here's a slack posting sample: |
22 | 22 |
|
23 | 23 | ```js |
24 | 24 | export (input: Readable) => async function*() { |
25 | 25 | for (const post of input) { |
26 | | - if (!cache.has(post.id)) { |
27 | | - yield await slack.note(`New post titled "${post.title}" from ${post.author}`); |
28 | | - } |
| 26 | + yield await slack.note(`New post titled "${post.title}" from ${post.author}`); |
29 | 27 | } |
30 | 28 | } |
31 | 29 | ``` |
@@ -99,18 +97,21 @@ For developers who would like to simply use Scramjet Transform Hub to run data p |
99 | 97 |
|
100 | 98 | # Usage :bulb: |
101 | 99 |
|
102 | | -Scramjet Transform Hub is a platform that helps you run programs on local and remote machines. You can start programs in the background or connect to them and see their output. You can also pipe your data to the program even if it is running on a different machine. You can install this platform in different places like AWS, Google Cloud, Azure or even your own computer. |
| 100 | +The easiest way to start Transform Hub is to run the follow (you'll need node.js and npm installed): |
103 | 101 |
|
104 | | -There's no limit to what you can use it for. Do you want a stock checker? A chatbot? Maybe you'd like to automate your home? Retrieve sensor data? Maybe you have a lot of data and want to transfer and wrangle it? You have a database of cities and you'd like to enrich your data? You do machine learning and you want to train your set while the data is fetched in real-time? Or perhaps you want to use it for something else and ask us if that's a good use? Ask us [via email](mailto:get@scramjet.org) 📧 or hop on our [Scramjet Discord ](https://scr.je/join-community-mg1) and we'll be happy to talk with you. |
| 102 | +```bash |
| 103 | +npx @scramjet/sth --runtime-adapter=<docker|process|kubernetes> |
| 104 | +``` |
105 | 105 |
|
106 | | -[Check our proposition of sample architecture for use cases in different industries.](https://scramjet.org/#use-cases) |
| 106 | +Scramjet Transform Hub is a platform that helps you run programs on local and remote machines. You can start programs in the background or connect to them and see their output. You can also pipe your data to the program even if it is running on a different machine. You can install this platform in different places like AWS, Google Cloud, Azure or even your own computer. |
107 | 107 |
|
| 108 | +There's no limit to what you can use it for. Do you want a stock checker? A chatbot? Maybe you'd like to automate your home? Retrieve sensor data? Maybe you have a lot of data and want to transfer and wrangle it? You have a database of cities and you'd like to enrich your data? You do machine learning and you want to train your set while the data is fetched in real-time? Or perhaps you want to use it for something else and ask us if that's a good use? Ask us [via email](mailto:get@scramjet.org) 📧 or hop on our [Scramjet Discord ](https://scr.je/join-community-mg1) and we'll be happy to talk with you. |
108 | 109 |
|
109 | 110 | --- |
110 | 111 |
|
111 | 112 | # The basics :abcd: |
112 | 113 |
|
113 | | -**NOTE:** This is the STH development repo and in order to use it, you need to have **Unix/linux** based operating system, for example [Ubuntu](https://ubuntu.com/download/server). We also use [docker](https://www.docker.com/get-started) and [node.js v16.x](https://nodejs.org/en/). We're working on development guides for Mac and Windows. 🔜 |
| 114 | +**NOTE:** This is the STH development repo and in order to use it, you need to have **Unix/Linux** based operating system, for example [Ubuntu](https://ubuntu.com/download/server) or [Windows with WSL2](https://learn.microsoft.com/en-us/windows/wsl/install). We also use [docker](https://www.docker.com/get-started) and [node.js v16.x](https://nodejs.org/en/). We're working on development guides for Mac and Windows. 🔜 |
114 | 115 |
|
115 | 116 | Scramjet Transform Hub allows you to deploy and execute programs that you build and develop. As mentioned above, you can run any program you like, but you need to know a couple of important things: |
116 | 117 |
|
@@ -154,7 +155,6 @@ If you want to help out, we're happy to accept your pull requests. Please follow |
154 | 155 |
|
155 | 156 | ### Environment setup |
156 | 157 |
|
157 | | - |
158 | 158 | There are several installations you need to perform to get STH up and running, and even more to start developing with us. You may already have some of these below installed, but we will show you how to install them anyway. |
159 | 159 |
|
160 | 160 | - nvm |
|
0 commit comments