Compare commits

..

30 commits

Author SHA1 Message Date
Christian Hesse
c8481c1619 README: highlight the long way for first time users with hint 2025-11-20 11:06:24 +01:00
Christian Hesse
89832124a6 README: mention broken installation for initial commands 2025-11-20 11:03:33 +01:00
Christian Hesse
a11b6a5653 README: link the long way in detail 2025-11-20 10:58:37 +01:00
Christian Hesse
046d692e0b Makefile: also clean contrib 2025-11-20 10:57:20 +01:00
Christian Hesse
422ee6f20e contrib/Makefile: add target clean 2025-11-20 10:57:20 +01:00
Christian Hesse
bad1653625 contrib/static-html: add badges 2025-11-20 10:57:20 +01:00
Christian Hesse
21cab8dabe contrib/static-html: find static html files by comment 2025-11-20 10:57:20 +01:00
Christian Hesse
b9cabd3d82 contrib/static-html: split off from Makefile 2025-11-20 10:57:20 +01:00
Christian Hesse
6eeebb010d contrib/html: simplify handling of relative paths 2025-11-20 10:57:20 +01:00
Christian Hesse
269e1688e6 general/clipboard: add a visual feedback 2025-11-20 10:57:20 +01:00
Christian Hesse
4a0764fa27 general/style: add a "📋 Copy!" hint to code blocks 2025-11-20 10:57:20 +01:00
Christian Hesse
d9f6b06c6b contrib/html: support click on code block to copy to clipboard 2025-11-20 10:57:20 +01:00
Christian Hesse
38fae1b45d contrib/commitinfo: support updating the commit info 2025-11-20 10:57:20 +01:00
Christian Hesse
02a7b15d0e global-functions: add and fix global scheduler automatically...
... and also adjust README and INITIAL-COMMANDS.
2025-11-20 10:57:20 +01:00
Christian Hesse
097c158ec8 global-functions: $FetchUserAgentStr: add commit info in user agent string 2025-11-20 10:57:20 +01:00
Christian Hesse
e548ebeb59 Merge branch 'rsc-eworm-de' into next 2025-11-20 10:57:20 +01:00
Christian Hesse
a2d002a082 Merge branch 'contrib-template' into next 2025-11-20 10:57:20 +01:00
Christian Hesse
9c0a05a90a doc/mod/scriptrunonce: get script from rsc.eworm.de 2025-11-20 10:57:20 +01:00
Christian Hesse
734d957846 contrib/logo-color: drop width & height properties for images 2025-11-20 10:57:20 +01:00
Christian Hesse
24bf5c605b contrib/template-wifi: split off from Makefile 2025-11-20 10:57:20 +01:00
Christian Hesse
67d3111a63 INITIAL-COMMANDS: install from rsc.eworm.de 2025-11-20 10:57:20 +01:00
Christian Hesse
ef0eeaa67f contrib/logo-color: place screenshots below each other...
... not side by side.
2025-11-20 10:57:20 +01:00
Christian Hesse
6bdcecbb76 contrib/template-local: split off from Makefile 2025-11-20 10:57:20 +01:00
Christian Hesse
05922a38d7 README: install from rsc.eworm.de 2025-11-20 10:57:20 +01:00
Christian Hesse
5757230211 general/style: make the blockquote darker 2025-11-20 10:57:20 +01:00
Christian Hesse
4fc382c78d contrib/template-capsman: split off from Makefile 2025-11-20 10:57:20 +01:00
Christian Hesse
d5300fc4d3 fw-addr-lists.d/allow: use rsc.eworm.de in the list 2025-11-20 10:57:20 +01:00
Christian Hesse
610e2178b2 Merge branch 'contrib-html-head-foot' into next 2025-11-20 10:57:20 +01:00
Christian Hesse
c73a2dc850 fw-addr-lists.d/{allow,block}: use short url rsc.eworm.de 2025-11-20 10:57:20 +01:00
Christian Hesse
9c8feee621 contrib/html: add a footer 2025-11-20 10:57:20 +01:00
37 changed files with 9 additions and 16 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5 KiB

After

Width:  |  Height:  |  Size: 7.9 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6 KiB

After

Width:  |  Height:  |  Size: 5 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 4 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 7.5 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Before After
Before After

View file

