↑Top
Blog
Various
About me

Finally put together page_html

Note it uses a trick to avoid colliding the html-element-ids but 10/62 of the time it started with a number. Hence i didn’t notice, i have fixed this in 0.0.3

Finally put together page_html, so that linux/unix users don’t have to gather the whole bunch git repos of and configure lua to load it properly. I also fixed some annoyances.

It has userscripts talking to the server. One main one is commands.user.js, which is a commands panel that can be brought up with Control-“;”. The below also represents the features it brings:

Entries can be deleted/altered there aswel. No entering new ones there yet.

They've been tested with firefox on [Greasemonkey](http://greasespot.net/).

`wget --convert-links -P "%s" -e robots=off --user-agent=one_page_plz -p "%s"`

Not only more complete, but also not overwritten every time you go there.

It doubles as command to mirror images and pdfs. Saves having to organize those files when you download them. Viewing them with pdf.js, you can also bookmark them.

It has keyboard(arrow) navigation everywhere. Control-arrows moves around.

Some screenshots

Note that it shows SQL, it can also run it. (Note: that may be a security concern, defaultly turned it off in lua)

But you can just throw in search terms in the input above. Something like tags:something should also work.

Getting it

The file is at ojasper.nl/data/data/page_html_set.lua.0.0.3.tar.gz, contains instructions. Basically run one of the shellscripts from its own directory.

Windows isn’t particularly supported, suspect it is a matter of the correct lua-socket .DLL being loadable, and then running lua with packages available, but i am not sure.(careful with which .DLLs you trust)

for those with Arch Linux, there is an PKGBUILD. With that, running page_html.lua defaultly it runs on port 9090 that can be specified, but then you have to update the userscripts manually read the right port aswel.

Once running, http://localhost:9090/userscripts contains the userscripts, Greasemonkey can load them by just visiting the files. Haven’t tested other userscript implementations.

The PKGBUILD does not follow etiquette properly. It just writes down /usr/bin/page_html.lua with a package.path loading the lua from /usr/local/share/page_html.lua/ which just contains the same as the tar.gz. In the future PKGBUILDs should be done better. (afaics, its not particularly bothersome to anyone?)

Customizing

There is some room for it;

However, no way to readily add any to the command-interface yet (though you could modify)

Nice modifications can be sent as pull-requests.

Not quite there yet

There are many things that should be improved.. Like:

Those things probably most directly affect experience but then the below are important too.

Hardly exhaustive, of course!

Scratching the surface

Finally, there are more tools a browser can have, and these could clearly be far more customizable. It is a ghost of the functionality i want to have. I want the bookmarks to be sharable to different levels from between-friends to completely public. And preferably not with a single way of transferring the data.

I have been thinking about a overarching approach to fit that into. Applying it seemed like waiting too long to release it, but fixing the things ignores the new approach, so just got rid of annoyances and did the low-hanging fruits.

The new approach is an evolution of the idea in the previous post. I’ll post about it later, that’ll discuss from square one.

Blog Posts

2021-07-17 Type Stack Calculation project intro
2020-08-26 Camcorder planet viewing
2020-05-15 I Made a Sha256 based port knocking program
2017-12-26 Probably kindah like a Snowflake simulation
2017-10-29 More Pixel fun turtles
2016-09-22 Pixel fun - messing with turtles
2016-05-17 Finally put together page_html
2015-11-12 libre decentralized software
2015-02-03 Tinfoilchat inspired ideas
2015-01-07 Public goods and business models
2014-12-22 Captcha Quicky
2014-12-12 Assurance contract mention
2014-11-21 Publishing DAO, and its holy grail
2014-11-02 Grudge escrow contract
2014-09-11 The core Blockchain idea
2014-06-03 Hanging blocks
2014-05-29 Voting power needed for DAO/DO decisions
2014-05-17 What is Ethereum to people?
2014-05-08 Just show up anytime jobs
2014-05-08 Proof of Reserve and voting
2014-05-08 DHTs: more than just storage