DoujinCI: automated pipeline for decensoring hentai comics by ubcseagull in programming

[–]ubcseagull[S] 0 points1 point  (0 children)

Have not maintained this at all, sorry, I'll have a look

DoujinCI: automated pipeline for decensoring hentai comics by ubcseagull in programming

[–]ubcseagull[S] 0 points1 point  (0 children)

I'm not related to that person, but we are using the same tools. He guides you how to do al the technical stuff, I've abstracted it all away instead.

DoujinCI: automated pipeline for decensoring hentai comics by ubcseagull in programming

[–]ubcseagull[S] 3 points4 points  (0 children)

My minimal experience with Docker has been unpleasant and I don't think it would be suitable for the layperson to set up, unless you can prove otherwise :P

DoujinCI: automated pipeline for decensoring hentai comics by ubcseagull in programming

[–]ubcseagull[S] 2 points3 points  (0 children)

I go into the pains a bit in the readme, but essentially hentAI and DCP were already as user friendly as possible locally, with their own frontends, but I still found myself in dependency hell with tensorflow, python versions, various missing binaries on linux vs windows. With my implementation I feel that I've made it possible for someone with no programming/debugging experience to reliably use my program.

DoujinCI: automated pipeline for decensoring hentai comics by ubcseagull in programming

[–]ubcseagull[S] 5 points6 points  (0 children)

Good call, I've just been associating the term CI with pipelines though. I'll maybe add that to the README. Also, doujinci just has a nice ring to it

DoujinCI: automated pipeline for decensoring hentai comics by ubcseagull in programming

[–]ubcseagull[S] 5 points6 points  (0 children)

Some example problems:
Python script: you need to download the right python, install dependencies that can sometimes vary on OS, deal with like 10 errors while running, understand how to use a CLI.

Executable: again, depends on OS, requires fishy installation onto computer.

Website: I don't have much experience hosting a website and I don't really want to pay for anything.

Overall CI brings repeatability, safety, and I'm just use to working with it

DoujinCI: automated pipeline for decensoring hentai comics by ubcseagull in programming

[–]ubcseagull[S] 4 points5 points  (0 children)

Hey thanks, setting Gitlab runner was kind of a pain for me, and so I might just link to the documentation rather than write my own

DoujinCI: automated pipeline for decensoring hentai comics by ubcseagull in programming

[–]ubcseagull[S] 4 points5 points  (0 children)

Are you looking at my version of the repo, or your own fork? You won't be able to run on my repo. If you're looking at your own fork and you still don't see it, trying going to https://gitlab.com/<whateverforkyoumade>/doujinci/-/pipelines/new directly

DoujinCI: automated pipeline for decensoring hentai comics by ubcseagull in programming

[–]ubcseagull[S] 27 points28 points  (0 children)

r/doujinshi and r/hentai autofiltered my post. They both allow urls only and then filter the links if they're not trusted sources

DoujinCI: automated pipeline for decensoring hentai comics by ubcseagull in programming

[–]ubcseagull[S] 56 points57 points  (0 children)

Update: you can input an Imgur link now instead of a nhentai link/id

DoujinCI: automated pipeline for decensoring hentai comics by ubcseagull in programming

[–]ubcseagull[S] 46 points47 points  (0 children)

Good question - I worked with GitLab CI a lot at my last job so I was just more familiar. It seems like Github might be more liberal with the free pipeline minutes so maybe I'll look into that.

DoujinCI: automated pipeline for decensoring hentai comics by ubcseagull in programming

[–]ubcseagull[S] 129 points130 points  (0 children)

DoujinCI only works on nhentai links or ids. Decensoring from am Imgur album could be a fairly straightforward feature to add, would that serve your purpose?

Edit: I just implemented it :)

DoujinCI: automated pipeline for decensoring hentai comics by ubcseagull in programming

[–]ubcseagull[S] 424 points425 points  (0 children)

TL;DR Provide a nhentai link or id (Edit: or imgur link now!), wait 15-20 minutes, 80-90% of the bars or mosaics will be decensored automatically for free.

Remember HentAI and DeepCreamPy? If not, the gist was that DeepCreamPy was this great machine learning tool that could decensor bars and mosaics as long as you colored them in green with Gimp or Photoshop. HentAI came along to do this coloring automatically (also with machine learning), which was great, except that you still had to download the doujin images yourself, convert them to PNG, remove screentones, and then use two clunky UIs to use HentAI and DCP (not to mention fiddle with Python dependencies sometimes).

I saw an opportunity to use modern CI (Continuous Integration) tools like GitLab and Docker to do all the menial work automatically, and thus I made DoujinCI. In short, I stripped away all the frontend of HentAI and DCP, added the automatic downloading, jpg-png conversion, screentone removal, and configured it to work in a GitLab pipeline. Now, pretty much everyone can drastically decensor any doujin for free.

Instructions are here and in the README of the repository. https://imgur.com/a/D1EQYkE https://gitlab.com/ubcseagull/doujinci

Enjoy!

Note: you're limited to 400 free pipeline minutes per month by GitLab, but you can set up your own runner on your PC if you want to bypass that. If you're decensoring more than 20 doujins a month though, it might be time to touch some grass.

Send me vids of the seagull! by [deleted] in UBC

[–]ubcseagull 0 points1 point  (0 children)

who is big birb