npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

tibiaway-ai

v1.1.0

Published

Tu guía de Tibia powered by AI. Your path through Tibia, powered by AI.

Readme

████████╗██╗██████╗ ██╗ █████╗ ██╗    ██╗ █████╗ ██╗   ██╗ █████╗ ██╗
╚══██╔══╝██║██╔══██╗██║██╔══██╗██║    ██║██╔══██╗╚██╗ ██╔╝██╔══██╗██║
   ██║   ██║██████╔╝██║███████║██║ █╗ ██║███████║ ╚████╔╝ ███████║██║
   ██║   ██║██╔══██╗██║██╔══██║██║███╗██║██╔══██║  ╚██╔╝  ██╔══██║██║
   ██║   ██║██████╔╝██║██║  ██║╚███╔███╔╝██║  ██║   ██║   ██║  ██║██║
   ╚═╝   ╚═╝╚═════╝ ╚═╝╚═╝  ╚═╝ ╚══╝╚══╝ ╚═╝  ╚═╝   ╚═╝   ╚═╝  ╚═╝╚═╝

         ⚔  Your path through Tibia, powered by AI  ⚔

npm version License: MIT Node.js

TibiaWayAI es un asistente de IA para jugadores de Tibia. Sugiere hunting spots, calcula profit/waste/exp, recomienda quests, organiza sets e imbuements, explica mecánicas de bosses, lleva un diario de progreso y analiza screenshots.

Funciona como CLI standalone (Anthropic o Ollama) y como plugin de OpenCode (sin API key extra).


Instalación

Un solo comando — el instalador te pregunta qué modo querés usar:

npx tibiaway-ai

El instalador ofrece tres opciones:

| Opción | Requisito | Descripción | |---|---|---| | Anthropic Claude | API key de Anthropic | Mejor calidad de respuestas | | Ollama (local) | Ollama instalado | Completamente gratis, sin internet | | Plugin de OpenCode | OpenCode | Sin API key extra, usa el modelo de OpenCode |

Instalación global

npm install -g tibiaway-ai
tibiaway setup

Requisitos


Demo

$ tibiaway hunt

⚔  HUNT ADVISOR

? ¿Cuál es tu objetivo principal? Máxima experiencia (exp/h)
? ¿Vas solo o en party? Solo
? ¿Tienes cuenta Premium? Yes

──────────────────────────────────────────────────────────

Para Draken Fireblade (Elder Druid, level 347 en Antica) cazando solo
con objetivo de máxima exp/h, te recomiendo estos spots:

1. ASURAS (Isle of Strife) ★★★★★
   Criaturas: Asura Mirror, Asura Phantom, Asura Spectre
   Exp/h: 4.5M - 6M xp/h (con prey activo)
   Profit: +200k - +500k gold/h
   Requisito: Quest "The Dream Courts" completada
   ...

Comandos CLI

| Comando | Descripción | |---|---| | tibiaway hunt | Sugiere hunting spots para tu vocación y level | | tibiaway profit | Calcula profit, waste y exp/hora | | tibiaway quest | Recomienda quests según tus objetivos | | tibiaway set | Arma tu equipment con imbuements | | tibiaway boss <nombre> | Mecánicas y estrategia de cualquier boss | | tibiaway diary | Diario de progreso | | tibiaway diary add | Agrega una entrada al diario | | tibiaway diary show | Muestra el historial | | tibiaway diary summary | Resumen de progreso con IA | | tibiaway analyze <archivo> | Analiza screenshots o notas (.png, .jpg, .txt) | | tibiaway sync | Actualiza tu perfil desde tibiadata.com | | tibiaway setup | Reconfigurar proveedor de IA o personaje | | tibiaway help | Muestra todos los comandos |


Plugin para OpenCode

TibiaWayAI se instala como agente y comandos en OpenCode con el mismo comando de siempre:

npx tibiaway-ai
# → elige "Plugin OpenCode"

Esto copia el agente y los comandos a ~/.config/opencode/ (o .opencode/ local) y vincula tu personaje automáticamente.

