GitShow/fireship-io/flamethrower
fireship-io

flamethrower

A blazingly fast router for static sites

by fireship-io
Star on GitHubForknpm

TypeScript

2.8k stars111 forks29 contributorsQuiet · 2y agoSince 2022MIT

Meet the team

See all 29 on GitHub →
codediodeio
codediodeio58 contributions
ekwoka
ekwoka7 contributions
b0iq
b0iq6 contributions
omar-dulaimi
omar-dulaimi3 contributions
prowebat
prowebat3 contributions
tsar-boomba
tsar-boomba2 contributions
vinaykulk621
vinaykulk6212 contributions
sunneydev
sunneydev2 contributions

Languages

View on GitHub →
TypeScript69.9%
HTML24.3%
JavaScript5.8%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

2 of 6 standards met

Community profile →
37
✓README✓License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · Last activity 2y ago
See all on GitHub →
futag
Can't read url with href="#"OpenIssue

For some reason, Hashtag(#) only as href return error !image

futag · 3w ago
ndungtse
Added Router queries: getting and passing query parametersOpenPR
ndungtse · 3w ago

Recent fixes

View closed PRs →
ChrisW-priv
Script run after reload [BUG(?)]ClosedIssue

Hi! I successfully build the example using my very limited knowledge about JS world. I have a question: is "full rerun" of scripts expected when I do refresh on the page? What I encountered is this: 1. I start on home 2. Click 'about' href and get: !Image 3. I click refresh (or ctrl+R) and get: !Image So this means that the state is lost no? So all user has to do to get logged out is click ctrl+r by accident even and his session is lost? As I said: I am VERY new to this so please tell me if maybe I'm doing something wrong (probably) Steps to reproduce: 1. Clone repo 2. Run 3. Run Caveat: did not actually ever exit. I waited like a 1min but got stuck on:

ChrisW-priv · 11mo ago
rlmsinclair
Fix TypeError when opts is undefined in main.tsMergedPR

Summary Fixes issue #77 by adding null safety check when accessing in the main flamethrower function. Problem The current code can throw a TypeError when is undefined: If is undefined, accessing throws: Solution Added null safety check before accessing : Changes ✅ Added null safety check in ✅ Added comprehensive test for undefined opts scenario ✅ Maintains backwards compatibility with existing configurations ✅ No breaking changes to the API Test Plan [x] Added new test: "flamethrower initializes without error when opts is undefined" [x] Verified existing tests still pass [x] Tested with various configuration scenarios [x] Confirmed backwards compatibility Impact Bundle Size: No change (same logic, safer implementation) Performance: No impact Compatibility: Fully backwards compatible Security: Improves robustness against undefined input References Resolves #77 Related to initialization safety improvements 🤖 Generated with Claude Code Co-Authored-By: Claude

rlmsinclair · 11mo ago
rlmsinclair
Add comprehensive live demo with GitHub Pages deploymentMergedPR

Summary Resolves issue #91 by implementing a comprehensive interactive demo site with GitHub Pages deployment, significantly improving project accessibility and user experience. Problem Users cannot easily explore Flamethrower functionality without local setup, creating a barrier to adoption and contribution. The lack of a live demo makes it difficult for developers to understand the performance benefits and features. Solution Created a complete interactive demo featuring: 🎯 Demo Features Interactive Experience: Live navigation with real-time performance metrics Debug Panel: Comprehensive debugging tools (double-click logo or Ctrl+D) Performance Monitoring: Route changes, prefetch events, and load time tracking Visual Design: Modern, responsive design with accessibility support 📱 Demo Pages Home (): Overview with live statistics and interactive controls Features (): Detailed feature explanations with examples Performance (): Comprehensive metrics and benchmarks About (): Project information and getting started guide 🔧 Technical Implementation Progressive Enhancement: Works without JavaScript GitHub Pages Deployment: Automated via GitHub Actions Performance Optimized: Preloading, caching, and lazy loading Cross-browser Compatibility: Tested across modern browsers Changes ✅ Created comprehensive demo site structure ✅ Implemented interactive performance monitoring ✅ Added GitHub Actions workflow for automated deployment ✅ Created responsive, accessible design ✅ Added debug panel for development insights ✅ Implemented SEO optimization with meta tags ✅ Added comprehensive documentation File Structure Deployment GitHub Pages: Automated deployment on push to main Custom 404: User-friendly 404 page URL Structure: for easy access Test Plan [x] Cross-browser testing (Chrome, Firefox, Safari, Edge) [x] Mobile responsiveness verification [x] Accessibility testing (WCAG 2.1 AA compliance) [x] Performance testing with Lighthouse [x] GitHub Pages deployment verification Impact User Experience: Dramatically improved project accessibility Developer Onboarding: Easier understanding of features and benefits Community Engagement: Lower barrier to contribution SEO: Better search engine visibility Performance: Demonstrates real-world performance benefits References Resolves #91 Live Demo URL: Will be available at 🤖 Generated with Claude Code Co-Authored-By: Claude

rlmsinclair · 11mo ago
Structured data for AI agents

Repository: fireship-io/flamethrower. Description: A blazingly fast router for static sites Stars: 2782, Forks: 111. Primary language: TypeScript. Languages: TypeScript (69.9%), HTML (24.3%), JavaScript (5.8%). License: MIT. Open PRs: 13, open issues: 11. Last activity: 2y ago. Community health: 37%. Top contributors: codediodeio, ekwoka, b0iq, omar-dulaimi, prowebat, tsar-boomba, vinaykulk621, sunneydev, Badhan-abhishek, XeoSpheric and others.

·@ofershap

Replace github.com with gitshow.dev