bakape / captchouli

booru-backed procedurally-generated anime image captcha library and server
GNU Affero General Public License v3.0
159 stars 4 forks source link

Setting it up on my server #22

Closed ECHibiki closed 5 years ago

ECHibiki commented 5 years ago

Hey,

I'm looking to integrate captchouli into my ViChan fork. I was impressed by it when I went on meguca and want to involve it in my efforts.

How do I go about using it on my site? Something like, you run main.go and it listens on a port for you to send post requests? Which files am I supposed to look at to understand setting it up on the client side?

bakape commented 5 years ago

Integration via a HTML/JSON API is planned. I'll get to writing and documenting it some time this weekend.

On Fri, 7 Dec 2018, 13:43 ECHibiki <notifications@github.com wrote:

Hey,

I'm looking to integrate captchouli into my ViChan fork. I was impressed by it when I went on meguca and want to involve it in my efforts.

How do I go about putting it onto my server? Something like, you run main.go and it listens on a port for you to send post requests? Which files am I supposed to look at to understand setting it up on the client side?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bakape/captchouli/issues/22, or mute the thread https://github.com/notifications/unsubscribe-auth/AHfPsG3N60X4fjIAIheKbI6cfOTPA7Rgks5u2lRCgaJpZM4ZISqH .

bakape commented 5 years ago

I have added the functionality and documentation. If the docs seem lacking, feel free to reopen this issue.

ECHibiki commented 5 years ago

Was using https and apache2 ssl.conf's proxypass so had to switch to ListenAndServeTLS to get it to work(was giving "connection is not secure error" or something like that). Other than that no bugs or issues on my ubuntu18.04 apache server https://kissu.moe/captcha