[template] Reddit importer

I had so much fun building this.
I don’t know who needs to see this.

This little interactive template embeds an entire reddit thread directly into a page, including all the comments, in collapsible bullets, markdown is amazing!

  • update the link inside [reddit](>>HERE<<) with a reddit.com link
    • to a comments page - https://www.reddit.com/r/<subreddit>/comments/<id>/<title>
    • or a comments sub-thread - https://www.reddit.com/r/<subreddit>/comments/<id>/<title>/<comment-id>
    • or to a user page (even with parameters!) - https://www.reddit.com/user/<username>/?sort=top&t=day
    • or to a subreddit (even with parameters!) - https://www.reddit.com/r/<subreddit>/top/?sort=top&t=week

After adding the template, before clicking the button:

After clicking, the script will embed comments / urls from the link, as nested sub-bullets

(I only tested in the web client)

looks great, thank you for sharing !

1 Like

This is super cool, I could see myself getting a lot of milage out of this.

1 Like

Thanks for the feedback, really happy to hear :slight_smile:

I could see myself getting a lot of milage out of this

Me too. I do a lot of research and link collecting and actually embedding the content of reddit threads instead of just referencing the link is magical to me. Being able to collapse/edit and treat individual comments as blocks is amazing.

please let me know if you can think of any nice features I can add (like for example, I’ve been thinking about a refresh button, showing comment points, maybe even a working “load more comments” button, etc)

Hi @Maddog, thanks for this super cool tool! With the upcoming plugin APIs, tools like your Reddit importer shall be easier to implement and integrated more closely with Logseq.
FYI, the last meetup that @Charlie demoed some plugins written in the early-stage APIs: Logseq Meetup #2 - YouTube

@junyu - I’m definitely looking forward to doing this in a less hacky way :slight_smile:

thanks for the link, I’ll check it out

EDIT: I watched the video, the future of logseq looks exciting
is there a page somewhere that describes the APIs plugins will have access to?

@Maddog Thanks for your attention :wink: Currently plugin samples is preparing & some editor APIs is forwarding with refactoring branch. It will hopefully publish within one or two weeks :slight_smile:
You can get some early API (unstable) here:

1 Like