self-hosted TiddlyWiki-like Amber images

44 views
Skip to first unread message

Pavel Krivanek

unread,
Jun 14, 2020, 6:06:51 AM6/14/20
to amber...@googlegroups.com

Hi,


I created a very dirty experiment - an Amber version that can save itself in the TiddlyWiki style. It is just a proof of concept, not something that should be used.


It is a single big HTML file  (5.1 MB) that can save itself, including changes you made in the code (there is a "Save image" button).


The most important limitation is that only the legacy IDE works now. 


You can try it here:

https://pavel-krivanek.github.io/amber/amber.html


Ideally, such a self-hosted image-like environment could be combined with a Git versioning approach to gain advantages of both worlds. There is no technical reason why it should not work.


Cheers,

-- Pavel

Herby Vojčík

unread,
Jun 14, 2020, 11:06:16 AM6/14/20
to amber...@googlegroups.com, Pavel Krivanek
On 14. 6. 2020 12:06, Pavel Krivanek wrote:
> Hi,
>
>
> I created a very dirty experiment - an Amber version that can save
> itself in the TiddlyWiki style. It is just a proof of concept, not
> something that should be used.
>
>
> It is a single big HTML file (5.1 MB) that can save itself, including
> changes you made in the code (there is a "Save image" button).
>
>
> The most important limitation is that *only the legacy IDE works *now.
>
>
> You can try it here:
>
> https://pavel-krivanek.github.io/amber/amber.html
>
>
> Ideally, such a self-hosted image-like environment could be combined
> with a Git versioning approach to gain advantages of both worlds. There
> is no technical reason why it should not work.

Technically, yes. It seems, though, that every other Smalltalk,
including Amber, that is out there and uses git, actually
version-controls packages / classes, not the whole image.

But who knows, if images were written in a format the is textually
diffable, they would be put into vcs (at least for local history if not
uploaded to central server).

But on its own, the idea that Amber can save the whole (in a limited
way) world and load it as a whole may be interesting, as it creates
parity with the "true" Smalltalks' experience. In a way, Amber has
imags, just not saveable, but bootstrapped all the time.

> Cheers,
>
> -- Pavel

Herby

Pavel Krivanek

unread,
Jun 14, 2020, 11:19:21 AM6/14/20
to Herby Vojčík, amber...@googlegroups.com


ne 14. 6. 2020 v 17:06 odesílatel Herby Vojčík <he...@mailbox.sk> napsal:
To be clear, I meant managing sources on Git with modules granularity, the same way as Amber does now. It should be possible
- bootstrap Amber self-hosting single file from individual module files
- when served, it should be able to push and commit packages as now
- update packages from the server
- whenever you need or do not have served Amber file, save it in "image style"
- when served again, push the changes to the server and commit them via Git
- versioning of the full "image file" would work (because it is unlike standard images based on text representation) but not preferred way

-- Pavel
 

> Cheers,
>
> -- Pavel

Herby
Reply all
Reply to author
Forward
0 new messages