Made a backlinks extension

Hi all,

I link a lot of daily notes to people and projects, and I kept wishing I could stand on a person’s row and see everything that pointed back to them. So I used Claude to help me make a Backlinks extension.

It shows up in the inspector as a little timeline of every note that links to the row you’re on, with the notes right there so you don’t have to go digging. That’s been really handy for a lot of situations where I can pull up someone’s row and see what we’ve talked about over the last few months.

Full disclosure, I’m not a programmer. I designed it and tested it on my own outline, and Claude wrote the code.

It’s on GitHub if you want to try it: GitHub - biznachio/bike-backlinks: A Bike extension that adds backlinks to an outline. · GitHub

Would love to hear if it’s useful to anyone else.

6 Likes

Nice! The tasks-hub project you made also looks interesting. Good work! I’ll install both tomorrow.

I haven’t even got into trying these extensions, but excellent extension hosting setup :slight_smile: I need to copy it myself. Image showing it, quick link download. Looks great!

While it’s fresh in your head, how did API work for you? Did you run into features/things that you would have liked to do, but couldn’t because of API limitations?

2 Likes

I’ve played with this now for a bit and its acting as nice as it looks :slight_smile:

It’s also inspired me to add a new API option in next Bike release. editor.transaction will take a pushLocation option. When that is true the view before the transaction will be restored by the Back button. I think that can help a lot for this extension, making navigation Back after following a backlink consistent.

4 Likes

Agreed re: the github page! It’s prompting me to create a front-facing github page for my inherit-due-dates extension as well :slight_smile:

2 Likes

Thanks, @jessegrosjean! pushLocation is exactly what Backlinks needed. It currently keeps its own jump history to make Back work, so this will simplify it nicely.

Full disclosure, I’m no programmer. I designed and tested these, and Claude helped immensely with my novice coding abilities. But, overall the API held up well. The one thing that would open new doors is rendered content in the outline itself. I’ve been tinkering with markdown tables but not getting a ‘rendered’ result I want. Maybe I don’t know how.

I can draw rich views in the inspector and sidebar, in the outline I think it’s limited to styling and badges. I’d love to get real tables, charts and diagrams right in the outline.

Thanks for making Bike so much fun to build on.

This won’t be possible in current 2.0 push, but will keep in mind for future. The outliner does support file attachments and previews. So an attached CSV file will get you a “bit” of a table. But then that table isn’t really part of data model. Hum.

And fun for me to see what people build. Thanks!