athensresearch / athens

Athens is no longer maintainted. Athens was an open-source, collaborative knowledge graph, backed by YC W21
https://athensresearch.github.io/athens
Other
6.31k stars 397 forks source link

SmartBlocks #568

Open jsmorabito opened 3 years ago

jsmorabito commented 3 years ago

SmartBlocks makes it easy to reuse text in a dynamic way in Roam. It can be compared to other snippet/template insertion tools like TextExpander and Alfred. However, SmartBlocks completely lives in your Roam graph and can smartly interact with your graph. All SmartBlocks workflows are defined in the graph and are be performed in your graph. SmartBlocks are made of the following key components: Workflows: These are the definitions of what the SmartBlock will do, it serves as a template for the SmartBlocks actions. Commands: A block that is output can include a command that makes your block do amazing and dynamic things. Trigger: is the keystrokes you type so that the workflow is run.

from https://roamresearch.com/#/app/roamhacker/page/GH0401tnt *not a priority, will update this issue if/when this feature is added to roadmap

Ejipuh commented 3 years ago

Specifically, there's a lot of potential for functional code blocks. They'd enable dynamic interactions within a database; ideally, they'd allow us to program Athens from within Athens, making it into a moldable environment.

If I understand correctly, this could be one way to make customizable functions as in the Athens vision statement.

Ejipuh commented 3 years ago

More resources about SmartBlocks for future reference:

Ejipuh commented 3 years ago

This could be a key feature in onboarding, as it would give the tools for naturally turning users into pro users, and pro users into creators. (This idea is presented excellently in this talk called "The Internet As Incremental Skill" by Francisco Tolmasky.)

faurehu commented 3 years ago

I'm a Roam user and I've been meaning to move onto Athens for multiple reasons. Although there is no feature parity just yet, I think I could make the move if there was anything similar to Smartblocks in Athens. I use Smartblocks to automate some tasks in my planner.

Here's a video of the creator of Smartblocks giving a walkthrough on the add-on architecture, I hope it helps: https://www.youtube.com/watch?v=rJZNMZoqwNY