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

ravpagelinks

v1.0.31

Published

🕷️ Ferramenta básica de Enumeração de URLs em Páginas Web.

Readme



🚀 RavPageLinks

🕷️ Ferramenta básica de Enumeração de URLs em Páginas Web

⭐ Stars 🔱 Forks 👁️ Watchers 📄 License 🕒 Last Commit 📦 Repo Size ⚙️ Node.js

Biblioteca NPM + CLI para extração de URLs automática de páginas

RavPageLinks


📞 Suporte

Se precisar de ajuda ou quiser falar com a equipe, entre no nosso servidor de suporte:

Servidor de Suporte


📋 Índice

🎯 Visão Geral

O RavPageLinks é uma ferramenta básica de enumeração de URLs que combina extração HTML tradicional com renderização completa de JavaScript usando Playwright.

✨ Características Principais

  • 🌐 Extração Híbrida: HTML tradicional + renderização JavaScript
  • 🎯 Filtros Inteligentes: Domínio, regex e arquivos personalizados
  • 📊 Logs Detalhados: Console colorido + arquivos de log
  • 🚀 Performance Otimizada: Timeouts configuráveis e fallbacks
  • 🔒 Validação Robusta: URLs validadas e normalizadas

📦 Instalação Rápida

# Instalar globalmente
npm i -g ravpagelinks          # ✅ Recomendado
npm install -g ravpagelinks    # ✅ Completo

# Ou usar diretamente com npx
npx ravpagelinks https://secguide.pages.dev/ferramentas

# Instalar navegador do Playwright
npx ravpagelinks --dw-nav

🗑️ DESINSTALAR GLOBALMENTE

npm un -g ravpagelinks         # ✅ Recomendado  
npm uninstall -g ravpagelinks  # ✅ Completo
npm remove -g ravpagelinks     # ✅ Alternativo

🛠️ Como Usar

Uso Básico

# Extração básica
ravpagelinks https://secguide.pages.dev/ferramentas

# Com logging detalhado no terminal
ravpagelinks https://secguide.pages.dev/ferramentas -v

# Salvar em diretório específico
ravpagelinks https://secguide.pages.dev/ferramentas -o resultados

Estrutura de Saída

📁 resultados/
└── 📁 exemplo_com/
    ├── 📄 links_home.txt
    ├── 📄 links_sobre.txt
    └── 📄 links_contato.txt

🎛️ Opções da CLI

| Opção | Atalho | Descrição | Padrão | |-------|---------|-----------|---------| | --output | -o | 📁 Diretório de saída | results | | --filter | -f | 🔍 Filtro por domínio/regex | - | | --filter-file | - | 📄 Arquivo de filtros | filtros.txt | | --filter-type | - | 🎯 Tipo de filtro | file | | --unique | -u | ✨ Remover duplicatas | false | | --verbose | -v | 📢 Log detalhado | false | | --enable-logs | - | 📝 Logs em arquivo | false | | --timeout | - | ⏰ Timeout (ms) | 30000 | | --no-playwright | - | 🚫 Desativar Playwright | false | | --headless | - | 🌙 Navegador headless | true | | --wait-time | - | ⏳ Espera JS (ms) | 5000 | | --scroll | - | 📜 Rolagem automática | false | | --browser | - | 🌐 Navegador | chromium |

🔧 Filtros Avançados

📄 Arquivo de Filtros (filtros.txt)

# 🎯 Arquivo de Filtros de RavPageLinks
# Formato: um filtro por linha

# Domínios
google.com
github.com

# Caminhos
/admin
/api/v1

# Regex
^https://.*\\.com$
/api/[a-z]+/v[0-9]

# Substrings
login
dashboard

Tipos de Filtro

  1. 🏷️ Domínio: Filtra por nome de domínio
  2. 🔍 Regex: Filtro por expressão regular
  3. 📄 Arquivo: Múltiplos filtros em arquivo
  4. 🔤 Substring: Busca textual simples

