-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable using polr shortener instead tinyurl #8
base: main
Are you sure you want to change the base?
Conversation
@danielyaa5 any chance to merge/release this ? please let me know if something needs improving... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for this! Just some small changes requested. How does POLR compare to tiny URL?
…ning; minor code improvements.
Hi, sorry for the delay - proposed improvements implemented, please review the changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, one last thing. Can you tell me why you want to have POLR supported? I don't know anything about it. Why is it better than tinyurl?
Regarding why polr - please see description of this PR -- not that it is better than tinyurl, just open source and happens to be something I am already running locally for shorting urls and would not like to change by introducing tinyurl; main goal is to keep diagrams inhouse and not send them to 3rd party services. |
thanks, i will take a final pass at this soon! |
Added an option to specify polr shortner url in which case polr shortener API will be called to shorten url instead using tinyurl.
I'd like to use polr since it's open source and am able to run it locally which allows me, together with running plantuml server locally, not to send diagrams to 3rd party services but keep everything in-house.
Quick test:
./index.js --polr-url https://demo.polr.me/