News for hackers. Stuff that matters.
Re:Show HN: Bort.io – Web application for website bookmarks ... by otsaloma on Wednesday October 07, 2015 @03:33PM (#10348440)
Hello. Bort is a web application I made for website bookmarks and search. It's fully client-side JavaScript with bookmarks saved in browser's local database (IndexedDB or WebSQL via PouchDB) and synced via a JSON file in user's own Dropbox across both devices and browsers.

Any feedback is welcome. In particular, since I don't have a Mac at hand, I'd like to know if it works on Safari, and if so, which version. Unlike other tested browsers, PouchDB uses WebSQL instead of IndexedDB on Safari.

Re:Show HN: Bort.io – Web application for website bookmarks ... by caio1982 on Wednesday October 07, 2015 @05:07PM (#10349107)
+500 internet points to Bort for providing import & export options out of the box :-)
Re:Show HN: Bort.io – Web application for website bookmarks ... by Raphael on Wednesday October 07, 2015 @07:27PM (#10349875)
For navigation within the app, consider using links with URL fragments and listening for the hashChange event. This will allow back and forward navigation, as well as the ability to bookmark or link to a tag.
Re:Show HN: Bort.io – Web application for website bookmarks ... by otsaloma on Wednesday October 07, 2015 @08:01PM (#10349995)
Thanks. I didn't know about this. I'll look into it.

Linking to a tag or several tags is already possible though. It's just not obvious since you don't see those URLs in normal use.

https://bort.io/about.html#faq-url-tags

Re:Show HN: Bort.io – Web application for website bookmarks ... by sheenobu on Wednesday October 07, 2015 @07:33PM (#10349901)
Seems functional in Safari Version 8.0.8 (10600.8.9).

I wish it would auto-determine bookmark titles. Unless that is a Safari-only issue, I guess that is due to its client-side nature?

Also: Why not remoteStorage.js ? Not that I particularly care for that over dropbox.

Re:Show HN: Bort.io – Web application for website bookmarks ... by otsaloma on Wednesday October 07, 2015 @07:54PM (#10349967)
Thanks for checking Safari.

Technically it should be possible to fetch the page and parse the title tag. It's hard to know when to do that if there's an editable URL field. With a browser extension and a "?add=URL" parameter (see the question from g4k) it would work better.

I'm not familiar with remoteStorage.js. Dropbox I chose simply because it's popular, many people already have an account and trust them, so it's a low barrier to use something that uses Dropbox.

Re:Show HN: Bort.io – Web application for website bookmarks ... by sheenobu on Wednesday October 07, 2015 @08:39PM (#10350142)
remoteStorage.js is a library for implementing applications similar to yours, where the backend storage is separate from the application provider.

The library primarily supports 'remoteStorage' providers but apparently now supports google drive and dropbox experimentally.[1]

All the apps using remoteStorage that I've checked out don't seem to have dropbox as an option though, and only some have google drive.

[1] https://unhosted.org/adventures/7/Adding-remote-storage-to-u...

Re:Show HN: Bort.io – Web application for website bookmarks ... by otsaloma on Thursday October 08, 2015 @03:15AM (#10351307)
Forgot about CORS regarding those titles, so I guess a bookmarket or browser extension is required that passes the title along with the URL as a parameter. Or like with favicons, a separate service that parses titles.
Re:Show HN: Bort.io – Web application for website bookmarks ... by dorian-graph on Wednesday October 07, 2015 @06:39PM (#10349633)
Thank goodness for being client-side! It's a refreshing change almost every other web app.
Re:Show HN: Bort.io – Web application for website bookmarks ... by aswerty on Thursday October 08, 2015 @04:24AM (#10351485)
It looks really well. I've also been building a bookmarking system over the last while, it's not yet released though, so I love to see other stuff in this area coming out.