📊 Métodos de Extração

1. 🏗️ Extração HTML Tradicional

  • Velocidade: ⭐⭐⭐⭐⭐
  • JavaScript: ❌ Não renderiza
  • Uso: --no-playwright

2. 🌐 Playwright com Renderização

  • Velocidade: ⭐⭐⭐
  • JavaScript: ✅ Renderiza completo
  • Recursos: Scroll, wait...

🔄 Fallback Automático

Se o Playwright falhar, automaticamente usa extração HTML tradicional.

🚀 Exemplos Práticos

1. Reconhecimento Básico

ravpagelinks https://secguide.pages.dev/ferramentas -v -o recon

2. Filtro por Domínio

ravpagelinks https://secguide.pages.dev/ferramentas -f secguide.pages.dev --unique

3. Extração com JavaScript

ravpagelinks https://secguide.pages.dev/ferramentas --scroll --wait-time 10000

4. Filtros Complexos

ravpagelinks https://secguide.pages.dev/ferramentas --filter-file meus_filtros.txt --filter-type regex

5. Performance Crítica

ravpagelinks https://secguide.pages.dev/ferramentas --no-playwright --timeout 15000

6. Logs Completos

ravpagelinks https://secguide.pages.dev/ferramentas --verbose --enable-logs

🔍 Estrutura Técnica

🏗️ Arquitetura do Sistema

📁 ravpagelinks/
├── 📦 package.json
├── 📖 README.md
├── 🏠 index.js
├── 🛠️ scripts/
│   └── 📜 postinstall.js
├── ⚡ bin/
│   └── 🖥️ cli.js
├── 📄 filtros.txt
├── 📄 .android-platform     # gerado automaticamente
└── 📁 src/
    ├── 🎯 core/
    │   ├── 🕷️ Crawler.js
    │   ├── 🌐 URLExtractor.js
    │   └── 🚀 PlaywrightCrawler.js
    └── 🛠️ lib/
        ├── 🎛️ filters/
        │   ├── 🌐 DomainFilter.js
        │   ├── 🔍 RegexFilter.js
        │   └── ⚙️ FilterManager.js
        └── 🔧 utils/
            ├── 📁 FileHandler.js
            ├── ✅ URLValidator.js
            ├── 📝 AdvancedLogger.js
            └── 📝 Logger.js

🔄 Fluxo de Processamento

  1. 📥 Entrada: URL + opções
  2. 🌐 Crawling: HTML ou Playwright
  3. 🔍 Extração: URLs do conteúdo
  4. 🎯 Filtragem: Aplicação de filtros
  5. 💾 Saída: Arquivos organizados

🐛 Solução de Problemas

❌ Erros Comuns

  1. Playwright não inicializa

    • Verifique: npx playwright install
    • Alternative: Use --no-playwright
  2. Timeout em sites lentos

    • Aumente: --timeout 60000
    • Ajuste: --wait-time 10000
  3. Muitas URLs duplicadas

    • Use: --unique ou -u
  4. Filtros não funcionando

    • Verifique sintaxe do filtros.txt
    • Use --verbose para debug

🔧 Dicas de Performance

  • Sites estáticos: Use --no-playwright
  • SPA/React: Use --scroll --wait-time 10000
  • Grandes sites: Aumente --timeout
  • Debug: Use --verbose e cheque logs

📊 Otimização de Resultados

  1. Combine filtros no arquivo filtros.txt
  2. Use --unique para limpar duplicatas
  3. Ajuste timeouts conforme a rede
  4. Experimente métodos de extração diferentes

🛠️ Desenvolvimento

# Clonar e desenvolver
git clone https://github.com/ravenastar-js/ravpagelinks.git
cd ravpagelinks
npm install
npm run dev

Feito com 💚 por RavenaStar

⬆ Voltar ao topo