Skip to content
Open
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
1011562
Initial checkin with Mikrotik RouterOS codegen for Postman
Sep 22, 2024
fadac7b
Add GH Pages for repo
mobileskyfi Sep 30, 2024
26c0821
initial index page to convert curl to routeros, via postman
mobileskyfi Sep 30, 2024
5485310
remove nacent ci from this fork
mobileskyfi Sep 30, 2024
4d6c398
made "test" workflow a workflow_dispatch in ci to avoid building
mobileskyfi Sep 30, 2024
ff30040
use correct url in index.html
mobileskyfi Sep 30, 2024
2aa0376
add hx-request='{"noHeaders": true}' for cors
mobileskyfi Sep 30, 2024
4d19e01
set htmx to allow FQDN/cors
mobileskyfi Sep 30, 2024
cc1f6a2
set meta setting before htmx loads + use change event for dropdown
mobileskyfi Sep 30, 2024
174af70
set htmx.config.selfRequestsOnly = false explictly
mobileskyfi Sep 30, 2024
bd01a92
wait for dom; minor formatting
mobileskyfi Sep 30, 2024
21c094b
fix wttr.in to be valid, for wttr.in ;)
mobileskyfi Sep 30, 2024
5d7c2cc
update favicon
mobileskyfi Oct 1, 2024
c0c5975
Merge branch 'postmanlabs:develop' into develop
mobileskyfi Oct 1, 2024
f926d7f
add "pre" fetch call on load to warmup glitch & [hopefully/slightly] …
mobileskyfi Oct 1, 2024
ed90087
moved known issues below the curl convert form
mobileskyfi Oct 1, 2024
9fbfd41
use <header> for known issues in html
mobileskyfi Oct 1, 2024
c876e6c
first pass at "waiting" to give some feedback on htmx request
mobileskyfi Oct 1, 2024
edb273e
make just the text edit wait
mobileskyfi Oct 1, 2024
746aecf
instead, use new div to communicate in-flight requests
mobileskyfi Oct 1, 2024
2a29d00
show errors
mobileskyfi Oct 1, 2024
11ff4f6
error text is not too useful...removing
mobileskyfi Oct 1, 2024
dd9d791
add note about fork to readme
mobileskyfi Oct 3, 2024
2db0e3d
add note where to find curl2rsc
mobileskyfi Oct 3, 2024
fd88170
add link to readme with index.html
mobileskyfi Oct 3, 2024
0919bf9
remove paste, add warning about passwords
mobileskyfi Oct 3, 2024
8808c05
fix for escaping commas in headers value (since comma is RouterOS sep…
mobileskyfi Nov 8, 2024
c10fd37
fix bug in "header comma" (JS is \\\\ for double backslash)
mobileskyfi Nov 8, 2024
83275af
added test + fix in fix for header commas
Nov 8, 2024
f48a816
always escape commas
Nov 8, 2024
03ff695
use toString() in header fix for nodejs context
Nov 8, 2024
4a66b7d
improve unit test; use regex global instead of replaceAll()
Nov 8, 2024
012d974
fix formating of comma warning
Nov 8, 2024
de28182
update version
Nov 8, 2024
5de67f8
add unit test, apparently \\ is only required for one element with co…
Nov 8, 2024
d747aee
update homepage after glitch shutdown
mobileskyfi Jul 17, 2025
4cf193a
adjust html on retirment of web frontend
mobileskyfi Jul 17, 2025
f9a51fb
more html fixes
mobileskyfi Jul 17, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix wttr.in to be valid, for wttr.in ;)
  • Loading branch information
mobileskyfi authored Sep 30, 2024
commit 21c094bd31a33600572d125a48996dfd69d260bd
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
rel="stylesheet" />

<!-- HTMX -->
<meta name="htmx-config" content='{"selfRequestsOnly":"false"}' /> <!-- add FQDN for CORS -->
<meta name="htmx-config" content='{"selfRequestsOnly":false}' /> <!-- add FQDN for CORS -->
<script src="https://unpkg.com/[email protected]"></script>

<!-- Plausable -->
Expand Down Expand Up @@ -129,7 +129,7 @@ <h4>Known Issues:</h4>
<article>
<b>URL may change in future.</b>
Check out
<a href="https://github.com/tikoci/restraml">tikoci/restraml</a>
<a href="https://github.com/tikoci/postman-code-generators">tikoci/postman-code-generators</a>
on GitHub for updates.
</article>

Expand All @@ -151,8 +151,8 @@ <h3>
<code>curl</code>
command line to convert from:
<input name="cmd" hx-post="https://curl2rsc.glitch.me/curl" hx-target="#tafetchcmd"
hx-swap="innerHTML" hx-trigger="keyup changed delay:1s" id="inputcurl" required
value="curl -X GET -G https://wttr.in/@mikrotik.com/ -d 'format=4'" />
hx-swap="innerHTML" hx-trigger="keyup changed delay:2s" id="inputcurl" required
value="curl -X GET -G https://wttr.in/@mikrotik.com -d 'format=4'" />
<small>
<a href="" onclick="pasteClipboadText('inputcurl'); return false;">Paste from
&#128203;</a></small>
Expand Down