Comandos disponibles en OpenCode

/hunt     → Busca spots de caza
/profit   → Calcula profit de sesión
/quest    → Recomienda quests
/set      → Arma tu equipment
/boss     → Mecánicas de boss
/diary    → Gestiona el diario
/analyze  → Analiza screenshots
/sync     → Refresca el perfil del agente

Sincronización de personaje en OpenCode

El agente lee ~/.tibiaway/config.json al inicio de cada sesión y detecta tu personaje automáticamente. Para refrescar el contexto durante una conversación:

/sync

¿Cómo funciona el sync de personaje?

TibiaWayAI se conecta a la API pública de TibiaData — sin IA, sin API key:

  1. Se ingresa el nombre del personaje
  2. Se consulta https://api.tibiadata.com/v4/character/[nombre]
  3. Se muestran los datos: nombre, vocación, level, world y guild
  4. Se confirma y se guarda en ~/.tibiaway/config.json

Actualizar tu perfil:

tibiaway sync
# ✓ Perfil actualizado: Draken Fireblade | Level 347 | Elder Druid

Estructura del archivo de configuración (~/.tibiaway/config.json):

{
  "provider": "anthropic",
  "anthropic_api_key": "sk-ant-...",
  "character": {
    "name": "Draken Fireblade",
    "vocation": "Elder Druid",
    "level": 347,
    "world": "Antica",
    "guild": "The Tibia Gods"
  },
  "diary": [],
  "last_sync": "2025-05-17T12:00:00.000Z"
}

Para Ollama, en lugar de anthropic_api_key se guardan ollama_model y ollama_url.


Estructura del proyecto

tibiaway-ai/
├── bin/
│   └── tibiaway.js           # Punto de entrada CLI
├── src/
│   ├── installer.js          # Instalación interactiva (3 modos)
│   ├── standalone.js         # Router de comandos CLI
│   ├── commands/
│   │   ├── hunt.js
│   │   ├── profit.js
│   │   ├── quest.js
│   │   ├── set.js
│   │   ├── boss.js
│   │   ├── diary.js
│   │   ├── analyze.js
│   │   ├── sync.js
│   │   └── setup-opencode.js # Setup del plugin OpenCode
│   └── utils/
│       ├── banner.js         # Banner ASCII y helpers de UI
│       ├── config.js         # Config en ~/.tibiaway/config.json
│       ├── character.js      # Gestión del perfil de personaje
│       └── api.js            # Wrapper Anthropic + Ollama
├── agents/
│   └── tibiaway.md           # Definición del agente OpenCode
├── commands/                 # Slash commands para OpenCode
│   ├── hunt.md
│   ├── profit.md
│   ├── quest.md
│   ├── set.md
│   ├── boss.md
│   ├── diary.md
│   ├── analyze.md
│   └── sync.md
├── web/
│   └── index.html            # Landing page
├── package.json
└── README.md

Variables de entorno

| Variable | Descripción | |---|---| | ANTHROPIC_API_KEY | API key de Anthropic (alternativa a la configuración guardada) | | DEBUG | Si está definida, muestra errores detallados |


Contributing

Las contribuciones son bienvenidas. Por favor:

  1. Haz fork del repositorio
  2. Crea una rama descriptiva: git checkout -b feat/nuevo-comando
  3. Haz tus cambios con commits claros
  4. Abre un Pull Request describiendo los cambios

Áreas donde puedes contribuir

  • Nuevos comandos: bestiary tracker, exp party calculator, imbuement price checker
  • Mejor base de conocimiento: actualizar datos de vocaciones, spots y bosses
  • Integración TibiaWiki: link automático a páginas de TibiaWiki
  • Export de datos: exportar diario a CSV o Markdown
  • Tests: añadir tests unitarios e integración

Licencia

MIT © TibiaWayAI


TibiaWayAI no está afiliado con CipSoft GmbH ni con Tibia oficialmente.
Tibia® es una marca registrada de CipSoft GmbH.