d781f7138f
Make backend/frontend distinction clearer
...
Helps with eventually adding other pages
Also makes it clear it's the backend that decides what data to send to the frontend
2025-07-08 14:40:35 +02:00
5dcac93149
Streamline deploying with Bun, remove Vite
...
This removes:
- The process of building a new index.css
- The process of creating a dist directory
- The Vite dependency
This should allow banned IPs to get non-api stuff of the main page
This will also allow easier eventual handling of multiple pages
It comes at the cost of a light size increase
Comparative data like I did for 56eeefd7d4 :
Prev. commit: Transf. 2.53kB HTML + 269kB JS + 39.55kB CSS
This commit: Transf. 2.54kB HTML + 278.71kB JS + 35.93kB CSS
2025-07-07 13:02:03 +02:00
70fd6c9506
I forgot a line 👍 👍 🔥
...
(not like it matters immediately but still)
2025-06-25 13:46:02 +02:00
f5b6126a25
Create shield.ts and move some code
2025-06-24 23:06:01 +02:00
157a6cb10f
Store suspicious IPs in the database
2025-06-23 18:50:11 +02:00
ed169accdb
Hide the GitLab Info, organize database functions
...
(so the database's token functions now all lie in a `tokens` object)
2025-06-22 16:49:50 +02:00
a12b74d4e8
Add homegrown solution to ignore malicious actors
...
Specifically, this adds IPs that get 404s into a list
That list also keeps track of how many 404s per IP there has been
IPs that have too many 404s no longer gets access to the main code
Or in other words, they get hit by a shield made just for them
(instead of being able to access the usual parts of the website)
IPs on the list get their 404s amount virtually reduced occasionally
2025-06-12 15:01:15 +02:00
fe5242c679
Fix Info h2's height being inconsistent on Firefox
...
That fix really is a hack for an issue that only creeped up this month
Took me a while to find that solution
And yet I don't really get what it does or what exactly caused the issue
But oh well
2025-06-11 13:15:25 +02:00
b442e14710
Maintenance
2025-06-04 22:42:44 +02:00
d48db0e639
Log requests and responses
...
Keeping some logs could be a good idea
2025-05-21 19:38:23 +02:00
9f70bb2a5b
Show osu!mania again (Gaming Info)
2025-05-06 18:04:12 +02:00
9818adb12d
Use custom headers to possibly bypass Anubis & co
...
As recommended by the kind Kio!
(so now most requests use a custom user-agent)
2025-04-17 13:38:00 +02:00
f8987cdcdb
Create parseJson() to debug Infos more easily
2025-04-16 15:58:02 +02:00
98f4e9057d
Add itch.io to the GameDev Info
...
Surely something new will appear there soon
2025-04-14 17:37:27 +02:00
35274fbe80
Add the GameDev Info and Alakajam!
...
Felt hugely necessary, actually
2025-04-14 14:29:11 +02:00
7f6cb1ef3d
Update "Contact me" to address Discord & other accounts
2025-04-14 01:01:32 +02:00
a371857501
Remove unusued assets, update the "About me"
2025-04-13 21:30:17 +02:00
b8f8af8782
Unify the logic of Buttons and Windows in Main dir
...
I struggled to add the `Webrings` button earlier
So that warranted a much-needed revisit of the logic
2025-04-12 14:15:38 +02:00
b1f0300a11
Add Webring "bucket webring", clean some CSS
2025-04-11 16:55:30 +02:00
9b6c1649a7
Add favicon, misc code changes
2025-04-10 22:05:49 +02:00
89d7cab81f
Remove social buttons, add support for Webrings
...
Signed-off-by: Taevas <code@taevas.xyz>
2025-04-10 15:00:52 +02:00
f56690c8f1
Show the latest website change in the website Info
2025-04-08 18:02:52 +02:00
625124818f
Few adjustments, mainly to analytics ( #10 )
2025-04-03 15:55:34 +02:00
3728614109
Split the API logic
2025-04-03 15:16:59 +02:00
150b861bd3
Update packages
2025-03-30 16:22:08 +02:00
5e09b7ba77
Merge pull request #12 from TTTaevas/sql2
...
Use Bun's `SQL` over the `mongodb` package
2025-03-22 17:04:28 +01:00
7a1d1e3276
Add the URL_POSTGRESQL environment variable
...
Mainly for flexibility purposes
Additionally to not expose credentials so plainly
2025-03-22 13:50:49 +01:00
d76c9be59d
Split the logic between database and token stuff
2025-03-21 17:24:14 +01:00
717047cb96
Begin switching away from MongoDB
...
MongoDB cluster providers are AWS, Azure, and Google Cloud
All of them are American tech giants, and that's big yikes
2025-03-20 23:45:29 +01:00
172c575ab5
Font change, start redesigning some Infos
...
To think it all started from finding out how Chromium does faux bold
2025-03-19 14:25:16 +01:00
aee74ce9e8
Upgrade Tailwind CSS from v3 to v4
2025-03-12 14:42:11 +01:00
23e465e546
Patch "/" cannot be parsed as a URL, hide osu!
...
Probably an issue only for Chromium users??
I have hardly any idea what the root cause of this issue is
2025-03-12 01:07:16 +01:00
9b9f916597
Merge pull request #11 from TTTaevas/selfhost
...
Remove Netlify in favour of non-serverless
2025-03-11 14:41:16 +01:00
56eeefd7d4
Use Vite (again) to reduce website size
...
Here's some data:
Netlify: Transferred 78kB JS + 5.17kB CSS / Size 255kB JS + 26kB CSS
Prev. commit: Transf. 922kB JS + 122kB CSS / Size 922kB JS + 122kB CSS
This commit: Transf. 257kB JS + 26kB CSS / Size 257kB JS + 26kB CSS
I am pretty sure I could reduce Transf. through Accept-Encoding stuff
2025-03-11 14:01:04 +01:00
0c47ad9fcc
Allow running servers on multiple ports
...
(one server per port)
2025-03-10 17:11:09 +01:00
ca6d1785f5
Deal with ports/tls, don't commit index.css
2025-03-09 22:49:46 +01:00
cf51f82a0d
whoops (fix unintentional -js -> .tsx)
2025-03-09 14:46:35 +01:00
371171e61d
Various adjustments
2025-03-07 17:43:41 +01:00
ec6cb4b355
Remove Netlify, make an API server
2025-03-06 22:18:15 +01:00
0ea59d4bd0
Fix an oversight (update some DataHandlers)
2025-03-02 16:16:50 +01:00
00f4961316
Reorganize some Infos
2025-03-02 16:10:56 +01:00
b4e060c954
Get rid of shared/api in Netlify functions
2025-03-02 14:37:13 +01:00
aecb5051ae
Use DataHandlers for tokens too
2025-03-01 17:31:03 +01:00
2363d42c15
One Netlify function to handle individual tokens
2025-02-28 22:59:07 +01:00
f0742ee107
Emojis and newlines for KitsuClub
...
Quite couldn't make emojis remain on the same line but not a big deal
2025-02-28 15:42:20 +01:00
ea4755ae61
Change KitsuClub to have attached images and link
...
Because it used to be way too basic
2025-02-28 12:29:54 +01:00
a1827a31e9
(Infos) Add KitsuDev and change Speedrun.com
2025-02-26 23:58:49 +01:00
a4496117f8
Replace some ButtonLinks with Links in Infos
...
(Coding's GitHub & Anime's AniList)
2025-02-26 20:26:39 +01:00
5fff23156b
Use own instance of Umami (visitors.taevas.xyz) ( #10 )
...
Not quite self-hosted, it's on Vercel
...surely there are more positives than negatives as for doing that
(instead of using `cloud.umami.is`, I mean)
2025-02-19 21:16:14 +01:00
d42bb932cd
Add the Umami script and the Website Info ( #10 )
...
Rather barebones for now because I can go several ways from there
2025-02-19 14:59:58 +01:00