InfiniB

William White
William White

If you browse Holla Forums actively you may have seen a picture or two of this before. After a long wait, I've cleaned it up and uploaded it to the internet under the GPLv3.
You can find the source for my Holla Forums client here:
gitgud.io/InfiniB/InfiniB
In regards to the image rendering please note that it is currently tuned to work with my current setup of wm + terminal, but it shouldn't be too hard to get it to work in your. If images are broken for you or are off by a line, you likely need to play with the timings. There are some usleep's in main.c which you can uncomment and play with. With using delays, I've been able to get images to work in uxterm, urxvt, and st. For me, st required more delay. uxterm required a delay, but not as long of a delay as urxvt. I've only tested it with i3 and bspwm. You would notice that your WM is not supported by images not being redrawn when you switch away and back to the workspace the terminal is in or by exiting fullscreen of a different terminal on the same monitor. I'm not sure how it would act with a floating window manager.
Compatibility issues aside, the image rendering approach was inspired by the way w3m does it, but that approach has a big problem. It can only render files that are on disk. My implementation supports streaming a file from the network straight into memory in order to render it.
The formatting for rendering for the reply boxes is still pretty basic. It currently has issues such as words overflowing onto the next line instead of moving the whole word to the next line and greentext longer than a line not getting the color on the following lines.
The posting functionality is also limited in that you can not solve the captcha inside of the client. Additionally, you can only send comments. You can't namefag / tripfag / sage. For writing the comment, it will open up emacs. After writing your comment, you save and quit and it will be sent to the thread. If you do not use emacs, it is a fairly quick change. You just need to be able to create a command to edit a text file on the system. Also if you are actually going to post with this, I suggest changing the REPLY_PASSWORD so that other people can't just delete your comments. Another thing which has not been implemented yet is the ability to post images with your posts.
After downloading the json for the thread, it uses up to 16 threads at once to fetch the image that reside in it.
Another downside is that you can only browse 1 thread at once. Luckily, the client does support auto updating the thread while you are inside of it, but it will freeze the client while it's doing so.
It's possible that this client works for image boards which support a JSON endpoint similar to the one Holla Forums uses. Though keep in mind that image and posting are currently implemented in a way that makes it Holla Forums specific.
Currently it can only render images in the JPEG or PNG image formats and will only render the first image posted. Since images can get pretty big, if they are over 10 rows tall I downscale them using bicubic sampling using a Catmull-Rom spline.
Also in the repository you'll find a script called "anonymize." It's job is to get rid of all occurrences of your regular username and email and replace them with user / Anonymous.
Thanks for taking a look at my project and listening to my rambling.

Attached: 2018-03-28-003327-5760x1080-scrot.png (161.68 KB, 1906x1031)
Attached: 2018-03-28-003919-5760x1080-scrot.png (286.36 KB, 1906x1031)
Attached: 2018-03-28-004520-5760x1080-scrot.png (17.81 KB, 1906x1031)

All urls found in this thread:

gitgud.io/InfiniB/InfiniB
stackoverflow.com/questions/4493936/could-i-change-my-name-and-surname-in-all-previous-commits
my.mixtape.moe/bujdci.tar.gz

Caleb Cooper
Caleb Cooper

Nice! Very fun and clean-looking reader.

Bugwise, I get this when I scroll using page up/down in xterm. Also, images flicker when I scroll by holding arrow up/down.

If I can fix these on my end I'll send you a diff. Your code seems pretty readable so I'd like to play around with it. Priority features for me would be local captcha, catalog viewing, and "evil mode."

Attached: ClipboardImage.png (163.74 KB, 685x689)

Evan Young
Evan Young

You likely just need to play with the timings as mentioned in the OP. If you search the main.c file for usleep you'll find a lot of commented lines. Uncomment them and then play around with the timing.
images flicker when I scroll by holding arrow up/down
This is due to it redrawing every image in the thread when you scroll. This could be minimized by only redrawing the images being scrolled in / out. Well technically that would all that would be needed if we didn't have the side bar. With at least xterm, if you scroll the whole screen it will correctly move the image. Since we have the sidebar, I think ncurses can't just scroll the terminal and must reprint all the text.
Maybe we could make the sidebar toggleable?
From what I remember the flicker in xterm is sort of bad from having a low frame rate.

Jayden Miller
Jayden Miller

that's awesome, user, thank you, I'll spend the next few days exploring your project

Luis Price
Luis Price

Your samefagging doesn't phase me you little mole, go back to CIAnigger school.

