Skip to content

[FastEdge] Rewrite manage-apps article after full portal testing#2197

Merged
kostichs merged 69 commits into
mainfrom
update/fastedge-manage-apps
Jun 26, 2026
Merged

[FastEdge] Rewrite manage-apps article after full portal testing#2197
kostichs merged 69 commits into
mainfrom
update/fastedge-manage-apps

Conversation

@kostichs

Copy link
Copy Markdown
Collaborator

No description provided.

@mintlify

mintlify Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
gcore 🟢 Ready View Preview Jun 15, 2026, 5:18 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Sergey Kostichev and others added 2 commits June 15, 2026 22:52
Rewrite CDN Application paragraph step by step instead of one long sentence.
Add bridge sentence before deployment workflow list.
Remove forbidden Get started link-dump section.
Remove banned To-deploy-see-X link sentence pattern.
Embed create-fastedge-apps link inline in deployment step 1.
style-guide: add Get started to forbidden sections table.
Sergey Kostichev and others added 3 commits June 15, 2026 23:58
…mplates article

Expand create-apps.mdx from a stub into a full landing page covering Rust
and JavaScript SDKs for HTTP applications and Proxy-Wasm for CDN applications.
Rewrite create-manage-templates.mdx based on full Playwright testing:
verified that env var names are copied as parameter definitions without
values when creating a template from an existing app.
Update FASTEDGE-UPDATE-PLAN.md to mark these articles as done.
…ct-documentation into update/fastedge-manage-apps
Sergey Kostichev and others added 3 commits June 16, 2026 11:22
…skill

New setup article for Modern Rust SDK (wstd, wasm32-wasip2) covering toolchain
setup, Cargo.toml configuration, and verified build. Tested locally with cargo
build, wstd v0.6.6 resolves successfully.

