https://github.com/interledger/interledger.org-learn
π€ Source code for the learn section of Interledger.org (maybe)
https://github.com/interledger/interledger.org-learn
Last synced: 3 months ago
JSON representation
π€ Source code for the learn section of Interledger.org (maybe)
- Host: GitHub
- URL: https://github.com/interledger/interledger.org-learn
- Owner: interledger
- Created: 2024-03-14T01:03:13.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-07-08T06:06:14.000Z (11 months ago)
- Last Synced: 2025-07-08T07:31:34.280Z (11 months ago)
- Language: Astro
- Homepage:
- Size: 40.3 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Interledger learning hub
Source code for the prototype Interledger learning hub. This site is separate from the headless Drupal-powered main site and is built with [Starlight](https://starlight.astro.build/), a documentation framework powered by [Astro](https://astro.build/).
## π Project Structure
Inside this project, you'll see the following folders and files:
```
.
βββ public/
βββ src/
β βββ components/
β βββ content/
β β βββ docs/
β β βββ config.ts
β βββ layouts/
β βββ pages/
β βββ styles/
β βββ env.d.ts
βββ astro.config.mjs
βββ package.json
βββ tsconfig.json
```
Starlight looks for `.md` or `.mdx` files in the `src/content/docs/` directory. Each file is exposed as a route based on its file name.
Static assets, like favicons or images, can be placed in the `public/` directory. When referencing these assets in your markdown, you do not have to include `public/` in the file path, so an image would have a path like:
```md

```
For more information about the way our documentation projects are set up, please refer to our [documentation style guide](https://interledger.tech/#docs-site-building).
## Local Development
We are using [Bun](https://bun.sh/) in this repository, but you could theoretically use the package manager of your choice. To install Bun, run
```sh
curl -fsSL https://bun.sh/install | bash
```
### π§ Commands
All commands are run from the root of the project, from a terminal:
| Command | Action |
| :------------------------ | :----------------------------------------------- |
| `bun install` | Installs dependencies |
| `bun run start` | Starts local dev server at `localhost:1106` |
| `bun run build` | Build your production site to `./dist/` |
| `bun run preview` | Preview your build locally, before deploying |
| `bun run astro ...` | Run CLI commands like `astro add`, `astro check` |
| `bun run astro -- --help` | Get help using the Astro CLI |
You can substitute the `bun` commands with whatever package manager of your choice uses.
### π Want to learn more?
Check out [Starlightβs docs](https://starlight.astro.build/), read [the Astro documentation](https://docs.astro.build), or jump into the [Astro Discord server](https://astro.build/chat).