This site went live close to a week ago, without any fanfare. We haven’t promoted it yet, but when we meet people at conferences and the like, it helps to have a site to point them to.
One thing became clear early on. Since the launch, you have been able to
save a session of fxEngine Shell with /save and open it again with
/load. But sending a file and asking a colleague to load it is a lot of work
if all you want is for them to look at three formulas. So we built /share,
which turns your session into a link:
> Price = 400
> Rate = 25%
> Tax = Price * Rate
> /share
Copied a link to the session to the clipboard. The link is 174 characters long.
Paste the link into a chat or an email. Whoever opens it gets the same formulas
in their own browser, recalculating as they change them. Here’s the session
above: change Rate to 50%, and Tax is automatically
calculated.
If the person opening the link already has unsaved formulas of their own, the shell asks before replacing them.
How it works
A link holds the session itself, not a reference to it. The shell takes the same
lines that /save writes to a file, compresses them and puts them in the
fragment of the address, the part after the # symbol. Browsers don’t send the
fragment to the server, so your formulas never reach us. They stay between you
and whoever you send the link to.
That cuts both ways: anyone with the link can read every value in the session, including tables you have imported from CSV files. The shell reminds you of that when you share.
Opening a link only defines values. A session file can also run commands, such
as /import, but the shell does not load a link that does, so a link can’t read
your files or change your settings.
Long links
Formulas compress well, and a typical session results in a link of a few
hundred characters. Imported tables make links longer. Some apps shorten or
cut off very long links, which breaks them, so the shell warns you if a link
grows past 8,000 characters. Past 100,000, it suggests /save instead.
Try it
Open fxEngine Shell, define a few values and type /share. New to
the shell? /tutorial teaches it a step at a time.
The shell also runs in the terminal, where /share writes the link instead
of copying it, and /load accepts a link as well as a file. That version
isn’t available for download yet. Sign up for our newsletter
to hear when it is.