ashleyscirra / servefolder.dev Goto Github PK
View Code? Open in Web Editor NEWServe a local folder of files in your browser for easy testing without having to run a server.
Home Page: https://servefolder.dev
License: MIT License
Serve a local folder of files in your browser for easy testing without having to run a server.
Home Page: https://servefolder.dev
License: MIT License
I downloaded c3-theme-sdk-v1-0-1.zip
from addon-sdk and extracted it to a folder. then I try to use C3 debug mode to Add dev addon, but I can't use https://servefolder.dev/host/addon.json
to add dev addon
I guess serverfolder.dev could be made installable with offline support.
In addition to a manifest file with proper icons, the service worker would need to cache the few static files used by the app.
I browse a site, and I open the devTools, type the code as below:
const script = document.createElement('script')
script.src = 'https://servefolder.dev/host/js/tampermonkey/test-helper.js?t=1691228538502'
script.onload = () => console.log('loaded')
document.head.append(script)
And then, I get an error, like this:
GET https://servefolder.dev/host/js/tampermonkey/test-helper.js?t=1691228538502 net::ERR_ABORTED 404
But this code can be loaded successfully at the servefolder.dev
host.
I have no idea about this, Is there any solution?
I have created a simplified Chinese version,
https://github.com/XHXIAIEIN/servefolder.dev
Mabe you can create a sub-folder for Chinese users to access like: https://servefolder.dev/zh-CN
This will prevent it from serving an HTML file that refers to other files with relative paths.
make the current /
into _config/
or?
I tried to open a local version of my repository (link). I can only read one level of subfolders.
Example: testServeFolder.zip
testServeFolder/
you-can-read-me.txt
first-subfolder/
you-can-read-me.txt
second-subfolder/
you-can-NOT-read-me.txt
In the servefolder.dev console there is this error:
index.js:239 Unable to serve file 'first-subfolder/first-subfolder/second-subfolder/you-can-NOT-read-me.txt': DOMException: A requested file or directory could not be found at the time an operation was processed.
In the host there is this error:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.