Top
Best
New

Posted by sungam 6 days ago

Show HN: I'm a dermatologist and I vibe coded a skin cancer learning app(molecheck.info)
Coded using Gemini Pro 2.5 (free version) in about 2-3 hours.

Single file including all html/js/css, Vanilla JS, no backend, scores persisted with localStorage.

Deployed using ubuntu/apache2/python/flask on a £5 Digital Ocean server (but could have been hosted on a static hosting provider as it's just a single page with no backend).

Images / metadata stored in an AWS S3 bucket.

426 points | 258 commentspage 2
lazarus01 6 days ago|
What you created is a version of “am I hot or not” for skin cancer. The idea is constrained to the limitations of your programming capability. Showing a photo and creating 3 buttons with a static response is not very helpful. These are the limits of vibe coding.

I was thinking to train a convnet to accurately classify pictures of moles as normal vs abnormal. The user can take a photo and upload it to a diagnostic website and get a diagnosis.

It doesn’t seem like an overly complex model to develop and there is plenty of data referring to photos that show normal vs abnormal moles.

I wonder why a product hasn’t been developed, where we are using image detection on our phones to actively screen for skin cancer. Seems like a no brainer.

My thinking is there are not enough deaths to motivate the work. Dying from melanoma is nasty.

sungam 6 days ago||
The goal of my app is to educate patients so that they recognise that they need to take further action.

Regarding AI-assisted skin cancer diagnosis: This is a huge area that started with the publication of Esteva et al (https://www.nature.com/articles/nature21056) and there have been hundreds of publications since. There are large publicly available datasets that anyone can work with (https://challenge.isic-archive.com/).

My lab has previously trained / evaluated convnets for diagnosis of skin cancer e.g. see this publication: https://pubmed.ncbi.nlm.nih.gov/32931808/

I have no doubt that it will be possible to train an AI model to perform at the same level as a dermatologist and AI models will become increasingly relevant. The main challenge at the moment is navigating uncertainty / liability since a very small proportion of moles / skin lesions that appear entirely harmless both the naked eye and with the dermatoscope (skin microscope) are cancerous.

lazarus01 6 days ago||
Thanks for including those information resources. This is something I’m interested in digging deeper into.
g-mork 6 days ago|||
You're talking down to a technically unskilled dermatologist for successfully producing a useful app without the help of an engineer? Curious behaviour! This is far from the first story like this, in combination they're a potent bellwether for the future of our little corner of the universe, engaging in denials really doesn't help anyone
lazarus01 6 days ago|||
I wouldn’t call it “successful” or “useful”. It was a low effort attempt to make something interesting and it wasn’t. It’s a response to the hype of vibe coding. Lowers the bar for what good software really is.

Perhaps you may want to question your bias and ability to process criticism.

Anyone who shares their ideas publicly will receive criticism. Not only is it ok, it’s helpful to expand the discussion beyond your bias.

petralithic 6 days ago|||
> It was a low effort attempt to make something interesting and it wasn’t.

Maybe to you, but others in this thread found it interesting.

> Lowers the bar for what good software really is.

Software is a means to some end, not the end in itself. I can make the best coded software that does nothing [0], there is no point to that other than to practice one's skills, but again, those skills are to achieve something in the end.

[0] https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpris...

jgilias 5 days ago|||
The issue is that your criticism is misguided and not very helpful. In your parent comment you totally miss the forest for the trees. Or, the reason why this app has been made in the first place.

Further, your suggestions are inactionable, and again, miss the point. It’s a low effort - “Lol, why don’t you just…”. No, the point is not to find skin cancer. The point is to show a bunch of pictures to people who are interested, and let them see if they can identify worrying skin lesions.

Teknomadix 6 days ago|||
This vibe coded app totally is helpful.

Improved my score from an abysmal 40% in under 15 units to above 95% accuracy. Also realize that I have skin lesion that warrant an immediate dermatologist visit.

Your characterizations are unnecessarily salty.

nlawalker 6 days ago|||
I disagree, I found this very helpful. In a very short amount of time I was granted the insight, in a very clear way, that I am not very good at determining whether moles need treatment based on how they look.
raincole 6 days ago|||
I really don't think you can publish the app you described in any developed country without an army of lawyers. And this army had better be prepared to lose many battles.
thimkerbell 6 days ago||
Could it be built from an island off Costa Rica?
cjbgkagh 6 days ago|||
“am I hot or not” is a great paradigm for many things, is it porn or not etc. 3 buttons are perfectly sufficient for getting this information from the users for rating systems in general. This is not a rating system as samples are labeled from actual test results.

AFAIK Netflix got rid of their 5 star rating as the signal over 2 stars wasn’t worth the mental overhead from users having to decide between a 4 and a 5. Also star rating are culturally dependent so you have to normalize for that effect. In general it’s a total hassle.

hedgehog 6 days ago|||
Developing a model like that, and evaluating it with practicing doctors, is a good learning project.
hombre_fatal 6 days ago|||
Every dermatologist (and developer with a dermatologist relative) in the world has had that app idea since most of your daily checkups are moles that you categorize in seconds.

The app already exists btw. Did nobody in this thread google it before saying it couldn't work?

i000 6 days ago|||
What an utterly disappointing comment. FWIW I spent 15min on the app, and found it very helpful to see examples of the various kinds of skin lesion - it will likely motivate me to see a doctor when I see a similar malignant skin lesion. Educating people is very helpful.
rogerrogerr 6 days ago|||
We need liability reform - any app in the US would either tell you ~everything is skin cancer, or it would show one false negative and get sued into oblivion.
s3v 6 days ago||
I found this app to be very helpful and educational. You, on the other hand, are being a jerk.
andreasgl 6 days ago||
I like the project! Congrats on the launch.

As I understand it, size is one of the key indicators of melanoma. But in some of these images, it’s difficult to tell whether the mole is 1 mm or 10 mm. I assume your image set doesn’t include size information. If you can find sources with rulers or some kind of scale, that would be very helpful.

sungam 6 days ago|
I will have a look at this and include the size if it is possible
danlamanna 6 days ago||
Many of the images do include a size, see https://api.isic-archive.com/images/?query=clin_size_long_di....

FWIW @sungam - I'm one of the maintainers of the ISIC Archive, so feel free to let me know if finding/downloading data could be made easier. It's always interesting to see people using our data in the wild :)

sungam 6 days ago||
Thanks for this - and thanks for maintaining this incredibly useful resource. What would be the best way to contact you?
danlamanna 5 days ago||
firstname.lastname at kitware dot com.
omer9 6 days ago||
Every image with a pen marking is dangerous/cancer. Check.
sungam 6 days ago|
Haha not all of them - but actually this is an important observation because when training convnets for skin cancer diagnosis the presence of the pen marking can be an important confounding factor that needs to be accounted for
jampekka 6 days ago||
To my eye most of the basal cell carsinomas looked like everyday rashes, pimples or scratches. My correct rate was under chance. This could be hypochondria inducing for many?
sungam 6 days ago|
Basal cell carcinomas can look very similar to other harmless skin lesions. The key thing is that they will not resolve with time and will slowly grow whereas a rash, pimple or scratch will resolve over a few months.

Fortunately basal cell carciomas are very slow growing and do not spread elsewhere in the body or cause other health issues and a delay of a few months in diagnosis does not have a big impact on outcome.

Uptrenda 5 days ago||
Biggest irony of the thread is the OP and the ones commenting celebrating the tech putting themselves out of the job while contributing it. Eg. a dermatologist who looks at skin conditions -- a very visual skill. They use their skills at that to build an app that people can use to check for skin cancer, rashes, whatever. Now, people have less incentive to see a dermatologist and might miss the zebras (and in fact: people are lazy and tend to hate doctors already so they won't.) Then there's the software engineers here who (even if you're a high level senior engineer) are further moved down the chopping board the better AI gets.

YAY, three cheers for all the soy boys building AI. See you on unemployment soon.

softwaredoug 5 days ago||
Vibe coding is like spreadsheets.

We take spreadsheet for granted. VisiCalc back in the day unlocked computing for an average person in the same way AI does today. Back then to tabulate some stats you’d need a team of programmers. When spreadsheets became available, anyone could figure out how to essentially program a computer without software background.

It would be interesting to see how spreadsheets failed/succeeded to learn the limits of vibe coding. For example it’s a common meme that you find teams using spreadsheets as databases. Perhaps they are so successful that they end up being misused. Would the same happen with AI coding?

sungam 5 days ago|
I think we are going to see more and more people in diverse fields developing applications that meet the requirements of a small niche that may not have been economically viable previously.
rcruzeiro 6 days ago||
I’ve learned that basal cell carcinoma can look scarily unremarkable!

Would be useful to add some explanation on the defining features that would give it away to a dermatologist.

sungam 6 days ago|
Yes I need to add this along with a tutorial on skin cancer diagnosis. Honestly wasn't expecting anyone to use the app so just did the basics!
agnishom 6 days ago||
This is a good use of vibecoding. The main "algorithm" to be implemented is very straightforward , and for the hard stuff, we have an expert.
sungam 6 days ago|
Yes I think so - it's a very simple application but I would never have had the time to do it myself.

If anyone is interested: Coded using Gemini Pro 2.5 (free version) in about 2-3 hours. Single file including all html/js/css, Vanilla JS, no backend, scores persisted with localStorage.

owenversteeg 6 days ago||
(spoilers!) here's how to win: everything is cancer, except the common moles and the keratoses.

OP, what are some of the other common options for a spot on the body aside from common moles, cancer, and keratoses? Solar lentigines, freckles, bug bites, eczema? I'm also curious what the actual chance of cancer is given a random mole anywhere on the body, obviously a more involved question.

sungam 6 days ago|
Good observations! But hopefully you learned something in coming to those conclusion...

The chance of a random skin lesion being skin cancer is extremely low. Apart from the appearance key things to look for are a lesion that is not going away particularly if it is changing in appearance.

Here are some other common skin lesions: - Dermatofibroma (harmless skin growth) - Actinic keratosis (sun damage) - Milium - Comedome - Acne pustule / nodule - Viral wart - Molluscum contagiousum (harmless viral growth) - Cherry angioma (harmless blood vessel growth) - Spider naevus (another type of blood vessel growth)

There are more than 2000 diagnoses in dermatology so not an exhaustive list!

haspok 6 days ago|
A few years ago there used to be an ML-based app for Android that could classify photos of lesions that you took with your phone and could recommend you a visit to the dermatologist (or not). Unfortunately it seems to be removed now, the webpage is still live (somewhat): https://emdee.ai/

It was done by a small team in Hungary, with the support of MDs of course. (I would guess that the majority of the work was coordinating with MDs, getting them to teach the software... and collecting photos of lesions. Must have been fun!)

They probably could not monatize it (or were not interested, or it was just too much work for a side hustle)... the sad reality of living in Eastern Europe.

I do think that the idea is perfect, it is non-invasive, but could warn you of a potentially very dangerous condition in time. You don't have to wait for the doctor, or unnecessarily visit them. I would actually pay for this as a service.

sungam 6 days ago||
Making an app like this is (relatively) straightforward. The challenge is managing liability / risk / regulation. For individual doctors we accept that some errors will occur and there is a well defined insurance / liability framework. We do not yet have this for AI but I think it will come eventually.
epolanski 6 days ago|||
It's Hungary, a country in the EU, I see no reason why would they not be able to monetize it if they wanted to.

Bar a lack of a vibrant VC scene they have the very same monetization option one in SF would have.

The most probable reason they did not was to avoid assuming legal responsibility for the results.

lelele 6 days ago||
There is another one such app: https://www.skinvision.com/
More comments...