No description
  • JavaScript 43.2%
  • SCSS 30.6%
  • HTML 24.8%
  • Dockerfile 1.4%
Find a file
2026-05-01 11:11:42 +02:00
src first setup 2026-05-01 11:11:42 +02:00
.dockerignore first setup 2026-05-01 11:11:42 +02:00
.eslintrc.js first setup 2026-05-01 11:11:42 +02:00
.gitignore first setup 2026-05-01 11:11:42 +02:00
.stylelintrc first setup 2026-05-01 11:11:42 +02:00
docker-compose.yml first setup 2026-05-01 11:11:42 +02:00
Dockerfile first setup 2026-05-01 11:11:42 +02:00
gulpfile.js first setup 2026-05-01 11:11:42 +02:00
nginx.conf first setup 2026-05-01 11:11:42 +02:00
package-lock.json first setup 2026-05-01 11:11:42 +02:00
package.json first setup 2026-05-01 11:11:42 +02:00
README.md first setup 2026-05-01 11:11:42 +02:00

Url encoder for SVG

http://yoksel.github.io/url-encoder

Usage

  1. Take svg.
  2. Encode it with url-encoder.
  3. Use code as background-image or border-image or mask.
  4. Enjoy!

Demo: https://codepen.io/yoksel/full/WNrLpYW.

Run with Docker

Build and run with Docker Compose:

docker compose up --build

Open: http://localhost:8080

Or build/run directly with Docker:

docker build -t url-encoder .
docker run --rm -p 8080:8080 url-encoder

How to add translate

  1. Create translation file (use src/translate/en.json as example) and place it to src/translate/
  2. Add new language to section langs in all translation files
  3. Add item with your language to section translates in gulpfile.js.
  4. Run npm start in console (wait until project will be opened in browser) and check all pages:
    • Link to new page must appear in all pages
    • In the page with new translate new language in list must looks like current (bold and black)
  5. Send pull request