Go back

remove metadata and save space


Image files can hold extra information that is useless for the image itself. This data can be be info about the camera (flash, focal lenght, etc), your geographic location, etc.

The thing is, you probably won't use this data, so your images are storing useless stuff. You'll won't free a lot of space by removing Exif data, but there's no reason to store text you'll never use

There are a lot of Exif editors. I'm going to teach you how to remove metadata from images using exiftool and imagemagick.

In both tools you need to open a terminal.

In exiftool, you can edit the metadata with the command exiftool -tag=info file. You can use the all tag to refer to all exif tags and you can also don't put anything after the "=". So to remove all metadata you run exiftool -all= file.

In Imagemagick you can use the -strip argument to remove all metadata. So run the convert file -strip output.

Have a beautiful day :D

ter, 07 jul 2020 20:06:27 -0300

Site Update - New wallpaper


another wallpaper have been added to the wallpapers page. This time it's actually good.

It's a picture of a tree in my backyard. Took the picture myself

That's it. Have a beautiful day :D

seg, 29 jun 2020 21:35:22 -0300

Not much to say. I've changed the logo from matheus's cool website to theomus's webstation. So my new internet name is now officially theomus.

I've also changed the colorscheme of the website. I think this looks cooler (oh, and you should clear your cache if the colors looks the same as before).

Have a great day :D

qui, 25 jun 2020 23:29:47 -0300

want to host a imageboard?


In the beggining of this year(2020) i've made an imageboard.

If you have a server, you can host it, and i'm going to teach you how to install it

what you need
+ knowledge of html and css
+ an internet connection
+ i'm assuming you have a server with either arch linux or debian installed(but it can run with any OS as long as it have all the dependencies) and nginx will be used

installing dependencies

for debian
# apt install nginx python3 python3-venv python3-pip sqlite3

for arch
# pacman -S nginx python python-pip sqlite3

needed configuration

enable and start nginx
# systemctl enable --now nginx.service


now go to the folder you want to place the website
$ cd /path/you/want

now clone the repository and cd to it
$ git clone https://gitlab.com/theomus_o_divino/etechan.git $ cd etechan

create the database the website will use

$ cat db.sql | sqlite3 chan.db

you need to have a least one board, so let's create a random board.
if you want to create other boards just edit the command bellow
$ sqlite3 chan.db
sqlite> insert into boards (board, full_name, description) values ("b", "random", "random stuff");

now you need google recaptcha. go here and register your site's domain. After that, copy the private and public keys and open server.py with a text editor. put your public key inside app.config['RECAPTCHA_PUBLIC_KEY'] (where it's written wehavenothingtolosebutourchains) and your private key in app.config['RECAPTCHA_PRIVATE_KEY'] (where it's written siegheil) and put some random text in app.config['SECRET_KEY'] (where it's written no u)

now let's create and enter a python virtual environment
$ python -m venv etechan-ve
$ . ./etechan-ve/bin/activate

now install the dependencies
(etechan-ve) $ pip install flask flask-wtf gunicorn

if you want you can test to see if it works. run the command bellow and try to connect to localhost:8000
(etechan-ve) $ gunicorn -w 4 server:app

with that done you can leave the python venv
(etechan-ve) $ deactivate

enabling etechan on boot

create a file in /etc/systemd/system/yoursite.service and put this. text in italic means you should change


	User=a user with permission to read and write the site's files
	Group=the user's group
	ExecStart=/your/site/directory/etechan/etechan-ve/bin/gunicorn -w 4 server:app


Now you can enable and start your site's service
# systemctl enable --now mysite.service

With all that done you can configure nginx

add this text inside the http { } block /etc/nginx/nginx.conf file

server {
        listen 80;
        server_name yourdomainhere;

        location / {
	proxy_set_header Host $host;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

now you can restart nginx

# systemctl restart nginx

now it is done. You now have an imageboard

qua, 24 jun 2020 21:27:32 -0300

Beggining of the blog


With this post the blog begins. So i'm going to say what changes i made to the site

I've added a new wallpaper made with some cloth and a background 100% made in GIMP

i've also changed the background of the website.

ter, 23 jun 2020 23:29:14 -0300