Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dabit3/lens-algorithm-playground
This app showcases various Lens recommendation algorithms and APIs available in the Lens ecosystem.
https://github.com/dabit3/lens-algorithm-playground
Last synced: about 1 month ago
JSON representation
This app showcases various Lens recommendation algorithms and APIs available in the Lens ecosystem.
- Host: GitHub
- URL: https://github.com/dabit3/lens-algorithm-playground
- Owner: dabit3
- Created: 2023-06-30T00:10:22.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-24T13:37:26.000Z (about 1 year ago)
- Last Synced: 2024-06-30T15:48:06.530Z (3 months ago)
- Language: TypeScript
- Homepage: https://lens-algorithm-playground.vercel.app
- Size: 435 KB
- Stars: 30
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lens Algorithm Playground
This app showcases various Lens recommendation algorithms and APIs available in the Lens ecosystem.
## Supported APIs
- [Lens API](https://docs.lens.xyz/docs/introduction)
- [Karma3](https://karma3labs.com/)
- [MadFi](https://docs.madfinance.xyz/api/suggested-follows)
- [Airstack](https://docs.airstack.xyz/airstack-docs-and-faqs/reference/api-reference/socials-api/)## Prerequisites
You so not need any credentials to run this app to interact with Lens or Karma3.
The APIs that require an API key are MadFi and Airstack.
You can get an Airstack API key by creating an account [here](https://app.airstack.xyz).
You can request one for MadFi by reaching out to their team, you can learn more [here](https://app.airstack.xyz/)
## Running the app
To run this app, follow these steps:
1. Clone the repo
```sh
git clone [email protected]:dabit3/lens-algorithm-playground.git
```2. Change into the directory and install the dependencies
```sh
cd lens-algorithm-playgroundnpm install # or yarn, pnpm
```3. Run the app
```sh
npm start
```4. (optional) To enable MadFi APIs
Set your API key in a file named `.env.local` (see `.example.env.local`)
```
MADFI_KEY=
```