Follow

✨ New feature ✨

Scan a book's ISBN barcode from your device camera to find it on BookWyrm

@bookwyrm @vv so much useful feature thank you very much !!

@fx @bookwyrm it was really fun to implement! Glad you like it

@bookwyrm
I've got some hundreds book to scan.

Do you have some kind of export feature to allow processing elsewhere?

I couldn't find the app on F-Droid.

@RyunoKi Exporting your books from BookWyrm as a CSV is still in progress

@bookwyrm
Signed up with bookwyrm.social - Any people recommended to follow?

@bookwyrm is scanning fully in the browser, using the available camera APIs? if so, that's cool! you don't really see this being used frequently for applications other than browser video conferencing.

@ConfuSomu @bookwyrm we are using QuaggaJS to do the detection in browser using the camera API, yes! github.com/ericblade/quagga2

@vv
Ugh. It seems like I cannot get the camera working in an Android Webview client (And yes, if I did not make any mistakes, I did all the permission stuff.). I am not sure whether that is an issue with QuaggaJS or with your implementation?

I have spent quite some hours...
@ConfuSomu @bookwyrm

@storydragon @ConfuSomu @bookwyrm I'm wondering if you can reproduce the issue on the quagga2 example page: serratus.github.io/quaggaJS/ex --if so would be best to report a bug there I think. Though I imagine also reporting it on the bookwyrm issue tracker would be a good idea.

@storydragon @ConfuSomu @bookwyrm also, if this is for an Android app I also wonder if there is a way to do barcode scanning more natively. If you can find a way to scan the isbn as a number natively, all you'd need to do is pass that into the search API to get the same functionality as the website.

@vv
Well, it seems like the quagga2 example page works... So that makes it probable that the problem is with the implementation in Bookwyrm...

And yeah, I have been thinking about trying to find a way to do barcode scanning in another way, but I will have to search for that. So that will be another weekend.
It is probably possible, I 'just' have to try to see how to do it.
@bookwyrm

@storydragon @bookwyrm probably a way to fix it on our side, then. I'll need a lot more info about how it's failing though

@vv
Saturday I spent quite some hours on adding ISBN scanning to the app. After five hours or more I finally got it working. Though the appearance could probably be better.
Maybe I should try to see if I can detect the ISBN scan button on instances that have them, to be able to remove it to prevent confusion.
I basically used JavaScript to add a button at the top of the page, connected to a function within the app code, to scan for a barcode.

github.com/PrivacyDragon/Bookw
@bookwyrm

@storydragon Pretty neat! I'm wondering how this differs from making bookwyrm a Progressive Web App which might be useful (as a contributor rather than a project owner, I'm just spitballing here)

@bookwyrm yes YES! one of my most frequently used Goodreads features is to scan a book and add it to a to-read list (or more accurately a "found in the wild, looked cool, but I promised not to buy more books" list). thank you!!

@bookwyrm Nice, is there any chance of getting a proper app for bookwyrm? Always like those so much more then when it runs in webview or a browser.

@wmd
Yes, I made an unofficial Android application. It is available in the IzzyOnDroid F-Droid Repository.
apt.izzysoft.de/fdroid/index/a
Though the new ISBN scanning function does not work yet in the app. I tried today to fix it, but it seems to be almost impossible, even when doing the proper permission stuff...
@bookwyrm

@wmd
Well, it actually is just in a webview. Though it can open bookwyrm links. :ms_shrug: @bookwyrm

Sign in to participate in the conversation
LGBTQIA+ Tech Mastodon

*Due to increased bot signup, manual approval is required. Please write some applicable request text on signup with why you want to join. Blank submissions will be denied.*

This Mastodon instance is for tech workers, academics, students, and others interested in tech who are LGBTQIA+ or Allies.

We have a code of conduct that we adhere to. We try to be proactive in handling moderation, and respond to reports.

Abridged Code of Conduct

Discrimination & Bigotry Won’t Be Tolerated.

We're not a free speech absolutist. We're not interested in Nazis, TERFS, or hate speech. No homophobia, transphobia, queerphobia, racism allowed.

Respect Other Users.

This instance is meant to be a friendly, welcoming space to all who are willing to reciprocate in helping to create that environment.

Consent is Important in all contexts.

If you’re ever unsure, ask first. Use CWs where required.

Listen; Don’t Make Excuses.

If you’re accused of causing harm, either take some responsibility or ask moderators for help.

Use the Report Feature.

Our moderators are here to listen and respond to reports.



For more detail, please
Review our Full Code of Conduct


This instance is funded in part by Patreon donations.