Aral Balkan @aral

Updated the examples on Set—my unobtrusive JavaScript templating engine—to display the public timeline from my own Mastodon instance using the new unauthenticated public timeline API (thanks @Gargron)

Rendered: ind.ie/labs/set/posts
Template: ind.ie/labs/set/posts.html
Route: source.ind.ie/project/set/blob

Set: ind.ie/set mastodon.ar.al/media/UG0dM6Rbb mastodon.ar.al/media/q3YEFzh_u

· Web · 6 · 20

@aral @Gargron Nice! I hope more instances start displaying an unauthenticated public timeline. It'd be awesome if it were the default for new instances

@aral I love it bro!

I may use it on my website! Thank you for sharing it!

@ekaitz_zarraga You’re welcome, man :) Happy to hear it!

@aral Did you have a chance to test if my changes worked?

It was just a bunch of style cleaning, it should work.

@bob @Gargron Thank you :) Next, I want to include just my public toots on my site using just client-side JS so I need an unauthenticated API call for that. Might just bite the ruby bullet and try to get the Mastodon dev environment going so I can contribute that.

@aral Btw Aral, I've been playing with Jinja, Jinjs, Nunjucks, Mustache, Plate and some more during this week and Set really made me think.

Did I get Set correctly if I say the difference it has with those I mentioned is in Set you are *really* writing pure HTML?

Is that the point really? why is that important?

Sorry for the questions but I'm a curious motherfucker.

Regards!