Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/natoboram/lame
- Owner: NatoBoram
- License: agpl-3.0
- Created: 2024-09-13T22:57:20.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-11-12T05:29:36.000Z (about 1 month ago)
- Last Synced: 2024-11-12T06:24:41.654Z (about 1 month ago)
- Topics: leopardsatemyface, openai, reddit
- Language: Go
- Homepage:
- Size: 48.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
- Codeowners: .github/CODEOWNERS
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)