module
Version:
v0.0.0-...-f4856b7
Opens a new window with list of versions in this module.
Published: Jun 27, 2026
License: Apache-2.0
Opens a new window with license information.
README
ΒΆ
Crawly π·οΈ
A simple web crawler written in Go β built to practice core Go concepts like HTTP requests, parsing, modular design, and package organization.
βοΈ Features
- Crawl a given URL
- Extract links from HTML pages
- Remove duplicate URLs
- Check HTTP status codes
- Simple logging system
- Modular structure (separation of concerns)
π§± Project Structure
crawly/
βββ cmd/ # Entry point (CLI)
βββ crawly/ # Core crawling logic
βββ checker/ # URL validation & utilities
## π οΈ How It Works
1. Start with a root URL
2. Fetch HTML content
3. Parse links (`<a>` tags)
4. Normalize & deduplicate URLs
5. Optionally check status codes
6. Log results
## βΆοΈ Usage
```bash
go run /cmd/main.go <url>
Example:
go run /cmd/main.go https://example.com
π License
Apache 2.0
Directories
ΒΆ
Click to show internal directories.
Click to hide internal directories.