Isaiah Davis
Isaiah Davis

Chris Tran is a CIAnigger?

Xavier Brooks
Xavier Brooks

pic related
Chris Tran
Who? I know of one Chris Tran, but I would be surprised if you knew him.

Attached: 2018-03-28-120228-543x103-scrot.png (11.73 KB, 543x103)

Justin Taylor
Justin Taylor

Attached: gyroninja.JPG (87.51 KB, 1609x751)

Jaxson Rodriguez
Jaxson Rodriguez

you need to go back.
your desire for attention is so strong that you seem to consistently sabotage your own attempts at privacy.

Attached: OPSEC.JPG (109.38 KB, 1615x566)

Jason Wright
Jason Wright

My name isn't even Chris. Thanks for ruining this project faggot.

Thomas Martin
Thomas Martin

what a coincidence, gyroninja.

Attached: gyroninja2.JPG (65.96 KB, 1222x558)

Chase Sanders
Chase Sanders

hey Holla Forums here's a fun project I made for you
doxxed 5 posts later
This is why nobody on Holla Forums programs.

Easton Reyes
Easton Reyes

This thread can't be salvaged, but please put the repository back online after rewriting the commit log:
stackoverflow.com/questions/4493936/could-i-change-my-name-and-surname-in-all-previous-commits
I didn't clone it yet but I'd like to look at it more.

Jack Gutierrez
Jack Gutierrez

checked, ChrisTran
op posts on user board suggesting an user project for which all code submissions are to be anonymous:
in the repository you'll find a script called "anonymize." It's job is to get rid of all occurrences of your regular username and email and replace them with user / Anonymous.
op fails at basic privacy
op gets mad at user for pointing out the fact that his dick is hanging out in public

Adam Jones
Adam Jones

Sorry, but I will not be able to do that for a while. After thing like this, I am no longer comfortable with the state of sharing this project.
1. My name is not Chris Tran. There is some confusion around this as I made a web page dedicated to a 2 look last slot + last layer method for a 3x3x3 Rubik's cube that he made. I generated hundreds of algorithms and transcribed his algorithms and put it up. I was not looking for any credit, so I did not put my name on it. Not even my online name was posted on the web page.
2. I thought the script would be good enough, but apparently it wasn't. I should have spent more time analyzing my solution to the problem.

Henry Butler
Henry Butler

There's an 80% chance someone is going to (completely legally) reupload the repository, outside your control, if you don't reupload it yourself.

Julian Kelly
Julian Kelly

Well if they did I would hope they would have the decency to change this line in anonymize fromgit filter-branch --env-filter "GIT_AUTHOR_NAME=user GIT_AUTHOR_EMAIL=Anonymoustogit filter-branch --env-filter "GIT_AUTHOR_NAME=user GIT_AUTHOR_EMAIL=Anonymous GIT_COMMITTER_NAME=user GIT_COMMITTER_EMAIL=Anonymous"and then rerun the anonymize script before uploading it.

John Flores
John Flores

The makefile looks a lot like the one from netrunner.


git shortlog origin/master..
user (4):
use size_t for array indexes
don't use -Werror it will break the build with newer compiler versions
Makefile : add debug target
removed all trailing whitespace

my.mixtape.moe/bujdci.tar.gz

Matthew Baker
Matthew Baker

your brain on /pol/
Take your meds, fucking shizo
Op shouldn't have left tracks.
Yet, instead of trying to doxx him, you could discuss his project, you paj337 h4x0r wannabes. Jesus, this board has morphed into /g/ even more since my last visit.

Thomas Butler
Thomas Butler

I hope op learned a valuable lesson.

Luis Adams
Luis Adams

Firefox says thats a malware.

Ryan Gray
Ryan Gray

maybe TrisChan wants to become a meme and being doxed was his plan all along.

Elijah Bennett
Elijah Bennett

oh lol I was just looking at the code and then bam.

Angel Perry
Angel Perry

also, fuck off. he didn't just leave tracks. his "anonymizer" would've revealed anybody else who trusted his code and tried to contribute.

Disable AdBlock to view this page

Disable AdBlock to view this page

Confirm your age

This website may contain content of an adult nature. If you are under the age of 18, if such content offends you or if it is illegal to view such content in your community, please EXIT.

Enter Exit

About Privacy

We use cookies to personalize content and ads, to provide social media features and to analyze our traffic. We also share information about your use of our site with our advertising and analytics partners.

Accept Exit