nimassets icon indicating copy to clipboard operation
nimassets copied to clipboard

bundle your assets into single nim file inspired by go-bindata

Results 6 nimassets issues
Sort by recently updated
recently updated
newest added

When I try to call `nimassets` (after successfully installing it) on Windows 10 Pro a popup error appears saying that the program needs libwinpthread-1.dll and that I could fix it...

Couldn't this whole package be rewritten with macros and `staticRead` instead of relying on executing `nimassets` as a binary and generating an assetsfile?

Getting file contents from a single directory table (without root dir name) ```nim echo assetsfile.getAsset("index.html") ``` Getting file contents from a multi directory table (for multiple `-d` case) ```nim echo...

I see mentions to a `-c / --compress` option in the comments in the code. The base64 encoded strings can become very large. Would be nice to implement the compress...

Using `-t:zstd` with the `--compresslevel:` flag works, while with the `-cl:` flag it skips whatever is selected, it's always `3`.

Implementation uses a global variable which is not gcsafe, which can be problematic when we want the assets from a gcsafe context (HTTP server callback for example). Is it safe...