Files
NeuroDock/GeniusAPI
Zacharias 931c274cd3
build / build (push) Has been cancelled
refactor: update CoreMemory to v2 and rename OllamaToolResponse
- Refactored `CoreMemory` to support versioning (v2) and dual-memory types: `MAPPED_MEMORY` (key-value) and `ARRAYED_MEMORY` (sequential).
- Added automatic migration logic for v1 memory files to v2.
- Introduced new memory tools: `AddArrayMemory`, `GetArrayMemory`, and `GetArrayedMemories`.
- Renamed `OllamaToolRespnce` to `OllamaToolResponse` and added `empty()` factory methods for better error handling.
- Updated multiple function tools (e.g., `GetMemoryFunction`, `GetMemoriesFunction`, `APITool`, `GetWikiPageText`) to use the new `OllamaToolResponse` and `Optional`-based memory retrieval.
- Improved null safety by adding `@NotNull` annotations to tool implementations.
2026-05-27 21:10:15 +02:00
..

Genius API

Important notes

This tool is provided for educational and experimental purposes only.

Please be aware that the Genius API Terms of Service prohibit web scraping of their website. This project contains code that performs scraping to retrieve song lyrics directly from Genius.com, which may violate those terms.

Since Genius does not provide official API endpoints for lyrics due to copyright restrictions, this tool includes scraping functionality as a workaround. However, scraping may result in legal or technical consequences such as IP bans, rate limiting, or other restrictions imposed by Genius.

Use this tool responsibly and at your own risk. The author does not encourage or endorse violating any third-party terms of service or applicable laws and disclaims any liability arising from misuse.

Whenever possible, prefer using official API endpoints and respect copyright laws.

API key required

This tool requires a Genius API key to work since it fetches song metadata from the Genius API.

The API key shuld be stored in ${DATA_DIR}/geniusapi.json using the following format:

{
  "client_id": "<your_client_id>",
  "client_secret": "<your_client_secret>"
}