Commit Graph
2233 Commits
Author SHA1 Message Date
Sebastian 8b7bc0a650 fix(docker): run on read-only filesystems, IPv6-less hosts and cpu-limited containers (#556)
Five fixes to the Docker image, found while running it-tools on
OpenShift, where containers run as an arbitrary UID. No application code
is changed.

Start on a read-only filesystem. `docker run --read-only` and Kubernetes
readOnlyRootFilesystem crash-loop the container, because
20-envsubst-on-templates.sh checks its output directory with
`[ ! -w $dir ]`. That only reads permission bits, so a read-only mount
passes the check, the write fails with EROFS and `set -e` stops the
entrypoint. 19-skip-envsubst-if-readonly.envsh now tests the directory
with a real write and, on failure, points NGINX_ENVSUBST_TEMPLATE_DIR at
a missing path so the envsubst script exits early. That is only safe if
the config in the image is already correct, and today it is nginx's
stock welcome config, so the Dockerfile renders the template at build
time as well. Writable setups are unchanged: the write test passes,
nothing is exported and the config is rendered at startup as before, so
a custom $PORT still works.

Skip IPv6 when the host has none. nginx.conf always listens on IPv6, so
where IPv6 is off nginx fails with `socket() [::]:8080 failed (97:
Address family not supported by protocol)`.
25-remove-ipv6-listen-if-unavailable.sh comments those lines out, using
the same /proc/net/if_inet6 check as nginx's own
10-listen-on-ipv6-by-default.sh, and exits at once when IPv6 works. It
probes the directory before editing, because `sed -i` rewrites through a
temporary file there, so a writable file in a read-only directory is not
enough, and it tolerates a failed edit so it can never stop the
entrypoint.

Match workers to the cpu limit. `worker_processes auto` counts the
host's cores, not the container's cpu limit, so the image starts 256
workers on a 256-core host in any container size. `docker run -m 192m`
is enough to be OOM-killed at startup. Setting
NGINX_ENTRYPOINT_WORKER_PROCESSES_AUTOTUNE enables the script nginx
already ships. Containers without a cpu limit keep one worker per core.
This is the only change that affects a deployment that works today.

Return 404 for missing assets. All paths fall back to index.html, so a
missing build file returns 200 and text/html, and the browser reports a
confusing MIME error instead of a 404. /assets/ now skips the SPA
fallback. Sub-folder requests such as /it-tools/assets/... still match
`location /`, so those deployments do not change.

Stop remapping js. nginx.conf includes mime.types, which already maps
js, then maps it again, so every startup logs a duplicate extension
warning. mime.types has no entry for mjs, so mjs stays and js goes.

Signed-off-by: Sebastian Danielsson <sebastian.danielsson@proton.me>
2026-08-14 19:22:10 +02:00
woshidadi2026 69f508442c Optimize the Chinese translationUpdate zh.yml (#549) 2026-08-11 13:04:00 +02:00
sharevb c82794af62 Update FUNDING.yml to include Buy Me a Coffee 2026-08-07 11:10:07 +02:00
Patrice De Saint Steban 07102a6128 Fix French translations in fr.yml (#551)
* Fix French translations in fr.yml

* Refine French translations in fr.yml

Updated various French translations for clarity and accuracy.
2026-08-07 10:39:23 +02:00
LuoXingchen 04cfee6f3e feat: add i18n internationalization for memo and cheatsheet (#552)
* feat(git-memo): add i18n support and Chinese translation

- Dynamically load locale-specific markdown content
- Add comprehensive Chinese translation for git memo
- Apply theme-aware styles for tables and links

* feat(git-semantic-commit-memo): add i18n support and table styling

Load memo markdown dynamically based on locale, add Chinese translation, and apply theme-aware styles for tables and links.

* feat(jq-memo): add i18n support and Chinese memo

Support multiple languages for the jq memo tool by dynamically loading locale-specific markdown files based on the current i18n locale, and add the Chinese translation (jq.zh.md).

* feat(jsonpath-memo): add i18n support for memo component

Dynamically load localized markdown files based on the current locale, falling back to the default English memo.

* feat(markdown-cheatsheet): add i18n support with Chinese content

Load locale-specific memo content dynamically using glob import and provide the Chinese translation for the Markdown cheatsheet.

* style(markdown-cheatsheet): add table and link styling

Add borders, padding, and collapse for tables, and set link color using theme variables.

* feat(nano-memo): add i18n support and table/link styling

- Dynamically load locale-specific content markdown based on the current language
- Add Chinese translation content file
- Apply theme-aware border and link colors for tables and links

* feat(nginx-memo): add i18n support and styling improvements

- dynamically load localized content based on current locale
- add Chinese (zh) translation for nginx memo
- add table and link styling using theme variables
- fallback to default content if localized version is missing

* feat(powershell-memo): add i18n support and Chinese translation

Load localized Markdown content based on the current locale, falling back to the default English version. Include the complete Chinese translation file.

* feat(sed-memo): add i18n support and zh docs

* feat(tmux-memo): add i18n support and Chinese translation

- Dynamically load locale-specific markdown content
- Add Chinese translation (tmux-memo.content.zh.md)
- Fall back to default content if locale file not found

* feat(vim-memo): add i18n support and zh content

- Implement dynamic locale-based content loading
- Add comprehensive Chinese translation file
- Update styles for tables and links using theme variables

* feat(xpath-memo): support locale-based markdown loading

Load the appropriate markdown file based on the current i18n locale, falling back to the default when a localized version is not available.

* feat(zellij-memo): add i18n support for memo content

Load locale-specific markdown files dynamically based on the current language setting, falling back to the default when a translation is unavailable.

* feat(chmod-memo): add i18n support and Chinese docs

- load locale-specific markdown via dynamic imports
- add chmod.zh.md with detailed Chinese documentation
- fall back to default chmod.md if no locale match

* feat(screen-memo): add i18n support with Chinese translation

Add dynamic locale-based markdown loading for the Screen Memo tool
and include the complete Chinese (zh) translation.

* feat(regex-memo): add i18n support with Chinese translation

Load locale-specific markdown content dynamically based on the selected language.
2026-08-07 10:29:59 +02:00
Julien Deveaux db3a344568 feat: mermaid live preview (#548) 2026-08-01 09:11:05 +02:00
Erich SchroeterandErich Schroeter 671e8a11c7 feat(new tool): Markdown Format Converter (#488)
Fix #485
---------

Co-authored-by: Erich Schroeter <erich.schroeter@gmail.com>
2026-07-31 17:32:00 +02:00
renovate[bot] 9bc3cb74b5 chore(deps): update dependency @playwright/test to ^1.62.0 (#511)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-31 17:24:56 +02:00
LuoXingchen db9ac4e729 feat(k8s-memo): add i18n support for memo content (#546) 2026-07-31 17:19:23 +02:00
LuoXingchen bc12798327 feat(common-regex-memo): add i18n support for memo content (#547) 2026-07-31 17:18:10 +02:00
ShareVB e725356eee i18n: translate remaining
and translate units
Fix #484
2026-07-28 16:30:07 +02:00
ShareVB 6e89d3dd03 feat: add warning about need of external self hosted for related tools
Fix #489
2026-07-28 16:30:06 +02:00
woshidadi2026 27ab891343 Optimize Chinese translation (#487)
Fix #484
2026-07-27 21:26:12 +02:00
ShareVB e5a2017f7d fix(i18n): tool search in current language and handle switching
Fix #486
2026-07-27 13:59:21 +02:00
ShareVB be4d22587f fix(Code Block Copyable): enable lineWrapping
Fix #482
2026-07-26 17:24:21 +02:00
ShareVB 66e2ac5df2 fix(Units Converter): make units translatable
Fix part of #484
2026-07-26 10:55:55 +02:00
ShareVB fb6cc731f5 fix(Units Converter): ensure label fits
Fix #490
2026-07-26 10:28:40 +02:00
ShareVB 38643233a3 fix(Regex Tester): navigation bug due to shaddowroot
Fix #491
2026-07-26 10:27:02 +02:00
SebastianandClaude Opus 4.8 f1358d55b4 fix(layout): prevent horizontal page overflow with wide code content (#483)
Large inputs (e.g. a 64KB JSON pasted into the JSON prettify tool) pushed
all tool content off-screen. The mobile UX overhaul (#474) switched the app
to document-level scrolling (overflow: visible, no nested scroll container),
which exposed that the .content flex column has the default min-width: auto
and refuses to shrink below its content's min-content width. A long,
non-wrapping code line therefore stretched the whole column past the
viewport instead of scrolling inside the viewer.

Set min-width: 0 on the .content flex child so the column shrinks to the
available width and the inner scrollers (n-scrollbar / CodeMirror) handle
horizontal overflow as intended.


Claude-Session: https://claude.ai/code/session_016ujGA3EmSyT39H7awrRuCS

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-20 14:00:17 +02:00
LuoXingchen c105c1ec17 Translate another docker cheatsheets to zh-cn (#479)
* feat(docker-compose-memo): add Chinese translation and refactor locale-based memo loading

- Add docker-compose.zh.md with full Chinese translation
- Refactor docker-compose-memo.vue to dynamically load memo by current locale
- Update bash-memo.vue fallback to generic bash-memo.content.md
- Remove obsolete bash-memo.content.en.md

* feat: 添加 CSS 选择器和 Docker Swarm 的中文翻译,优化动态加载功能

* 添加 Docker 和 Dockerfile 的中文翻译,优化动态加载功能
2026-07-19 21:23:41 +02:00
ShareVB 2abda9b71e doc: add a docker compose sample with all related services 2026-07-19 21:19:26 +02:00
ShareVB 65955d9b33 feat: useNetworkUtilsConfig and basic auth for all tools requiring external docker services 2026-07-19 20:58:32 +02:00
ShareVB b1d3849f87 feat(Math OCR): replace MathJAX by Katex 2026-07-14 18:44:09 +02:00
ShareVB c4f7ded565 feat: add Cross Origin Isolation (HTTP Headers) 2026-07-14 18:44:09 +02:00
ShareVB db32bb0835 fix: allows cross origin isolation for tools with img and iframe 2026-07-14 18:42:34 +02:00
renovate[bot] db050b2617 chore(deps): update type packages with their dependencies (#452)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-14 01:16:21 +00:00
ShareVB 96a2079283 feat(Sitemap): add HOSTNAME env var to generate a sitemap
Fix #476
2026-07-13 23:16:40 +02:00
Erich SchroeterandErich Schroeter a2d696168a feat: Integer Base Converter space separator support (#481)
Fix #480

Co-authored-by: Erich Schroeter <erich.schroeter@gmail.com>
2026-07-13 23:04:29 +02:00
ShareVB e1de52bdf3 fix(i18n): some text
FIx #477
2026-07-13 21:41:31 +02:00
ShareVB 23dc0d4046 chore: update deps 2026-07-12 23:11:48 +02:00
ShareVB bbc819f28c i18n: translate remaining 2026-07-12 23:09:43 +02:00
ShareVB aa515d96f3 feat(new tool): Ping
Fix #1760
2026-07-12 23:09:42 +02:00
ShareVBand@DeepSpace2 175c860ec8 fix(Dockerfile): Add source label to Dockerfile
Fix #475

Co-authored-by: @DeepSpace2
2026-07-12 21:12:53 +02:00
ShareVB fe2766e554 fix(Cron Expression Generator): handle input cron and standard only 2026-07-12 17:48:17 +02:00
ShareVB 0620f57691 feat(IBAN Validator and Parser): add bank infos
Fix #1421
2026-07-12 16:58:02 +02:00
ShareVB 03099a149b chore(version): release 2026.07.11 v2026.7.11 2026-07-12 00:24:09 +02:00
ShareVB 2a310b499f docs(changelog): update changelog for 2026.07.11 2026-07-12 00:24:09 +02:00
ShareVB 9ab81ab28d fix(Release): needs lodash for now 2026-07-12 00:23:57 +02:00
ShareVB d1c51da6e0 i18n: add Hindi 2026-07-12 00:19:53 +02:00
ShareVB aa2674af35 i18n: translate remaining 2026-07-12 00:19:37 +02:00
ShareVB b788aaf03f i18n: extract strings 2026-07-11 23:34:55 +02:00
SebastianandClaude Fable 5 239c69ee40 feat: mobile UX overhaul, theme flash prevention and build cleanup (#474)
* feat: mobile UX overhaul, theme flash prevention and build cleanup

UI/UX (mostly mobile):
- Prevent white flash on load: pre-paint inline style + script in
  index.html applies the persisted theme before first paint.
- Match browser chrome to the app background: theme-color meta kept in
  sync for Android/older iOS, and body background pinned to the Layout
  color for Safari 26+, which ignores theme-color and samples the page.
- Make the document the app's scroller instead of n-layout's nested
  container: single scrollbar, native iOS tap-status-bar-to-scroll-top,
  natural toolbar collapsing; desktop sider becomes sticky and router
  scrollBehavior restores/resets scroll on navigation.
- Full-width mobile menu that fades in under an always-visible sticky
  top bar, seamless app background without the hero gradient, closes on
  navigation (including About while already on /about), scroll-locked
  behind, symmetric spacing around the title block and icon row.
- Language selector and theme toggle become icon dropdowns; theme
  supports System/Light/Dark via useColorMode (same storage as before).
- Route-change loading spinner scoped to the page area so the nav bar
  stays visible; spinner remains cosmetic-only (350ms delay).
- Halve content padding on small screens; reduce home top padding.
- Full-width expand/collapse tools button so its width doesn't jump.
- No sticky hover styles on touch devices (hover gated behind
  @media (hover: hover)).

Build:
- Rename deprecated rolldown output.advancedChunks to codeSplitting.
- Fix unocss 'unmatched utility' warnings in the pretty-scrollbar
  shortcut; override js-sha256 to 0.11.x (drops eval); bump
  javascript-obfuscator to 5.4.6.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TNayL5ianBBucVapfkM8CC

* Remove unnecessary comment

* Refresh lockfile, remove releaseage ignore

Signed-off-by: Sebastian Danielsson <sebastian.danielsson@proton.me>

* chore: remove unused LocaleSelector component

Language selection moved into the NavbarButtons dropdown; nothing
references this component anymore. Its i18n keys are left in place.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TNayL5ianBBucVapfkM8CC

---------

Signed-off-by: Sebastian Danielsson <sebastian.danielsson@proton.me>
Co-authored-by: Claude <noreply@anthropic.com>
2026-07-11 23:21:34 +02:00
ShareVB 74604235ad feat(Base64 String Converter): handle text encoding other than utf8
Fix #1777
2026-07-11 23:16:12 +02:00
ShareVB dfa836b7d4 feat(new tool): Keyboard Tester 2026-07-11 23:14:36 +02:00
ShareVB b016d34c2d feat(new tool): Cron Expression Generator 2026-07-11 21:55:43 +02:00
ShareVBand@stevenlee87 37cc92faf9 feat(new tool): DNS/RDAP queries
Co-authored-by: @stevenlee87
2026-07-11 17:42:06 +02:00
ShareVBand@stevenlee87 45ed4a7aed feat(new tool): CSS/JS Prettify & Minify
Co-authored-by: @stevenlee87
2026-07-11 17:41:31 +02:00
ShareVB 02df0f3e98 feat(new tool): Markdown Diff
Fix #1804
Co-authored-by: nimza <maz.webfreelance@gmail.com>
2026-07-11 17:17:30 +02:00
ShareVB 8b19bf00c3 feat(Token Generator): add ambigous chars exclusion by default
Fix #1800
2026-07-11 16:52:53 +02:00
ShareVBandRahul Somasundaram b662c6b356 feat(new tool): Markdown Preview
Co-authored-by: Rahul Somasundaram <rahulstsgr@gmail.com>
2026-07-11 16:52:53 +02:00