@ -225,7 +225,7 @@ cleanup add a scheduler entry.
$ScriptInstallUpdate dhcp-to-dns,lease-script;
/ip/dhcp-server/set lease-script=lease-script [ find ];
/system/scheduler/add name="dhcp-to-dns" interval=5m start-time=startup on-event="/system/script/run dhcp-to-dns;";
/system/scheduler/add name="dhcp-to-dns" interval=5m on-event="/system/script/run dhcp-to-dns;";
![screenshot: setup lease script](README.d/12-setup-lease-script.avif)

View file

@ -1,5 +1,4 @@
<p class="foot">RouterOS Scripts documentation generated on <i>__DATE__</i> for <i>__VERSION__</i><br />
Copyright &copy; 2013-2025 Christian Hesse &lt;mail@eworm.de&gt;</p>
<p class="foot">RouterOS Scripts documentation generated on <i>__DATE__</i> for <i>__VERSION__</i></p>
</body></html>

View file

@ -56,7 +56,4 @@ a profile photo</a> for your Telegram bot.</p>
<p><a href="../README.md">⬅️ Go back to main README</a><br/>
<a href="#top">⬆️ Go back to top</a></p>
<p class="foot">Copyright &copy; 2013-2025 Christian Hesse &lt;mail@eworm.de&gt;</p>
</body></html>

View file

@ -51,7 +51,4 @@ notification and download it.</p>
<p><a href="../README.md">⬅️ Go back to main README</a><br/>
<a href="#top">⬆️ Go back to top</a></p>
<p class="foot">Copyright &copy; 2013-2025 Christian Hesse &lt;mail@eworm.de&gt;</p>
</body></html>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

View file

@ -33,7 +33,7 @@ Call the function `$InspectVar` with a variable as parameter:
$InspectVar $ModeButton;
![InspectVar](inspectvar.d/01-inspectvar.avif)
![InspectVar](inspectvar.d/inspectvar.avif)
---
[⬅️ Go back to main README](../../README.md)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

@ -43,7 +43,7 @@ It expects an IP address in CIDR notation as argument.
$IPCalc 192.168.88.1/24;
![IPCalc](ipcalc.d/01-ipcalc.avif)
![IPCalc](ipcalc.d/ipcalc.avif)
### IPCalcReturn
@ -53,7 +53,7 @@ the information in a named array.
:put ([ $IPCalcReturn 192.168.88.1/24 ]->"broadcast");
![IPCalcReturn](ipcalc.d/02-ipcalcreturn.avif)
![IPCalcReturn](ipcalc.d/ipcalcreturn.avif)
---
[⬅️ Go back to main README](../../README.md)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

View file

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 35 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Before After
Before After

View file

@ -36,7 +36,7 @@ Configuration
Open Telegram, then start a chat with [BotFather ↗️](https://t.me/BotFather) and
create your own bot:
![create new bot](notification-telegram.d/01-newbot.avif)
![create new bot](notification-telegram.d/newbot.avif)
Set that token from *BotFather* (use your own!) to `TelegramTokenId`, for
now just temporarily:
@ -49,7 +49,7 @@ then send your first message. Any text will do. On your device run
$GetTelegramChatId;
![get chat id](notification-telegram.d/02-getchatid.avif)
![get chat id](notification-telegram.d/getchatid.avif)
Finally edit `global-config-overlay`, add `TelegramTokenId` with the token
from *BotFather* and `TelegramChatId` with your retrieved chat id. Then
@ -104,7 +104,7 @@ Tips & Tricks
You can use a profile photo for your bot to make it recognizable. Open the
chat with [BotFather ↗️](https://t.me/BotFather) and set it there.
![set profile photo](notification-telegram.d/03-setuserpic.avif)
![set profile photo](notification-telegram.d/setuserpic.avif)
Have a look at my [Logo Color Changer](../../contrib/logo-color.html)
to create a colored version of this scripts' logo.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

View file

@ -50,7 +50,7 @@ The function `$ScriptRunOnce` expects an URL (or name if
$ScriptRunOnce https://rsc.eworm.de/main/doc/mod/scriptrunonce.d/hello-world.rsc;
![ScriptRunOnce](scriptrunonce.d/01-scriptrunonce.avif)
![ScriptRunOnce](scriptrunonce.d/scriptrunonce.avif)
Giving multiple scripts is possible, separated by comma.