50 lines
2.2 KiB
Markdown
50 lines
2.2 KiB
Markdown
# Lepiter Plugins
|
|
|
|
A bundle of plugins to customize the [Lepiter](https://gtoolkit.com/) experience.
|
|
|
|
Some day they may evolve so [Grafoscopio](https://mutabit.com/repos.fossil/grafoscopio/doc/tip/readme.md.html)
|
|
becomes a Lepiter distribution, in a similar way that Doom Emacs or Spacemacs customize the "raw" Emacs experience
|
|
(or may not...).
|
|
|
|
GToolkit now provides a more mature platform to build something similar to what Grafoscopio was
|
|
exploring since 2015: data storytelling powered by a live coding moldable environment to bridge the gap between
|
|
programming cultures and the wider culture to explore together the question of "how can we change the digital tools
|
|
that change us?".
|
|
|
|
Plugins here try to improve and/or customize the Lepiter experience to improve document writing/outlining and focus more
|
|
on data narratives.
|
|
This is build from the years long experience with a diverse community around Grafoscopio mostly of non professional coders
|
|
(teachers, students, desginers, artists, librarias, scientists, among others) since its beginnings.
|
|
Also they serve as a starting test bed to explore the moldability of GToolkit the affordances it provides for customization
|
|
and how easy is to use them.
|
|
|
|
To load this package open a Playground in GToolkit and execute:
|
|
|
|
```smalltalk
|
|
"I load the configuration of this package using a external Gitea repository."
|
|
"While more Git independient providers are implemented in Monticello, I will use Iceberg
|
|
to download the repository and load it from a local directory"
|
|
| location localRepo repoName packageName |
|
|
|
|
"Sometimes repoName and packageName are different, following Pharo's conventions.
|
|
For example the repoName can be MyPackage, while packageName can be My-Package"
|
|
repoName := 'LepiterPlugins'.
|
|
packageName := 'LepiterPlugins'.
|
|
|
|
"Local and remote repo definition"
|
|
location := FileLocator localDirectory / 'iceberg' / 'Offray' / repoName.
|
|
location exists ifFalse: [
|
|
(IceRepositoryCreator new
|
|
location: location;
|
|
remote: (IceGitRemote url: 'https://code.tupale.co/Offray/', repoName, '.git');
|
|
createRepository)
|
|
register
|
|
].
|
|
"Package loading"
|
|
localRepo := 'gitlocal://', location fullName.
|
|
Metacello new
|
|
repository: localRepo;
|
|
baseline: repoName;
|
|
load.
|
|
```
|