[Tutorial] Adding Lets Encrypt to Gitea

In the last post I showed you how to set up Gitea with Nginx on an Ubuntu box. Now we’ll set up a Lets Encrypt certificate on that install. For this part we need to download some extra software from Lets Encrypt. It is very easy an takes just a couple of minutes to Finnish the whole process. Run the following commands. sudo apt-get update sudo apt-get install software-properties-common sudo add-apt-repository ppa:certbot/certbot sudo apt-get update sudo apt-get install python-certbot-nginx Now we have installed the software we need.…

Keep reading

[Tutorial] Set up Gitea with Nginx.

In this tutorial I’ll go through the steps to set up your own Gitea instance with Nginx. There are probably several different methods to achieve the same goal, this is how I recommend it. Prerequisites A server/vps with Ubuntu 16.04 LTS and Nginx already installed. The server should also be set up with a FQDN and be available live. In this tutorial I’ll be using example.com as the FQDN. You also need an user that is in the sudo group and with the possibility to…

Keep reading

Moving from Gogs to Gitea

After having some small hiccups with my Gogs installation – not just because of problems with Gogs it self, it was more user problems. So after rolling back a backup, I decided to give Gitea a try.If you’ve installed or managed  Gogs (or any webbased service) before, the installation of Gitea was quite straightforward. So setting Gitea up, tweaking the settings and changing some small feature for my own pleasure took about 45 minutes. Figuring out why my SSH keys didn’t work and why it (sometimes) is good…

Keep reading

Updated dyndns app

Just updated the dyndns app for Digital Ocean. No longer needs to be re installed after changing config. It now relies on an external config file.…

Keep reading

Coding a Twitter bot

I’ve been playing around with the Twitter API this weekend, and put together a small Twitter bot. This is my first attempt at something like this, so there will be errors. It is a bot that reacts to content, and tweets @ replies to those tweeting the correct “triggers”. As of now it reacts to the following commands; #testbot #jokebot #silencerunebot #testbot simply replies with the fact that your account works, and that you are not on its blocklist. #jokebot replies with a one-liner joke. #silencerunebot places your twitter handle…

Keep reading