chore: Small stuff
This commit is contained in:
parent
862e102852
commit
cfd506a4dd
3
index.md
3
index.md
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
layout: default
|
layout: default
|
||||||
---
|
---
|
||||||
|
|
||||||
<!-- ![Pixels](assets/splash.png){:.full.pixels} -->
|
<!-- ![Pixels](assets/splash.png){:.full.pixels} -->
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -26,4 +27,4 @@ Hi there! this is my little snug nook, take your cup of coffee and let's dive in
|
||||||
|
|
||||||
[Gemini: Exploring the Cozy World of Capsules and Space](posts/Gemini: Exploring the Cozy World of Capsules and Space.md){: .page-link}
|
[Gemini: Exploring the Cozy World of Capsules and Space](posts/Gemini: Exploring the Cozy World of Capsules and Space.md){: .page-link}
|
||||||
|
|
||||||
[Migration from GitHub to Codeberg](posts/Migration from GitHub to Codeberg.md){: .page-link}
|
[Migration from GitHub to Codeberg](posts/Migration from GitHub to Codeberg.md){: .page-link}
|
||||||
|
|
|
@ -26,11 +26,11 @@ Take a look at [awesome-gemini](https://github.com/kr1sp1n/awesome-gemini) for l
|
||||||
|
|
||||||
Gemini is a protocol that are not supported by regular web browsers, so you will need a separate browser for it. As Gemini protocol are much easier than web, there are a lot of browsers for it, some good ones are:
|
Gemini is a protocol that are not supported by regular web browsers, so you will need a separate browser for it. As Gemini protocol are much easier than web, there are a lot of browsers for it, some good ones are:
|
||||||
|
|
||||||
* [Lagrange](https://github.com/skyjake/lagrange) (Cross-platform) - Beautiful, fast and customizable Gemini browser
|
- [Lagrange](https://github.com/skyjake/lagrange) (Cross-platform) - Beautiful, fast and customizable Gemini browser
|
||||||
* [Geopard](https://github.com/ranfdev/Geopard) (Linux) - Colorful and adaptive Libadwaita Gemini browser written in Rust
|
- [Geopard](https://github.com/ranfdev/Geopard) (Linux) - Colorful and adaptive Libadwaita Gemini browser written in Rust
|
||||||
* [Buran](https://github.com/Corewala/Buran) (Android) - Simple Gemini browser for Android
|
- [Buran](https://github.com/Corewala/Buran) (Android) - Simple Gemini browser for Android
|
||||||
* [Elaho](https://github.com/pitr/gemini-ios) (iOS) - Simple Gemini browser for iOS
|
- [Elaho](https://github.com/pitr/gemini-ios) (iOS) - Simple Gemini browser for iOS
|
||||||
* [Amfora](https://github.com/makew0rld/amfora) (Terminal) - Fancy Gemini browser for terminal
|
- [Amfora](https://github.com/makew0rld/amfora) (Terminal) - Fancy Gemini browser for terminal
|
||||||
|
|
||||||
Or, if you don't want to install a separate browser for Gemini or just want to quickly look over some capsule, you can use Gemini to web proxy, such as [portal.mozz.us](https://portal.mozz.us)
|
Or, if you don't want to install a separate browser for Gemini or just want to quickly look over some capsule, you can use Gemini to web proxy, such as [portal.mozz.us](https://portal.mozz.us)
|
||||||
|
|
||||||
|
@ -38,19 +38,19 @@ Or, if you don't want to install a separate browser for Gemini or just want to q
|
||||||
|
|
||||||
You can start browsing Geminispace by looking over some capsules at various aggregators:
|
You can start browsing Geminispace by looking over some capsules at various aggregators:
|
||||||
|
|
||||||
* [gemini.circumlunar.space/capcom](gemini://gemini.circumlunar.space/capcom)
|
- [gemini.circumlunar.space/capcom](gemini://gemini.circumlunar.space/capcom)
|
||||||
* [rawtext.club:1965/~sloum/spacewalk.gmi](gemini://rawtext.club:1965/~sloum/spacewalk.gmi)
|
- [rawtext.club:1965/~sloum/spacewalk.gmi](gemini://rawtext.club:1965/~sloum/spacewalk.gmi)
|
||||||
* [calcuode.com/gmisub-aggregate.gmi](gemini://calcuode.com/gmisub-aggregate.gmi)
|
- [calcuode.com/gmisub-aggregate.gmi](gemini://calcuode.com/gmisub-aggregate.gmi)
|
||||||
|
|
||||||
Gemini also has its own search - [geminispace.info](gemini://geminispace.info)
|
Gemini also has its own search - [geminispace.info](gemini://geminispace.info)
|
||||||
|
|
||||||
I have found some interesting capsules you might like to look at:
|
I have found some interesting capsules you might like to look at:
|
||||||
|
|
||||||
* [chat.mozz.us](gemini://chat.mozz.us chat.mozz.us) - Unmoderated chat for everyone
|
- [chat.mozz.us](gemini://chat.mozz.us chat.mozz.us) - Unmoderated chat for everyone
|
||||||
* [station.martinrue.com](gemini://station.martinrue.com station.martinrue.com) - Gemini social media
|
- [station.martinrue.com](gemini://station.martinrue.com station.martinrue.com) - Gemini social media
|
||||||
* [cosmic.voyage](gemini://cosmic.voyage cosmic.voyage) - Tilde community based around a collaborative science-fiction universe
|
- [cosmic.voyage](gemini://cosmic.voyage cosmic.voyage) - Tilde community based around a collaborative science-fiction universe
|
||||||
* [skyjake.fi](gemini://skyjake.fi skyjake.fi) - Lagrange developers capsule
|
- [skyjake.fi](gemini://skyjake.fi skyjake.fi) - Lagrange developers capsule
|
||||||
* And more to be found ;)
|
- And more to be found ;)
|
||||||
|
|
||||||
## Creating Own Capsule
|
## Creating Own Capsule
|
||||||
|
|
||||||
|
@ -60,9 +60,9 @@ Flounder gives you own Capsule, where you can put files, posts, and it also prov
|
||||||
|
|
||||||
There are, however, some limits:
|
There are, however, some limits:
|
||||||
|
|
||||||
* Max file size: 1MB
|
- Max file size: 1MB
|
||||||
* Max user space: 10MB
|
- Max user space: 10MB
|
||||||
* Max file count: 1024
|
- Max file count: 1024
|
||||||
|
|
||||||
The may seem strict at first, but they are more than enough for Gemini text
|
The may seem strict at first, but they are more than enough for Gemini text
|
||||||
|
|
||||||
|
@ -76,16 +76,16 @@ And you are ready to start writing!
|
||||||
|
|
||||||
Gemtext is a markup language a bit similar to Markdown, it has only most needed formatting
|
Gemtext is a markup language a bit similar to Markdown, it has only most needed formatting
|
||||||
|
|
||||||
* Headers
|
- Headers
|
||||||
* Hyperlinks
|
- Hyperlinks
|
||||||
* Lists (such as this one)
|
- Lists (such as this one)
|
||||||
* Quotes
|
- Quotes
|
||||||
* Raw unformatted text
|
- Raw unformatted text
|
||||||
|
|
||||||
You can learn Gemtext in 5 minutes, for start, take a look at:
|
You can learn Gemtext in 5 minutes, for start, take a look at:
|
||||||
|
|
||||||
* [Gemtext quick introduction](https://gemini.circumlunar.space/docs/gemtext.gmi)
|
- [Gemtext quick introduction](https://gemini.circumlunar.space/docs/gemtext.gmi)
|
||||||
* [Gemtext cheatsheet](https://gemini.circumlunar.space/docs/cheatsheet.gmi)
|
- [Gemtext cheatsheet](https://gemini.circumlunar.space/docs/cheatsheet.gmi)
|
||||||
|
|
||||||
Gemini also supports Unicode, so you can do 🤣️, 🖂, 🗺 and etc.
|
Gemini also supports Unicode, so you can do 🤣️, 🖂, 🗺 and etc.
|
||||||
|
|
||||||
|
@ -103,9 +103,9 @@ Dither is an intentionally applied form of noise used to randomize quantization
|
||||||
|
|
||||||
For this you can use Halftone - A simple Linux app that allows you to dither your image in seconds, or you can use Terminal tools such as Pixfect (by me :P), ImageMagick and others. You can also use amazing website for image dithering with some really interesting options - Dither Me This
|
For this you can use Halftone - A simple Linux app that allows you to dither your image in seconds, or you can use Terminal tools such as Pixfect (by me :P), ImageMagick and others. You can also use amazing website for image dithering with some really interesting options - Dither Me This
|
||||||
|
|
||||||
* [Halftone](https://github.com/tfuxu/Halftone)
|
- [Halftone](https://github.com/tfuxu/Halftone)
|
||||||
* [Pixfect](https://github.com/daudix-UFO/Pixfect)
|
- [Pixfect](https://github.com/daudix-UFO/Pixfect)
|
||||||
* [Dither Me This](https://doodad.dev/dither-me-this)
|
- [Dither Me This](https://doodad.dev/dither-me-this)
|
||||||
|
|
||||||
Example of simple ordered image dithering with 2 colors using ImageMagick
|
Example of simple ordered image dithering with 2 colors using ImageMagick
|
||||||
|
|
||||||
|
@ -113,20 +113,20 @@ $ convert image.jpg -resize 840x840 -strip -colors 4 -ordered-dither o8x8 image-
|
||||||
|
|
||||||
I will use Halftone in this example
|
I will use Halftone in this example
|
||||||
|
|
||||||
* Open Halftone and open image
|
- Open Halftone and open image
|
||||||
* Tweak settings at your liking, I will go with default, except I will change width to 512
|
- Tweak settings at your liking, I will go with default, except I will change width to 512
|
||||||
* Press "Dither It!"
|
- Press "Dither It!"
|
||||||
|
|
||||||
This is what we get in the end
|
This is what we get in the end
|
||||||
|
|
||||||
![](../assets/blog/2023-06-12/bay-bridge-floyd.png)
|
![](../assets/blog/2023-06-12/bay-bridge-floyd.png){:.full.pixels}
|
||||||
|
|
||||||
[Image on Unsplash](https://unsplash.com/photos/raNGlrn5JRI)
|
[Image on Unsplash](https://unsplash.com/photos/raNGlrn5JRI)
|
||||||
|
|
||||||
Not bad, right? and what's with the file size? let's see!
|
Not bad, right? and what's with the file size? let's see!
|
||||||
|
|
||||||
>bay-bridge.jpg > 521,9 KB
|
> bay-bridge.jpg > 521,9 KB
|
||||||
>halftone-bay-bridge.png > 26,2 KB
|
> halftone-bay-bridge.png > 26,2 KB
|
||||||
|
|
||||||
The decrease is 94.9799%, quite a lot considering limited storage
|
The decrease is 94.9799%, quite a lot considering limited storage
|
||||||
|
|
||||||
|
@ -134,14 +134,14 @@ Now you can fit 357 photos, while without compression you could only fit 19
|
||||||
|
|
||||||
But, we can go even further, by using less colors and different dithering algorithm
|
But, we can go even further, by using less colors and different dithering algorithm
|
||||||
|
|
||||||
With ordered dithering (Bayer) and 2 colors we get the following result
|
With ordered dithering (Bayer) and 2 colors we get the following result
|
||||||
|
|
||||||
![](../assets/blog/2023-06-12/bay-bridge-bayer.png)
|
![](../assets/blog/2023-06-12/bay-bridge-bayer.png){:.full.pixels}
|
||||||
|
|
||||||
[Image on Unsplash](https://unsplash.com/photos/raNGlrn5JRI)
|
[Image on Unsplash](https://unsplash.com/photos/raNGlrn5JRI)
|
||||||
|
|
||||||
>bay-bridge.jpg > 521,9 KB
|
> bay-bridge.jpg > 521,9 KB
|
||||||
>halftone-bay-bridge-2.png > 4,9 KB
|
> halftone-bay-bridge-2.png > 4,9 KB
|
||||||
|
|
||||||
99.0611% decrease
|
99.0611% decrease
|
||||||
|
|
||||||
|
@ -161,9 +161,9 @@ Image to ASCII is very common, and you can easily make one yourself!
|
||||||
|
|
||||||
Good tools for image to ASCII are:
|
Good tools for image to ASCII are:
|
||||||
|
|
||||||
* [ascii-image-converter](https://github.com/TheZoraiz/ascii-image-converter) - Modern, fast, has some useful options to fine-tune the image
|
- [ascii-image-converter](https://github.com/TheZoraiz/ascii-image-converter) - Modern, fast, has some useful options to fine-tune the image
|
||||||
* [jp2a](https://github.com/Talinx/jp2a) - Good, time-tested tool
|
- [jp2a](https://github.com/Talinx/jp2a) - Good, time-tested tool
|
||||||
* [Letterpress](https://gitlab.com/gregorni/Letterpress) - Based on the jp2a, has good UI made with Libadwaita
|
- [Letterpress](https://gitlab.com/gregorni/Letterpress) - Based on the jp2a, has good UI made with Libadwaita
|
||||||
|
|
||||||
ascii-image-converter in my experience, works the best
|
ascii-image-converter in my experience, works the best
|
||||||
|
|
||||||
|
@ -243,7 +243,7 @@ Here are simple example of ASCII and Braille images made with ascii-image-conver
|
||||||
|
|
||||||
But, do you think it has quality of this image?
|
But, do you think it has quality of this image?
|
||||||
|
|
||||||
![](../assets/blog/2023-06-12/grayscale-plane.png)
|
![](../assets/blog/2023-06-12/grayscale-plane.png){:.full.pixels}
|
||||||
|
|
||||||
[Image on Unsplash](https://unsplash.com/photos/cs4uFYrNZfc)
|
[Image on Unsplash](https://unsplash.com/photos/cs4uFYrNZfc)
|
||||||
|
|
||||||
|
@ -299,9 +299,9 @@ Or this fancy banner!
|
||||||
|
|
||||||
The ASCII art can be found online in huge amounts, I will give you some good websites for start
|
The ASCII art can be found online in huge amounts, I will give you some good websites for start
|
||||||
|
|
||||||
* [www.asciiart.eu](https://www.asciiart.eu) - ASCII art archive
|
- [www.asciiart.eu](https://www.asciiart.eu) - ASCII art archive
|
||||||
* [ascii.co.uk/art](https://ascii.co.uk/art) - A LOT of various ASCII art
|
- [ascii.co.uk/art](https://ascii.co.uk/art) - A LOT of various ASCII art
|
||||||
* [asciiart.website](https://asciiart.website) - Christopher Johnson's ASCII art collection
|
- [asciiart.website](https://asciiart.website) - Christopher Johnson's ASCII art collection
|
||||||
|
|
||||||
As for banners, they can be easily created with figlet or toilet, you can easily find installation instructions online, I also recommend to install additional beautiful and sometimes funny fonts from [figlet-fonts](https://github.com/xero/figlet-fonts), which basically consists of few commands
|
As for banners, they can be easily created with figlet or toilet, you can easily find installation instructions online, I also recommend to install additional beautiful and sometimes funny fonts from [figlet-fonts](https://github.com/xero/figlet-fonts), which basically consists of few commands
|
||||||
|
|
||||||
|
@ -333,7 +333,7 @@ There are more things I want to tell you about, I want to write more in-depth po
|
||||||
|
|
||||||
## Extra
|
## Extra
|
||||||
|
|
||||||
* [andregarzia.com/2022/01/gemini-is-a-little-gem.html](https://andregarzia.com/2022/01/gemini-is-a-little-gem.html)
|
- [andregarzia.com/2022/01/gemini-is-a-little-gem.html](https://andregarzia.com/2022/01/gemini-is-a-little-gem.html)
|
||||||
* [voidspace.blog/ramble/capsule-importance.gmi](gemini://voidspace.blog/ramble/capsule-importance.gmi)
|
- [voidspace.blog/ramble/capsule-importance.gmi](gemini://voidspace.blog/ramble/capsule-importance.gmi)
|
||||||
|
|
||||||
[Go Back](<javascript:window.history.go(-1);>){: .inline-button}
|
[Go Back](<javascript:window.history.go(-1);>){: .inline-button}
|
||||||
|
|
|
@ -37,8 +37,8 @@ To make the migration as smooth as possible for everyone, I have [added redirect
|
||||||
To do so, add this line to `<head>` of HTML
|
To do so, add this line to `<head>` of HTML
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<meta http-equiv="refresh" content="0; URL=https://daudix-ufo.codeberg.page">
|
<meta http-equiv="refresh" content="0; URL=https://daudix-ufo.codeberg.page" />
|
||||||
<link rel="canonical" href="https://daudix-ufo.codeberg.page">
|
<link rel="canonical" href="https://daudix-ufo.codeberg.page" />
|
||||||
```
|
```
|
||||||
|
|
||||||
_Of course with your URLs in place of mine_
|
_Of course with your URLs in place of mine_
|
||||||
|
@ -83,7 +83,7 @@ steps:
|
||||||
build:
|
build:
|
||||||
# Use the official jekyll build container
|
# Use the official jekyll build container
|
||||||
image: jekyll/jekyll
|
image: jekyll/jekyll
|
||||||
secrets: [ cbtoken, cbmail ]
|
secrets: [cbtoken, cbmail]
|
||||||
commands:
|
commands:
|
||||||
# Avoid permission denied errors
|
# Avoid permission denied errors
|
||||||
- chmod -R a+w .
|
- chmod -R a+w .
|
||||||
|
@ -162,4 +162,4 @@ Guys over Codeberg seem to be very nice so if you value your code then you may w
|
||||||
|
|
||||||
This is all for now, take ~~cake~~ care!
|
This is all for now, take ~~cake~~ care!
|
||||||
|
|
||||||
[Go Back](<javascript:window.history.go(-1);>){: .inline-button}
|
[Go Back](<javascript:window.history.go(-1);>){: .inline-button}
|
||||||
|
|
Loading…
Reference in a new issue