Best way to bookmark a webpage?

For your information, I followed your ideas and I have a system that now works very well:

  • I self-host an instance of n8n (thanks to Yunohost), in which I created a very simple workflow with a webhook trigger
  • I have a bookmarklet (copied from Shaarli) that allows me to save any page in one click. Here is the code:
javascript:(          function(){            var%20url%20=%20location.href;            var%20title%20=%20document.title%20||%20url;            var%20desc=document.getSelection().toString();            if(desc.length>4000){              desc=desc.substr(0,4000)+'...';              alert('Le%20texte%20s%C3%A9lectionn%C3%A9%20est%20trop%20long,%20il%20sera%20tronqu%C3%A9.');            }            window.open(              '<WEBHOOK-URL>?post='%20+%20encodeURIComponent(url)+              '&title='%20+%20encodeURIComponent(title)+              '&description='%20+%20encodeURIComponent(desc),'_blank','menubar=no,height=800,width=600,toolbar=no,scrollbars=yes,status=no,dialog=1'            );          }        )();

Thanks again!

4 Likes