Hi, great app. I'd love to understand how you are maintaining state behind that short url and see if there are ways (sans server) to at least partially recreate state from the exported ascii.
Having an Import from clipboard would truly make this a remarkable app.
After uploading cascii.html to deepseek.com and promptCoding with it, I saw that you had the json representaion in localStorage.
I tried generating the json from the ascii exported to the clipboard but see why this could get very tricky. So, I added an Export (JSON) to file and Import (JSON) from file and placed them in a More Popup component in which I put the existing export button, so the menu bar does not get too crowded. (for code see (1)) -
This now allows me to save the json and import/edit it at a later time - no short url needed and the data stays private.
Your code was well laid out and deepseek was able to make all the changes error-free.
Nice! Yea it should be easy to use the internal layerManager.import and .encodeAll
This might break state for the online version, but I can do some tweaks and get it merged if you open the PR.
to be clear, the short url feature is useful in that other people can easily edit / update diagrams they see referenced in code comments. If privacy is a concern and you're not distributing the diagram, then indeed exporting JSON is a good way to go.
I have thought about this a lot. I was going to do some stuff with gzip, but fundementally, I came to the conclusion that the most elegant solution (no hidden chars / extra encoded data coupled with export) might actually be training a neural net to do it. Also, this would mean being able to import diagrams that weren't even made on Cascii. Training data can be self-generated too.
Perhaps a good middle ground would just be offering the gzip dump.
Cool stuff. Played around with it and here are some comments
Must have before I'm comfortable sharing with team
- Could not figure out how to edit the rules for a folder once created, had to delete the folder and recreate to get to rules
- Did not like that eesel took over my start page, I had a different start page and if i tried to keep my old start page it disabled the extension - This will likely be a blocker
- I'd like to see much more granular control over what is being seen/indexed/shared from my history and since I use more than one profile to keep things separate, I'd like to see a way to separate personal profiles from team/workspaces
Nice to have (eesel-for-developers):
plugins: I'd like a way to customize the pages/rules etc - maybe add custom javascript etc.
cli: that allows me to programmatically create a folder with url's - inspect folders, move between folders etc.
vscode-extension: to create ephemeral light-weight folders that bring source code files (github/bitbucket urls), jira ticket urls, documentation urls all together in one folder
Thanks for trying eesel out and sharing your thoughts! Helps us heaps. Some pointers on that:
1. To edit the rules for a Folder, open the Folder and head to "Add pages" > "Automatically". We've heard it a few times that discoverability of this isn't great, and it's definitely something we should improve.
3. To clarify, everything is local by default and only pages you explicitly share by adding to a Workspace, a shared Folder and so on are shared.
4. I imagine we'll want to support eesel profiles at some point to better separate personal and work things, but one workaround till then is to have different Chrome profiles and install eesel on both.
Let us know if you have any other thoughts that pop up!
The Padhuka Sahasram of Vedanta Desikan aka KaviTarkika-Simhan has a section called Chitra Paddathi which paints pictures in words in a matrix of artistry in praise of the feet of the Lord. You can hear it being recited at (1) read the shlokas a t (2) and see the artistry at (3) Of note, the solution to the Knight's Tour can be seen at (4)
Cool stuff. Would love to have "memorable urls" or wiki like [[Title becomes link]] syntax so I can build out a lightweight, personal faqtiki - Currently one needs to get the share link and do a [page](share url) to accomplish it (a multi-step non-memorable way)
I got this in `/usr/local/share/doc/ranger/examples/vim_file_chooser.vim`.
" Compatible with ranger 1.4.2 through 1.6.*
"
" Add ranger as a file chooser in vim
"
" If you add this function and the key binding to the .vimrc, ranger can be
" started using the keybinding ",r". Once you select a file by pressing
" enter, ranger will quit again and vim will open the selected file.
fun! RangerChooser()
exec "silent !ranger --choosefile=/tmp/chosenfile " . expand("%:p:h")
if filereadable('/tmp/chosenfile')
exec 'edit ' . system('cat /tmp/chosenfile')
call system('rm /tmp/chosenfile')
endif
redraw!
endfun
map ,r :call RangerChooser()<CR>
Vedanta Desikan (aka KaviTarkika Simhan - Lion of the Poet Logicians) born 1268 C.E. wrote over 100 books.
One of them is called Padhuka Sahasram, was written in less than a day in response to a challenge and contains 1008 verses in 32 chapters.
The 30th chapter called Chitra Paddathi or Picturesque Chapter (aka Matrix of Artistry) contains verses that whilst paying homage to the feet (Padhuka) of the Lord also paint elaborate patterns, such as The Knight's Tour (1).
One hint as to why "Indians did this ages ago" is of intellectual interest to "some" indians is because the middle name of the early-stage investor and long time board member of google is KaviTark.
> One of them is called Padhuka Sahasram, was written in less than a day in response to a challenge and contains 1008 verses in 32 chapters.
If he spent 24 hours non-stop writing those verses, he's have to write 7 verses every 10 minutes on the average. If it is really a "less than a day" 8 hours, he'd have to write nearly 3 verses every minute. In summary, this sounds like something that will need some serious substantiation to believe.
The Vedic tradition is typically an oral one. It takes about 3hrs to recite the Padhuka Sahasram.
Those of us who come from India and have grown up with this have older uncles and others who can compose extremely mellifluous and deep meaning verses extemporaneously.
The Chitra Paddathi which comprises of 40 verses (of the 1,008) takes 7mins 37secs.
If you are so inclined you can hear it at (1) - You can follow along with the romanized english phrases with meanings at (2)
and you can see it's corresponding visual artistry at (3)
Having an Import from clipboard would truly make this a remarkable app.