Follow

Does anyone have thoughts on hCaptcha? Gitea gets absolutely flooded with spam signups without a captcha, but I'd really like to make registration open again :boost_requested:

reCaptcha is a no-go of course. Gitea also has image captchas but from issues it seems it's really not so reliable at keeping spam out

@f0x I use the gitea captchas and no spam so far. But they are inaccessible if you can't see them.

@tastytea i'm implementing it now, with a hacky proxy so I don't have to interact with the gitea codebase itself :)

@f0x if you're interested, I think @forestjohnson grew his own proof of work captcha. Not sure the state of it, but thought I'd mention.

@starless @forestjohnson oh yeah, I remember that!
Sadly it seems these are people manually creating spam accounts, so none of these solutions really work, short of doing approval based signups :|

@f0x I wonder if a secret password kinda system could work?

Like, "what is the name of the best hacker soda" or "what is the lovable shark plush?"

Wild that humans are making those accounts, though....

@f0x "write me a haiku" connected with pythons syllable thing might be fun, but maybe too easy to scam

@f0x @starless

You are getting spam signup requests from real people? How do you know it's real people and not bots, if you don't mind me asking? I used to have open signup on my old gogs instance and I got hundreds of signups, but none of those users ever did anything. I think they were all bots as far as I could tell.

I was hoping to make a works-without-login version of gitea one day, and I was hoping I wouldn't have to deal with moderation at least for a while (until the gitea server gets much more popular) because the PoW Captcha (git.sequentialread.com/forest/) would filter out the bots, and right now I don't think anyone cares about my git server, let alone knows that it exists 😞

@forestjohnson @starless the majority doesn't do anything, but quite a lot of them also create profiles, repos and organizations with various spam messages

I think they're real users because my simple hidden form technique didn't stop them at all. Could also just be more sophisticated botting tho

@f0x @starless I'd be interested to see if the haiku requirement stops them or not. I'm going to build PoW Captcha into a fork of your registration proxy as well, just for fun 😋

@forestjohnson @starless code is now on git.pixie.town/f0x/gitea-regis, should be easy to tweak :)

biggest downside is with just a custom template you can't really get feedback in the html, hence also why a failed haiku sends you to a very bare page

Sign in to participate in the conversation
Pixietown

Small server part of the pixie.town infrastructure. Registration is closed.