mirror of
https://github.com/LBRYFoundation/lbry-tech.git
synced 2025-03-04 06:57:53 +00:00
set up resources content
This commit is contained in:
parent
e8e70a7c8c
commit
370610d524
4 changed files with 40 additions and 3 deletions
BIN
bun.lockb
BIN
bun.lockb
Binary file not shown.
21
src/content/resources/api-wrappers.mdx
Normal file
21
src/content/resources/api-wrappers.mdx
Normal file
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
title: API Wrappers
|
||||
description: Find LBRY API wrappers for your favorite language.
|
||||
---
|
||||
|
||||
This document contains a comprehensive list of all available API wrappers for the LBRY protocol and blockchain. API wrappers allow for easier integration of the LBRY APIs into your codebase. They still require you to run either the [LBRY protocol](https://github.com/lbryio/lbry-sdk) or the [LBRY blockchain](https://github.com/lbryio/lbrycrd).
|
||||
|
||||
Interested in creating one for a language not shown below? See our [bounties page](https://lbry.com/bounty/lbry-binding) for details.
|
||||
|
||||
## List of API wrapper resources
|
||||
| Language | Creator/Contact | GitHub Repository / Other Links | Status |
|
||||
|------------|---------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|-------------|
|
||||
| Python | [osilkin98](https://github.com/osilkin98) | [PyBry](https://github.com/osilkin98/PyBry) / [PyPi](https://pypi.org/project/pybry/) | Completed |
|
||||
| C++ | [osilkin98](https://github.com/osilkin98) | [CppBry](https://github.com/osilkin98/CppBry) | Completed |
|
||||
| Java | [winder](https://github.com/winder/) | [lbry4j](https://github.com/winder/lbry4j) / [Maven-Central](https://search.maven.org/#artifactdetails%7Ccom.willwinder.lbry4j%7Clbry4j%7C1.0%7Cjar) | Completed |
|
||||
| Javascript | [ryanomad](https://github.com/rynomad) | [lbry-js](https://github.com/rynomad/lbry-js) / [npm](https://www.npmjs.com/package/lbry) | Completed |
|
||||
| Lua | [ocornoc](https://github.com/ocornoc/) | [lualbry](https://github.com/ocornoc/luabry) | Completed |
|
||||
| PHP | [lyoshenka](https://github.com/lyoshenka/) | [php-api](https://github.com/lbryio/php-api) | Completed |
|
||||
| Ruby | [dan1d](https://github.com/dan1d) | [lbry-api-ruby](https://github.com/dan1d/lbry-api-ruby) / [Ruby Gem](https://rubygems.org/gems/lbry) | Completed |
|
||||
| Rust | [zxawry](https://github.com/zxawry) | [lbry-rs](https://github.com/zxawry/lbry-rs) | Completed |
|
||||
| Dart | [osilkin98](https://github.com/osilkin98) | [lbrydart](https://github.com/osilkin98/lbrydart) | Completed |
|
|
@ -4,11 +4,9 @@ import Hero from '../components/Hero.astro';
|
|||
import Resources from '../components/Resources.astro';
|
||||
import Featured from '../components/Featured.astro';
|
||||
import Contribute from '../components/Contribute.astro';
|
||||
import { Image } from "astro-preload/components";
|
||||
|
||||
import '../styles/index.css';
|
||||
|
||||
import { featured, contributions, resources, AWESOME_LBRY } from '../config';
|
||||
---
|
||||
|
||||
<Layout>
|
||||
|
@ -18,4 +16,4 @@ import { featured, contributions, resources, AWESOME_LBRY } from '../config';
|
|||
<Featured/>
|
||||
<Contribute/>
|
||||
</div>
|
||||
</Layout>
|
||||
</Layout
|
18
src/pages/resources/[slug].astro
Normal file
18
src/pages/resources/[slug].astro
Normal file
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
import { getCollection } from 'astro:content';
|
||||
import Markdown from '../../layouts/Markdown.astro';
|
||||
|
||||
export async function getStaticPaths() {
|
||||
const blogEntries = await getCollection('resources');
|
||||
return blogEntries.map(entry => ({
|
||||
params: { slug: entry.slug }, props: { entry },
|
||||
}));
|
||||
}
|
||||
|
||||
const { entry } = Astro.props;
|
||||
const { Content } = await entry.render();
|
||||
---
|
||||
|
||||
<Markdown frontmatter={entry.data}>
|
||||
<Content />
|
||||
</Markdown>
|
Loading…
Reference in a new issue