Skip to content

Commit

Permalink
moved to bun, design cleanup and tweaks, and new post!
Browse files Browse the repository at this point in the history
  • Loading branch information
ReduxFlakes committed Jun 14, 2024
1 parent 18533b2 commit fedb23d
Show file tree
Hide file tree
Showing 18 changed files with 145 additions and 2,388 deletions.
Binary file added bun.lockb
Binary file not shown.
2,247 changes: 0 additions & 2,247 deletions package-lock.json

This file was deleted.

18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
"name": "reduxflakes.neocities.org",
"main": "index.js",
"scripts": {
"start": "npx eleventy --serve",
"build": "npx eleventy"
"start": "bunx eleventy --serve",
"build": "bunx eleventy"
},
"keywords": [],
"author": "ReduxFlakes",
"license": "GPL-2.0-only",
"devDependencies": {
"@11ty/eleventy": "^2.0.1",
"@11ty/eleventy-plugin-rss": "^1.2.0",
"luxon": "^3.4.3",
"markdown-it": "^13.0.2",
"markdown-it-anchor": "^8.6.7",
"markdown-it-attrs": "^4.1.6",
"nunjucks-markdown": "^2.0.1"
"@11ty/eleventy": "2.0.1",
"@11ty/eleventy-plugin-rss": "2.0.0",
"luxon": "3.4.3",
"markdown-it": "14.1.0",
"markdown-it-anchor": "9.0.1",
"markdown-it-attrs": "4.1.6",
"nunjucks-markdown": "2.0.1"
}
}
21 changes: 8 additions & 13 deletions src/_data/nav.json
Original file line number Diff line number Diff line change
@@ -1,47 +1,42 @@
{
"navbar": [
{
"title": "Blog",
"title": "📝 Blog",
"url": "/blog",
"icon": "book"
},
{
"title": "Opinions",
"title": "🎙️ Opinions",
"url": "/opinions",
"icon": "mic"
},
{
"title": "Design",
"title": "🎨 Design",
"url": "/design",
"icon": "brush"
},
{
"title": "Projects",
"title": "💾 Projects",
"url": "/projects",
"icon": "hammer"
},
{
"title": "Resources",
"url": "/res",
"icon": "globe"
},
{
"title": "Music",
"title": "🎵 Music",
"url": "/music",
"icon": "musical-notes"
},
{
"title": "Gear",
"title": "⚙️ Gear",
"url": "/gear",
"icon": "laptop"
},
{
"title": "The Archives",
"title": "📀 The Archives",
"url": "/arc",
"icon": "file-tray-full"
},
{
"title": "About",
"title": "🤗 About",
"url": "/about",
"icon": "information"
}
Expand Down
7 changes: 0 additions & 7 deletions src/_data/socials.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,30 @@
"social": [
{
"name": "Mastodon",
"icon": "logo-mastodon",
"link": "https://fosstodon.org/@redux"
},
{
"name": "GtiHub",
"icon": "logo-github",
"link": "https://github.com/ReduxFlakes"
},
{
"name": "YouTube",
"icon": "logo-youtube",
"link": "https://www.youtube.com/@reduxflakes"
},
{
"name": "Last.fm",
"icon": "radio",
"link": "https://www.last.fm/user/ReduxFlakes"
},
{
"name": "Monkeytype",
"icon": "keypad",
"link": "https://monkeytype.com/profile/ReduxFlakes"
},
{
"name": "Dribbble",
"icon": "logo-dribbble",
"link": "https://dribbble.com/reduxflakes"
},
{
"name": "Feed",
"icon": "logo-rss",
"link": "feed.xml"
}
]
Expand Down
2 changes: 1 addition & 1 deletion src/_includes/footer.njk
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<p style=display:flex;gap:0.25em;">
{% for social in socials.social %}
<a class="social--link" href="{{social.link}}" title="{{social.name}}">
<ion-icon class="social--link__icon" name="{{social.icon}}"></ion-icon>
{{social.name}}
</a>
{% endfor %}
</p>
Expand Down
30 changes: 28 additions & 2 deletions src/_includes/head.njk
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,31 @@
<link rel="shortcut icon" href="/static/favicon.svg" type="image/x-icon">
<meta name="generator" content="{{ eleventy.generator }}"/>
<link rel="stylesheet" href="/css/style.css">

</head>
<style>
.site-footer-webrings {
display: flex;
gap: 0.5em;
justify-content: center;
flex-wrap: wrap;
}
.social--link {
padding: 0.5em;
}
.social--link:hover {
color: var(--onBackground);
}
.social--link:hover .social--link__icon {
transform: rotate(360deg);
}
.social--link__icon {
font-size: 1.5em;
transition: all 300ms ease-out;
}
</style>
{% if style_slot %}
{% renderTemplate 'njk,md',
slots %}
{{style_slot | safe}}
{% endrenderTemplate %}
{% endif %}
</head>
3 changes: 1 addition & 2 deletions src/_includes/header.njk
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
</a>
<nav class="site-navbar">
{% for link in nav.navbar %}
<a class="site-navbar-link" href="{{ link.url }}" style="color:{{link.color}}">
<ion-icon class="site-navbar-link__icon" name="{{link.icon}}"></ion-icon>{{ link.title }}</a>
<a class="site-navbar-link" href="{{ link.url }}">{{ link.title }}</a>
{% endfor %}
</nav>
</header>
35 changes: 0 additions & 35 deletions src/_layouts/base.njk
Original file line number Diff line number Diff line change
Expand Up @@ -8,46 +8,11 @@
{{ content | safe }}
{% endblock %}
</main>
<script
type="module"
src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.esm.js"
></script>
<script
nomodule
src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.js"
></script>
{% include "footer.njk" %}
<script
data-goatcounter="https://reduxflakes.goatcounter.com/count"
async
src="//gc.zgo.at/count.js"
></script>
</body>
<style>
.site-footer-webrings {
display: flex;
gap: 0.5em;
justify-content: center;
flex-wrap: wrap;
}
.social--link {
padding: 0.5em;
}
.social--link:hover {
color: var(--onBackground);
}
.social--link:hover .social--link__icon {
transform: rotate(360deg);
}
.social--link__icon {
font-size: 1.5em;
transition: all 300ms ease-out;
}
</style>
{% if style_slot %}
{% renderTemplate 'njk,md',
slots %}
{{style_slot | safe}}
{% endrenderTemplate %}
{% endif %}
</html>
5 changes: 2 additions & 3 deletions src/about.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
title: About
layout: page.njk
update: 2024-04-18T22:04:00
description: About the webmaster.
description: About the webmaster (me :3)
---

To be written...
Coming Soon
5 changes: 3 additions & 2 deletions src/arc/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
title: The Archives
description: Library of old, abandoned, and lost projects.
banner: thearc
---

> "This place looks like it has been lost to time don't you think?"
Expand All @@ -10,7 +9,9 @@ banner: thearc
## Welcome to The Archives!

You can think of this as a junkyard of old, abandoned, or even lost projects of mine. Anyone can explore and download the contents.
You can think of this as a junkyard of old, abandoned, and even lost projects of mine. Feel free to explore! (but be careful)

> This page is not complete!
<ul class="cat-list">
<li class="cat-list-item">
Expand Down
34 changes: 34 additions & 0 deletions src/blog/posts/2024/going-back-to-lineageos.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
title: Going back to Lineage OS
date: 2024-06-06T19:10:48.000Z
description: Degoogling my phone and going back to Lineage OS.
---

Since I moved to Pixel OS last month I've been quite happy with my phone. I was on HyperOS before and even though the experience was _miles_ better than MIUI, I always had privacy and security concerns with the amount of questionable services and applications HyperOS has pre-installed (this also applies to any ROM with GApps).
The reason why I went to Pixel OS, was really because of the consistency, minimalism, and the Android stock experience It offers. However not everything is perfect. Pixel OS (at least on my phone, [Lisa](https://www.gsmarena.com/xiaomi_11_lite_5g_ne-11101.php)) is known to be perfect but always has a weird bug every major release, from audio not working, battery level not showing, the phone getting to hot, etc.

When I flashed Pixel OS (Android 14) everything seemed working, the phone was cold, battery drain was a lot more tolerable than on any HyperOS/MIUI release (excluding EEA region, which is the only official region that does maintain a quite stable battery), until I plugged my earphones trough USB-C and I got no sound.
Fortunately the solution was just to update the firmware to a specific version, which I did, and since then I had no issues with audio, heck, I even have Viper4Android working (sometimes with legacy mode off most of the time :D). There is a caveat though, the firmware update in question fixed audio but also broke VoWIFI which lucky me, I don't care/use at all.

After a month of usage, I'm still pretty happy with it, I still have some UX issues but that concerns Android in general (like gesture navigation glitchy in landscape for example).

## Main Reasons for the move

Some people might know that I'm more of a vanilla custom rom type of guy than the next guy that likes all the Google Goodies pre-installed, especially with the release of Android 14, which now comes with a _huge_ amount of AI services pre-installed which I'm not a fan of.

Everyone is also aware of the big privacy concerns Google has in it's name. From [tracking every move you make online](https://www.wired.com/story/google-tracks-you-privacy/), to [cancelling your entire Google account just because you sent a photo of your son naked to a doctor and their "smart AI" systems thought it was CP](https://www.nytimes.com/2022/08/21/technology/google-surveillance-toddler-photo.html).

## My LineageOS Setup

Now you might be asking how do I configure my LineageOS, so here it is a rundown of the things I install, do, and what not.

Firstly I go trough the setup wizard and I disable save location, enable download GPS data from network and also LineageOS telemetry since I really like the project and that's a simple way to support them.

The first thing I install is microG. Now, there's many ways to install microG, from installing the APKs one by one as user apps and allowing the permission, to flashing a Magisk module or a package trough the recovery. However, just recently, LineageOS finally added support to spoof microG packages, so if you want, you don't need root to fully install and setup microG on vanilla Lineage anymore! (you still have [LineageOS for microG](https://lineage.microg.org/) which I also adore and used for quite a awhile).

The next step is to install an F-Droid client to be able to install most of my apps. My clients of choice are [Droid-ify](https://f-droid.org/packages/com.looker.droidify/) which is minimal, beautiful, and works nicely (even on HyperOS/MIUI) and the other one which is now my default, [Neo Store](https://f-droid.org/packages/com.machiav3lli.fdroid/).

I also set a custom NextDNS profile to block trackers system-wide. I also install Mulch System Web View for a more hardened and more up to date web view (the pre-installed one is good enough and receives updates frequently as well).
I also have other apps that I install which you can find on my /gear page!

That's all, I hope you liked my way of setting up LineageOS. If would like to see how I setup NextDNS or what is my full mobile workflow, send me an email and I'll write a post about it, have a nice day!
Loading

0 comments on commit fedb23d

Please sign in to comment.