Comment

Comment by jamescampbell

Yeah its not that bad, here is a simple bookmarklet example that grabs current url and posts it to your endpoint (mailephant in this case). Might be a good first step.

  javascript:q=location.href;if(document.getSelection)%7Bd=document.getSelection();
  %7Delse%7Bd='';%7D;p=document.title;void(open('https://mailephant.email/views/curate.html? 
  showtags=yes&url='+encodeURIComponent(q)+'&description='+encodeURIComponent(d)+'&
  title='+encodeURIComponent(p),'Mailephant','toolbar=no,scrollbars=yes,width=550,height=700'));

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton