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
sxnney
sxnney2 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 →
ndungtse
Added Router queries: getting and passing query parametersOpenPR
ndungtse · 1mo ago
futag
Can't read url with href="#"OpenIssue

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

futag · 2mo ago

Recent fixes

View closed PRs →
onmax
show an announcer if page changes for a11y reasonsMergedPR

#18

onmax · 1w ago
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 · 1y 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 · 1y ago
Structured data for AI agents

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

·@ofershap

Replace github.com with gitshow.dev