[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
▼ Settings Mobile Home
/pol/ - Politically Incorrect

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
Flag
File
  • Please read the Rules and FAQ before posting.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: SQL thread HTML 2.png (133 KB, 1891x893)
133 KB PNG
Swiss Anon strikes again!
There is a real possibility that the internet could go down soon due to war or some AI fuckery... are you ready to browse the archives offline?

>there's already more complicated code for it on github so you can run it on a server
Fair enough, but I want to do it myself from scratch, as an exercise, with the functionalities that I desire and as simple as possible, less than 500 lines of code.

My Python/HTML browser is starting to look good, I finally managed to get the correct reverse reply links to work too.
These little niggers are hard to implement if you never tried a similar task beforehand.
I also added flags (text based for now) and image hashes.

The colors are not definitive, still experimenting with that.

I want (YOU) to try building a similar browser for yourself, you can find some code screenshots here and in previous thread as a help.

NEW:
I’ve published a second version of the code, with some more basic functions I made last month on Pastebin, including a search function with a somewhat polished HTML output (see pic).

Here’s the link so you can play with it:

pastebin.com/Y1SY0Z6z
>>
File: searchresults html.png (245 KB, 1878x668)
245 KB PNG
The basic HTML searchresult output function is already available to you for free in the pastebin code, here's what a search report looks like:
>>
File: SQL.png (8 KB, 485x130)
8 KB PNG
The newest iteration based on French Anon's idea (not yet available on pastebin) can now manage .csv files up to 100 GB (maybe even more).
Have a look at this ~20 GB example:
>>
>>546205728
any webms or gifs in it?
>>
Previous thread with some more ideas:
archive.4plebs.org/pol/thread/546027390/
>>
>>546205873
Not yet but everything was archived, so it's feasible if you're motivated.
archive.org/details/4plebs-org-image-dump-2015-12
>>
old usenet vibes. zoomzooms won't get it
>>
File: hashsearch.png (194 KB, 1255x467)
194 KB PNG
The "CHECK" link sends you to the 4plebs search results for that specific image so you can download it with a few clicks (as long as there's the internet).
Example:
archive.4plebs.org/pol/search/image/7noVm0E1fG1bwA84fWoitQ==
>>
>>546205991
I could be considered a zoomer according to some definitions, I just want to keep the HTML outputs as small as possible.
I appreciate these vibes too.
>>
I need to properly fix the greentext and newline in posts... that's what I will be working on next
>>
File: auch du.jpg (32 KB, 366x373)
32 KB JPG
(YOU)
KEEP THE THREAD BUMPED SO SOME AMERICAN FRENS CAN SEE IT WHEN THEY WAKE UP
>>
This post will take up a few bytes in the archive
>>
File: 1785063856935928.png (926 KB, 1540x1918)
926 KB PNG
>>546205728
>There is a real possibility that the internet could go down soon due to war or some AI fuckery... are you ready to browse the archives offline?
lol way to expose yourself as a glownigger 2 lines into your post
>>
>>546209691
I HEREBY DECLARE

TOTAL GLOWNIGGER DEATH

TOTAL GLOWNIGGER DEATH

TOTAL GLOWNIGGER DEATH
>>
File: 1770370235886380.png (382 KB, 718x832)
382 KB PNG
>>546205769
>>546205830
>>546205893
>>546205919
>>546206046
i ll keep this hilariosly obvious glownigger spybot thread alive
>>
File: 1764567993412759.png (326 KB, 773x721)
326 KB PNG
>>546209723
yes we know you're going to 'kill yourself' soon
>>
>>546209755
>>546209798
thanks
good.
>>
Also, since we're discussing glowies:
>>
>>546210160
Have a bump, neutral fren
>>
Some counter-psyop suggestions:



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.