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

destinyai

v0.1.1

Published

Instala sessao (cookie), credenciais e a skill de API da Destiny (DestinyGen AI) para agentes de IA (Claude Code, etc.)

Readme

destinyai

Instalador de sessão + skill da API não-oficial da Destiny (DestinyGen AI, destinyai.com.br) para agentes de IA (Claude Code, e qualquer outra ferramenta que leia ~/.agents/skills).

Não existe API oficial pública da Destiny — o que este pacote instala é o resultado de uma engenharia reversa completa e testada (login por sessão de cookie, geração/extensão de vídeo, polling, download). Detalhes técnicos completos ficam na skill instalada (SKILL.md + references/).

Uso

npx destinyai

Ele vai pedir email e senha da conta Destiny, testar o login, e instalar:

  • ~/.destiny/.env — credenciais (email/senha), chmod 600
  • ~/.destiny/session.json — cookie de sessão + validade (30 dias)
  • ~/.agents/skills/destiny-api/ — conteúdo real da skill (SKILL.md, documentação de referência, client Python pronto pra uso)
  • ~/.claude/skills/destiny-api — symlink pro diretório acima (opcional, perguntado durante o setup; pode recusar se só quiser o .agents/skills)

Depois de instalado, qualquer histórico de geração fica indexado em ~/.destiny/history.db (SQLite) e todo vídeo baixado cai em ~/.destiny/downloads/.

Modo não-interativo (CI / outro agente rodando o setup)

[email protected] DESTINY_PASSWORD=senha npx destinyai --yes

Flags disponíveis:

| Flag | Efeito | |---|---| | --email=... | Email (senão lê DESTINY_EMAIL do ambiente, senão pergunta) | | --password=... | Senha (senão lê DESTINY_PASSWORD, senão pergunta) | | --yes | Não pergunta nada — assume sessão nova se não houver cookie válido, instala em .agents e .claude | | --targets=claude,agents | Onde instalar a skill (por padrão pergunta; sempre inclui agents como fonte real) |

Rodar de novo com uma sessão ainda válida em ~/.destiny/session.json só reinstala/atualiza os arquivos da skill, sem pedir credenciais de novo.

Testar um vídeo depois de instalado

python3 ~/.agents/skills/destiny-api/scripts/destiny_client.py account
python3 ~/.agents/skills/destiny-api/scripts/destiny_client.py generate \
  --provider veo --model veo-3.1-fast --aspect-ratio 9:16 \
  --resolution 720p --duration 8 --prompt "um gato andando num jardim" --wait

(Requer pip install requests — única dependência externa do client Python; o resto é biblioteca padrão, incluindo SQLite.)

Desenvolvimento

npm install
npm run dev      # roda direto via tsx, sem compilar
npm run build    # compila TypeScript -> dist/
npm start        # roda a versão compilada

skill-payload/ é a cópia exata do que vai pra ~/.agents/skills/destiny-api — editar a skill em si (documentação, client Python) deve ser feito ali.

Publicar

npm run build
npm publish   # exige estar logado (npm login) e o nome do pacote disponível

Nome confirmado e disponível no npm: destinyai.