https://github.com/arvid-berndtsson/robots-txt-analyzer
Modern robots.txt analyzer with instant analysis, security recommendations, and export capabilities. Built with Qwik and deployed on Cloudflare Pages.
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.3%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
Modern robots.txt analyzer with instant analysis, security recommendations, and export capabilities. Built with Qwik and deployed on Cloudflare Pages.
Basic Info
- Host: GitHub
- Owner: arvid-berndtsson
- License: mit
- Language: TypeScript
- Default Branch: main
- Homepage: https://robots-txt.arvid.tech
- Size: 952 KB
Statistics
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 8
- Releases: 1
Topics
Metadata Files
README.md
Robots.txt Analyzer 🤖
A modern web tool for analyzing robots.txt files, built with Qwik and deployed on Cloudflare Pages. Try it out at robots-txt.arvid.tech!
Features
- 🔍 Instant robots.txt analysis
- 📊 Comprehensive scoring system
- 🗺️ Sitemap validation
- 🚫 Security recommendations
- 📱 Mobile-friendly interface
- 💾 Export results as JSON or CSV
- ⚡️ Built with Qwik for optimal performance
Development
Prerequisites
- Node.js 16+
- npm or yarn
- A
.env.localfile with:shell ORIGIN="http://localhost:5173" API_KEY="your-api-key" HISTORY_KV="NAME_OF_CLOUDFLARE_KV_NAMESPACE" - A
wrangler.tomlfile with:shell [[d1_databases]] binding = "DB" database_name = "robots-txt-analyzer" database_id = "YOUR-DATABASE-ID"
Getting Started
- Clone the repository
- Install dependencies:
shell npm install - Start the development server:
shell npm run dev - Visit http://localhost:5173
Building for Production
shell
npm run build
Preview Production Build
shell
npm run preview
Deployment
This project is deployed on Cloudflare Pages. The build configuration is:
- Build command:
npm run build - Build output directory:
dist - Environment variables:
ORIGIN: Your production URLAPI_KEY: Your API key for the analyzerDB: Your Cloudflare D1 database ID
wrangler.toml: Your Cloudflare D1 database IDwrangler.toml.example: Examplewrangler.tomlfile
Notes:
- Set the DB variable in the .env.local file to your Cloudflare D1 database ID.
- For initially setup, push the DB schema to cloudflare, run npx wrangler d1 execute robots-txt-analyzer --file=./db/schema.sql --remote.
Cleanup
To cleanup old cache entries, you can run the cleanup endpoint. This will delete all cache entries older than 24 hours.
shell
curl -X GET https://robots-txt.arvid.tech/api/v1/cleanup
Recommendation is to call this using a cron job.
Project Structure
├── src/
│ ├── components/ # Reusable UI components
│ ├── routes/ # Page routes and API endpoints
│ └── utils/ # Utility functions and parsers
├── public/ # Static assets
└── adapters/ # Cloudflare Pages adapter config
Built With
- Qwik - The web framework
- Cloudflare Pages - Hosting platform
- Cloudflare D1 - Database
- Tailwind CSS - Styling
Author
Built by Arvid Berndtsson
License
This project is open source and available under the MIT License.
Owner
- Name: Arvid Berndtsson
- Login: arvid-berndtsson
- Kind: user
- Location: Sweden
- Company: @LimeTip
- Website: https://arvidberndtsson.com
- Repositories: 1
- Profile: https://github.com/arvid-berndtsson
Based in Malmö, Sweden, I specialize in software development and digital sustainability. Founder of @LimeTip and Co-Founder of @merely-emissions
GitHub Events
Total
- Create event: 93
- Issues event: 2
- Release event: 1
- Delete event: 87
- Issue comment event: 140
- Push event: 56
- Pull request review event: 2
- Pull request event: 173
Last Year
- Create event: 93
- Issues event: 2
- Release event: 1
- Delete event: 87
- Issue comment event: 140
- Push event: 56
- Pull request review event: 2
- Pull request event: 173
Committers
Last synced: 7 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Arvid Berndtsson | 1****n | 34 |
| dependabot[bot] | 4****] | 6 |
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 3
- Total pull requests: 158
- Average time to close issues: N/A
- Average time to close pull requests: 5 days
- Total issue authors: 2
- Total pull request authors: 2
- Average comments per issue: 0.0
- Average comments per pull request: 1.27
- Merged pull requests: 56
- Bot issues: 1
- Bot pull requests: 107
Past Year
- Issues: 3
- Pull requests: 158
- Average time to close issues: N/A
- Average time to close pull requests: 5 days
- Issue authors: 2
- Pull request authors: 2
- Average comments per issue: 0.0
- Average comments per pull request: 1.27
- Merged pull requests: 56
- Bot issues: 1
- Bot pull requests: 107
Top Authors
Issue Authors
- arvid-berndtsson (2)
Pull Request Authors
- dependabot[bot] (101)
- arvid-berndtsson (50)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/checkout v4 composite
- actions/checkout v4 composite
- 598 dependencies
- @builder.io/qwik ^1.12.0 development
- @builder.io/qwik-city ^1.12.0 development
- @types/eslint 8.56.10 development
- @types/node 20.14.11 development
- @typescript-eslint/eslint-plugin 7.16.1 development
- @typescript-eslint/parser 7.16.1 development
- autoprefixer ^10.4.19 development
- eslint 8.57.0 development
- eslint-plugin-qwik ^1.12.0 development
- postcss ^8.4.39 development
- prettier 3.3.3 development
- prettier-plugin-tailwindcss ^0.5.4 development
- tailwindcss ^3.4.6 development
- typescript 5.4.5 development
- undici * development
- vite 5.3.5 development
- vite-tsconfig-paths ^4.2.1 development
- wrangler ^3.0.0 development