Repository navigation
How can i increase resolution #557
|
The images on the pages are kinda not clear enough. The text looks great but on mobile the page viewport is also too big and requires zooming in. #!/bin/bash
curl -L https://loca.lt/mytunnelpassword -o auth.txt
npm install -g localtunnel
lt --port 4333 > tunnel.log 2>&1 &
sleep 5 # Give it time to start and print the URL
url=$(grep -oE 'https?://[^ ]+' tunnel.log | head -n 1)
echo "$url" >> auth.txt
python scripts/pyScripts/upload_private_data.py auth.txt
wget https://github.com/browsh-org/browsh/releases/download/v1.8.0/browsh_1.8.0_linux_amd64.deb
sudo apt install ./browsh_1.8.0_linux_amd64.deb
rm ./browsh_1.8.0_linux_amd64.deb
browsh --http-server-modeMy chrome browser i outdated and the device nolonger recieves updates due to it's version being old. So browsh is really useful By the way the above script is also being run using github action so all my device does is rendering. When searching i use my browser , if my browser can't display the contents thats when i spawn up browsh and append the "URL address" that failed to load in my old browser to the localtunnel "URL" forexample One issue with this method though is that videos are not playing as the README shows and since github actions have no TTY, this is the only way that works. |
Replies: 2 comments 10 replies
|
I want to be able to atleast display the text on a manga page |
|
Woah! What a great idea. Could you give me a screenshot? |







I'm asking how do other webpages (like Wikipedia, Github, etc) change when you increase the rows/columns?
Remember that Browsh is a text based browser. Terminals (which are text-based) cannot display images. So Browsh "renders" images using UTF8 half block text: ▀ and ▄. Those half blocks are then converted into JPEGs when running
browsh --http-server. That conversion process uses ajpeg_compressionvalue. So it doesn't do anything to the underlying process of creating images from ▀ and ▄. Browsh will never be able to display true images. You can only increase the size of the underlying terminal, which in turn increases…