GitShow/sindresorhus/electron-serve
sindresorhus

electron-serve

Static file serving for Electron apps

by sindresorhus
electronelectron-modulenodejsnpm-packageserveserversingle-page-appstatic-file-server
Star on GitHubForknpm

JavaScript

482 stars35 forks12 contributorsQuiet · 5mo agoSince 2018v3.0.1MIT

Meet the team

See all 12 on GitHub →
sindresorhus
sindresorhus34 contributions
hadeeb
hadeeb3 contributions
dedo1911
dedo19112 contributions
mhkeller
mhkeller2 contributions
akshitkrnagpal
akshitkrnagpal1 contribution
ffflorian
ffflorian1 contribution
ibash
ibash1 contribution
itsonlyjames
itsonlyjames1 contribution

Languages

View on GitHub →
JavaScript92%
HTML8%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

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

Recent fixes

View closed PRs →
d3lm
Source maps cannot be loaded by Chrome DevToolsClosedIssue

When I am serving a specific directory the devtools always complain that the source maps couldn't be loaded. That also makes sense cause Chrome will try to fetch those relative to directory that is served, meaning it looks for source maps in and obviously it cannot find them there, cause that path is not a correct path to the node modules where the source maps are located. Any idea what I could do to fix this?

d3lm · 1mo ago
rafaelcalpena
Multiple scheme registrations cause `window.crypto.subtle` to fail when order is incorrectClosedIssue

Description When registering multiple custom schemes using , (and other Web Crypto API methods) throw errors in windows using schemes that weren't registered last. Expected Behavior All registered schemes should have proper secure context privileges, allowing to work regardless of registration order. Root Cause According to Electron's documentation, should be called once before the app's ready event, with all schemes registered together. Multiple calls may interfere with each other, causing only the last registration to properly establish secure context. Looking at the source code, each call to calls separately: Reproduction Proposed Solution could collect all scheme registrations via a "batch method" and call once with all schemes before .

rafaelcalpena · 5mo ago
fusionbeam
macos and custom protocolsClosedIssue

in MacOS I am gettin this error from the OS when trying to do loadURL as instructed. Has anyone got it to work in MacOS? Am I missing something ...

fusionbeam · 9mo ago
Structured data for AI agents

Repository: sindresorhus/electron-serve. Description: Static file serving for Electron apps Stars: 482, Forks: 35. Primary language: JavaScript. Languages: JavaScript (92%), HTML (8%). License: MIT. Topics: electron, electron-module, nodejs, npm-package, serve, server, single-page-app, static-file-server. Latest release: v3.0.1 (5mo ago). Open PRs: 0, open issues: 0. Last activity: 5mo ago. Community health: 71%. Top contributors: sindresorhus, hadeeb, dedo1911, mhkeller, akshitkrnagpal, ffflorian, ibash, itsonlyjames, juliangruber, lazToum and others.

·@ofershap

Replace github.com with gitshow.dev