https://github.com/afcms/vscode-oxipng
Oxipng integration in VSCode
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.3%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
Oxipng integration in VSCode
Basic Info
Statistics
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 5
- Releases: 2
Topics
Metadata Files
README.md
VSCode Oxipng
Features
This VSCode Extension aims to integrate with the oxipng PNG's optimisation tool.
It isn't affiliated with the oxipng project.
- Support for workspaces, Git, remote and local development.
- Expose common settings.
Download
Requirements
Some features require the builtin Git extension, which is enabled by default.
Extension Settings
This extension contributes the following settings:
-
oxipng.hostBinary: Path to theoxipngbinary. -
oxipng.optimisationLevel: The optimisation level preset to use. The default level 2. (0-6) -
oxipng.stripMetadata:none,safe,all. The default isnone. -
oxipng.useZopfli: Use the Zopfli algorithm. The default isfalse.
By design, not all of oxipng params are configurable. The extension aims to be simple and easy to use.
Known Issues
You still have to install oxipng by hand
The extension does not install oxipng for you. You can install it via cargo if you have a Rust toolchain installed:
bash
cargo install oxipng
If you want you can even try to get a bit more performance by compiling for your exact CPU architecture:
```toml
.cargo/config.toml
[rust] lto = "thin" jemalloc = true
[target.'cfg(all())'] rustflags = ["-C", "target-cpu=native"]
[llvm] cxxflags = "-march=native" cflags = "-march=native" ```
Ultimatly I have plans to support detecting a binary in path, as well as installing from cargo and downloading a precompiled binary.
It doesn't support the web version of VSCode
Since it solely relies on a binary, it won't work in the web version of VSCode.
The original plan was to use a WASM version of oxipng, but I never got WASI threads to work and without them the performance is abysmal.
No exported API yet
I designed the base class to be able to abstract from multiple ways of running oxipng, mostly to be able to support a WASM version in the future.
I plan to export the OxipngOptimiser class, as well as it's TypeScript definition file, so you can integrate with this extension in your owns.
Release Notes
0.0.1
Initial release
0.0.2
Switch to ESM modules
0.0.3
Provide a languageModelTools entry to allow the use of the oxipng binary from LLMs.
Owner
- Login: AFCMS
- Kind: user
- Location: France
- Website: https://afcms.github.io/
- Twitter: AFCM_Dev
- Repositories: 18
- Profile: https://github.com/AFCMS
👨🎓 16 years old french student
GitHub Events
Total
- Create event: 135
- Release event: 2
- Issues event: 10
- Delete event: 125
- Issue comment event: 117
- Push event: 66
- Pull request event: 270
Last Year
- Create event: 135
- Release event: 2
- Issues event: 10
- Delete event: 125
- Issue comment event: 117
- Push event: 66
- Pull request event: 270
Committers
Last synced: 11 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| AFCMS | a****t@g****m | 34 |
| dependabot[bot] | 4****] | 15 |
Issues and Pull Requests
Last synced: 5 months ago
All Time
- Total issues: 11
- Total pull requests: 233
- Average time to close issues: about 24 hours
- Average time to close pull requests: 7 days
- Total issue authors: 2
- Total pull request authors: 1
- Average comments per issue: 0.18
- Average comments per pull request: 0.67
- Merged pull requests: 25
- Bot issues: 2
- Bot pull requests: 233
Past Year
- Issues: 11
- Pull requests: 233
- Average time to close issues: about 24 hours
- Average time to close pull requests: 7 days
- Issue authors: 2
- Pull request authors: 1
- Average comments per issue: 0.18
- Average comments per pull request: 0.67
- Merged pull requests: 25
- Bot issues: 2
- Bot pull requests: 233
Top Authors
Issue Authors
- AFCMS (9)
- dependabot[bot] (2)
Pull Request Authors
- dependabot[bot] (233)