I’m having trouble installing custom packages from github. Need some help on how to do it correctly. All the answers on the internet for this elm package management are stale and needs to be corrected.
$ elm install Santhosh-KS/dive
-- UNKNOWN PACKAGE -------------------------------------------------------------
I cannot find a package named Santhosh-KS/dive.
I looked through https://package.elm-lang.org for packages with similar names
and found these:
elm/file
elm/time
elm/core
elm/svg
Maybe you want one of these instead?
Can someone guide me on, how to get the custom packages installed from github? (the correct way)
Its an application not a package, so you don’t need to install it. Just clone and run locally.
elm reactor
Might be enough to run it?
But this looks like it is Elm 0.18 code, so you will need to do some work to upgrade it to 0.19. 0.19 uses an elm.json file instead of the elm-package.json file and other differences too.
Also - I prefered elm-dive-svg, so check that out too. I still use it for presentations - make drawings in Inkscape, add red numbered boxes, and you get a nice simple tool that you can navigate around a set of slides with.
Another trick is to break up text and render it as paths which you can do with Inscape. This makes text avoid sub-pixel rendering hints, and makes the animations a bit smoother when text is involved. Mostly you will be using quite big text when presenting with a projector, so not getting sub-pixel hinting isn’t so bad. Screen resolutions are getting crazy big these days, so these optimisations are starting to matter less anyway.