Also adds create-page skill with executable checklist for new article authoring,
and updates docs.json to convert getting-started into a group.
…ct-documentation into update/fastedge-manage-apps
Sergey Kostichev and others added 2 commits June 16, 2026 12:06
Covers fastedge crate (wasm32-wasip1): add target, configure Cargo.toml,
verify toolchain with a minimal handler. Code tested and compiled locally.
Sergey Kostichev and others added 2 commits June 16, 2026 12:37
Covers fastedge-sdk-js: install, ESM configuration, minimal handler,
and fastedge-build. Tested with Node.js v24, build verified locally.
Comment thread fastedge/getting-started.mdx Outdated
**Modern HTTP applications** receive and respond to HTTP requests directly. They implement the [WASI P2](https://wasi.dev/releases/wasi-p2) `wasi:http/proxy` interface — the current recommended standard for WebAssembly HTTP applications. Supported in Rust (via the `wstd` crate) and JavaScript. Use this type for new edge services: APIs, redirects, authentication proxies, and similar workloads.

For both modes, the general flow is:
**Legacy HTTP applications** also handle HTTP requests directly, but use Gcore's own `fastedge` crate rather than the WASI standard. They target [WASI P1](https://wasi.dev/releases/wasi-p1), the original WebAssembly system interface. Most existing FastEdge HTTP applications written in Rust use this approach. Use it when maintaining existing applications built on the `fastedge` crate.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Legacy HTTP apps:
In our documentation Rust Examples we refer to them as Basic - but yes they are an older concept

Most existing FastEdge HTTP applications written in Rust use this approach:
This is "Getting Started" - what existing apps? Where would I find these?

Comment thread fastedge/getting-started.mdx Outdated
2. Gcore deploys the code on edge servers worldwide, and all traffic is automatically routed and load-balanced across edge nodes.
3. When a request arrives, the runtime executes the code and returns an HTTP response.
4. FastEdge nodes act as origins to terminate HTTP requests, or as proxies to modify them along the way.
**CDN applications** run inside a CDN resource's request pipeline. They implement the [Proxy-Wasm](https://github.com/proxy-wasm/spec) specification — an open standard for WebAssembly-based proxy extensions — and can intercept traffic at four stages: on request headers, on request body, on response headers, and on response body. Supported in Rust only. Use this type when extending an existing CDN-served site with edge logic.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Supported in Rust only. This is not accurate, we also support AssemblyScript

Comment thread fastedge/getting-started.mdx Outdated
- **Run code close to users.** FastEdge executes on the edge node closest to each request, reducing round-trip latency without relocating the origin.
- **Deploy without managing servers.** Gcore handles deployment, scaling, and routing across the global network. The application binary is the only artifact to maintain.
- **Isolated execution per application.** Each application runs in a WebAssembly sandbox, isolated from other applications on the same node.
- **Write in Rust or JavaScript.** Both languages have first-class SDK support. Rust covers all three application types; JavaScript supports Modern HTTP applications.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rust covers all three application types;
We only have 2 application types: wasi-http (HTTP) and proxy-wasm (CDN) - I feel like referring to Basic/Wasi HTTP apps as different application types is misleading. They are the same application type (HTTP) just handled slightly differently in the code. i.e. built against different rust targets and implementing a different call structure with the host. Both compile and upload as app-type: wasi-http


The FastEdge JavaScript SDK (`@gcoredev/fastedge-sdk-js`) compiles JavaScript applications to WebAssembly so they can run on Gcore's edge network. It is the recommended way to build FastEdge applications in JavaScript.

[Node.js](https://nodejs.org) v20 or higher is required.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

v22 is the new minimum. v20 will still run, but it reached EOL March 2026 - we should be encouraging keeping up to date.


## Install the SDK

The steps below set up a minimal project manually. To scaffold one from a template instead, run `npx fastedge-init` after installation — it walks through project type and structure interactively.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To scaffold one from a template instead, run npx fastedge-init after installation:
This is not accurate.. Building an application from a template requires: npm create fastedge-app this is the interactive templating engine.. it does the folder creation, installation and setup of a working folder structure. Provided by this repo
This also means it is not run post installation as it does it for you.

npx fastedge-init is a cli tool provided by FastEdge-sdk-js and helps with build config for repeatable builds. See docs

| Tool | Purpose |
|------|---------|
| `fastedge-build` | Compiles JavaScript to a WebAssembly binary |
| `fastedge-init` | Scaffolds a new project from a template |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Creates build config for repeatable builds

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is now broken? Just getting placeholder text

Comment thread fastedge/troubleshooting.mdx Outdated

| Resource | Link |
| -------- | ---- |
| FastEdge examples | [github.com/G-Core/FastEdge-examples](https://github.com/G-Core/FastEdge-examples) |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

| JavaScript reference | [g-core.github.io/FastEdge-sdk-js](https://g-core.github.io/FastEdge-sdk-js/) |
| AssemblyScript SDK (CDN apps) | [github.com/G-Core/proxy-wasm-sdk-as](https://github.com/G-Core/proxy-wasm-sdk-as) |
| MCP server | [github.com/G-Core/FastEdge-mcp-server](https://github.com/G-Core/FastEdge-mcp-server) |
| VSCode extension | [github.com/G-Core/FastEdge-vscode](https://github.com/G-Core/FastEdge-vscode) |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should be adding our test runner to this list.

| FastEdge Test | https://github.com/G-Core/FastEdge-test |

Sergey Kostichev and others added 2 commits June 20, 2026 03:36
# Conflicts:
#	fastedge/getting-started/create-fastedge-apps.mdx
#	fastedge/llms.txt
#	llms-full.txt
Sergey Kostichev and others added 3 commits June 20, 2026 10:42
- getting-started.mdx: change three application types to two (HTTP and CDN); remove Most existing...written in Rust use this approach; add AssemblyScript support to CDN applications; update Rust SDK bullet to both HTTP and CDN application types
- setup-javascript.mdx: update Node.js minimum from v20 to v22; correct scaffolding command from npx fastedge-init to npm create fastedge-app; fix fastedge-init table description
- create-fastedge-apps.mdx: replace missing upload-binary-dialog.png with http-apps-upload-binary.png
- troubleshooting.mdx: replace deprecated FastEdge-examples with SDK-specific example links; add FastEdge Test to related resources
- integrate-cdn-with-fastedge.mdx (fastedge + cdn): replace deprecated FastEdge-examples link with SDK example repos
…ct-documentation into update/fastedge-manage-apps
Add all 16 screenshots for integrate-cdn-with-fastedge with clean
resource names (my-first-app, my-website.example.com). Add new
screenshots for create-fastedge-apps and refresh manage-apps images.
@kostichs kostichs merged commit db8d75c into main Jun 26, 2026
8 checks passed
@kostichs kostichs deleted the update/fastedge-manage-apps branch June 26, 2026 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants