Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/natoboram/lame

A LLM-powered verification tool for explanatory comments in r/LeopardsAteMyFace
https://github.com/natoboram/lame

leopardsatemyface openai reddit

Last synced: 27 days ago
JSON representation

A LLM-powered verification tool for explanatory comments in r/LeopardsAteMyFace

Awesome Lists containing this project

README

        

# Leopards Ate My Explanation

[![Go](https://github.com/NatoBoram/lame/actions/workflows/go.yaml/badge.svg)](https://github.com/NatoBoram/lame/actions/workflows/go.yaml) [![Go Report Card](https://goreportcard.com/badge/github.com/NatoBoram/lame)](https://goreportcard.com/report/github.com/NatoBoram/lame) [![Go Reference](https://pkg.go.dev/badge/github.com/NatoBoram/lame.svg)](https://pkg.go.dev/github.com/NatoBoram/lame)

A LLM-powered verification tool for explanatory comments in [r/LeopardsAteMyFace](https://www.reddit.com/r/LeopardsAteMyFace).

> [!IMPORTANT]
>
> Large language models are biaised towards positivity. They are probably going to refuse to remove anything.

## Installation

```sh
go install github.com/NatoBoram/lame@latest
```

## Usage

Run `lame` and it'll create configurations files at `~/.config/lame` that you'll be able to fill out.

You'll need to create a _personal use script_ at and put its information in `~/.config/lame/reddit_credentials.json`

```json
{
"ID": "",
"Secret": "",
"Username": "",
"Password": "",
"Guide": "lt8zlq"
}
```

To use OpenAI, create a _User API key_ at and put it in `~/.config/lame/openai_credentials.json`.

To use Ollama, host it somewhere and fill the fields in `~/.config/lame/openai_credentials.json`.

```json
{
"Token": "ollama",
"BaseURL": "http://localhost:11434/v1",
"Model": "llama3.1"
}
```

Once the information is filled out, run `lame` again and it'll prompt for Reddit post links.

Only links in the form of `https://www.reddit.com/r/LeopardsAteMyFace/comments/lt8zlq` are supported.

## Example

![Example image of what it looks like to use it](https://github.com/user-attachments/assets/48a44e8d-75bb-4a79-81b7-0457226975fe)