ethanpil / sheret Goto Github PK
View Code? Open in Web Editor NEWA tiny, simple static file web server.
License: GNU General Public License v3.0
A tiny, simple static file web server.
License: GNU General Public License v3.0
Hi,
I tried to compile from sources (latest)
cd build
go build -ldflags="-s -w" ../src/sheret.go
All I got is
../src/sheret.go:20:3: cannot find package "github.com/pkg/browser" in any of:
(list of local go dependencies cache)
So there seem to be a missing dependance after all.
I tried to remove the dep from the include list, but the so-called "browser" package is effectively in use, and another error arises.
Any idea?
It is identified as threat : Trojan:Win32/Bitrep.C
invalid boolean value "'logs\\sheret.log'" for -f: strconv.ParseBool: parsing "'logs\\sheret.log'": invalid syntax
Sheret uses a hard-coded location for log files which is inconvenient for log purposes. It writes the log into the current working directory, not next to executable as described in the readme.md
.
I can not write the log to a sane location such as c:\windows\temp
or any other location which might be provided by environmental variables.
Line 65 in 347c0ba
I am building a static site that uses Javascript to talk a remote REST API. I believe this is very popular web design because it lets you serve dynamic content from a static site.
Unfortunately, this HTML line:
<script src="js/editor.js?v=1.0" type="module"></script>
Throws this error in Chromium:
Failed to load module script: The server responded with a non-JavaScript MIME type of "text/plain". Strict MIME type checking is enforced for module scripts per HTML spec.
Would it be significant effort to add some default MIME types to include in return headers?
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.