From 370610d5243e5687031c3af91d4aa9d4076659e3 Mon Sep 17 00:00:00 2001 From: Pigges Date: Tue, 5 Dec 2023 15:34:45 +0100 Subject: [PATCH] set up resources content --- bun.lockb | Bin 258353 -> 258353 bytes src/content/resources/api-wrappers.mdx | 21 +++++++++++++++++++++ src/pages/index.astro | 4 +--- src/pages/resources/[slug].astro | 18 ++++++++++++++++++ 4 files changed, 40 insertions(+), 3 deletions(-) create mode 100644 src/content/resources/api-wrappers.mdx create mode 100644 src/pages/resources/[slug].astro diff --git a/bun.lockb b/bun.lockb index 77e6a2c290501d9feeb0afcf84c6a102a9a24bac..6c925fe6dfb497b460b4c63348bb1f28d3f14c24 100755 GIT binary patch delta 31 ncmdn^h=1cF{)QIDElkIkvopq-=^5x5w4YnfwEf(2=44L*(~=CI delta 31 kcmdn^h=1cF{)QIDElkIkvokS(LHoJoOxw>bXHND60KshwPyhe` diff --git a/src/content/resources/api-wrappers.mdx b/src/content/resources/api-wrappers.mdx new file mode 100644 index 0000000..6a0b6d4 --- /dev/null +++ b/src/content/resources/api-wrappers.mdx @@ -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 | diff --git a/src/pages/index.astro b/src/pages/index.astro index 61b3a3d..cf22130 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -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'; --- @@ -18,4 +16,4 @@ import { featured, contributions, resources, AWESOME_LBRY } from '../config'; - \ No newline at end of file + ({ + params: { slug: entry.slug }, props: { entry }, + })); +} + +const { entry } = Astro.props; +const { Content } = await entry.render(); +--- + + + + \ No newline at end of file