From d7ad2f845fa42f17839e7c79b029687a0d8d6597 Mon Sep 17 00:00:00 2001 From: Deva Midhun Date: Sun, 21 Dec 2025 10:17:16 +0530 Subject: [PATCH] full rewrite --- README.md | 7 +- index.html | 254 ++++++++++-------- about.html => old/about.html | 0 {api => old/api}/activitypub/actor.ts | 0 .../api}/activitypub/authorize_interaction.ts | 0 {api => old/api}/activitypub/followers.ts | 0 {api => old/api}/activitypub/following.ts | 0 {api => old/api}/activitypub/inbox.ts | 0 {api => old/api}/activitypub/old.ts | 0 {api => old/api}/activitypub/outbox.ts | 0 {api => old/api}/activitypub/sendNote.ts | 0 {api => old/api}/well-known/discord | 0 {api => old/api}/well-known/webfinger.ts | 0 bucket.html => old/bucket.html | 0 {funcs => old/funcs}/functions/actor.js | 0 .../funcs}/functions/authorize_interaction.js | 0 {funcs => old/funcs}/functions/followers.ts | 0 {funcs => old/funcs}/functions/following.ts | 0 {funcs => old/funcs}/functions/inbox.ts | 0 {funcs => old/funcs}/functions/outbox.ts | 0 {funcs => old/funcs}/functions/sendNote.ts | 0 indeedlayout.css => old/indeedlayout.css | 0 .../utils/fetchActorInformation.ts | 0 .../lib}/activitypub/utils/parseSignature.ts | 0 .../activitypub/utils/sendSignedRequest.ts | 0 .../lib}/activitypub/utils/verifySignature.js | 0 {lib => old/lib}/firebase.ts | 0 {lib => old/lib}/http-signature/index.js | 0 netlify.toml => old/netlify.toml | 0 netlify.toml.no => old/netlify.toml.no | 0 old.html => old/old.html | 0 yap.html => old/yap.html | 0 vercel.json | 63 +---- 33 files changed, 145 insertions(+), 179 deletions(-) rename about.html => old/about.html (100%) rename {api => old/api}/activitypub/actor.ts (100%) rename {api => old/api}/activitypub/authorize_interaction.ts (100%) rename {api => old/api}/activitypub/followers.ts (100%) rename {api => old/api}/activitypub/following.ts (100%) rename {api => old/api}/activitypub/inbox.ts (100%) rename {api => old/api}/activitypub/old.ts (100%) rename {api => old/api}/activitypub/outbox.ts (100%) rename {api => old/api}/activitypub/sendNote.ts (100%) rename {api => old/api}/well-known/discord (100%) rename {api => old/api}/well-known/webfinger.ts (100%) rename bucket.html => old/bucket.html (100%) rename {funcs => old/funcs}/functions/actor.js (100%) rename {funcs => old/funcs}/functions/authorize_interaction.js (100%) rename {funcs => old/funcs}/functions/followers.ts (100%) rename {funcs => old/funcs}/functions/following.ts (100%) rename {funcs => old/funcs}/functions/inbox.ts (100%) rename {funcs => old/funcs}/functions/outbox.ts (100%) rename {funcs => old/funcs}/functions/sendNote.ts (100%) rename indeedlayout.css => old/indeedlayout.css (100%) rename {lib => old/lib}/activitypub/utils/fetchActorInformation.ts (100%) rename {lib => old/lib}/activitypub/utils/parseSignature.ts (100%) rename {lib => old/lib}/activitypub/utils/sendSignedRequest.ts (100%) rename {lib => old/lib}/activitypub/utils/verifySignature.js (100%) rename {lib => old/lib}/firebase.ts (100%) rename {lib => old/lib}/http-signature/index.js (100%) rename netlify.toml => old/netlify.toml (100%) rename netlify.toml.no => old/netlify.toml.no (100%) rename old.html => old/old.html (100%) rename yap.html => old/yap.html (100%) diff --git a/README.md b/README.md index 57f09b6..ea90dd8 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ -# coderrrrr -Bomberfish dm'ed me +# coder.is-a.dev + +my portfolio/personal website + +No. of times I have completely re-written this website: `5` \ No newline at end of file diff --git a/index.html b/index.html index 8bcea3f..4dc239f 100644 --- a/index.html +++ b/index.html @@ -1,69 +1,69 @@ - - - - - coderrrrr - - - - - - - - - - - - - + + + + + + coderrrrr + + + + + + + + + + + - - - -
+ + + +
- - - -
+ +
- + + - -
-

Deva, 19, he/him. India-based programmer & indie web enthusiast; likes building random things!

-
- + +
+

Deva, 19, he/him. India-based programmer & indie web enthusiast; likes building random things!

+
+ -
- +
+ - - - + + + - - + - + -
-

Pets

- -
-
- It's tamaNOTchi! Click to feed! -
- -
-

Webrings

- -
-

- - RETRONAUT WEBRING - -

- -
-
- -
-

Banners!

- -
- -
- - - - -
- - +
+

Webrings

+ +
+

+ + RETRONAUT WEBRING + +

+ +
+
+ +
+

Banners!

+ +
+ +
+ + + + +
+ + - + - - - + + + -
- +
+ - - - - - - - - + + + + + + + + - + + \ No newline at end of file diff --git a/about.html b/old/about.html similarity index 100% rename from about.html rename to old/about.html diff --git a/api/activitypub/actor.ts b/old/api/activitypub/actor.ts similarity index 100% rename from api/activitypub/actor.ts rename to old/api/activitypub/actor.ts diff --git a/api/activitypub/authorize_interaction.ts b/old/api/activitypub/authorize_interaction.ts similarity index 100% rename from api/activitypub/authorize_interaction.ts rename to old/api/activitypub/authorize_interaction.ts diff --git a/api/activitypub/followers.ts b/old/api/activitypub/followers.ts similarity index 100% rename from api/activitypub/followers.ts rename to old/api/activitypub/followers.ts diff --git a/api/activitypub/following.ts b/old/api/activitypub/following.ts similarity index 100% rename from api/activitypub/following.ts rename to old/api/activitypub/following.ts diff --git a/api/activitypub/inbox.ts b/old/api/activitypub/inbox.ts similarity index 100% rename from api/activitypub/inbox.ts rename to old/api/activitypub/inbox.ts diff --git a/api/activitypub/old.ts b/old/api/activitypub/old.ts similarity index 100% rename from api/activitypub/old.ts rename to old/api/activitypub/old.ts diff --git a/api/activitypub/outbox.ts b/old/api/activitypub/outbox.ts similarity index 100% rename from api/activitypub/outbox.ts rename to old/api/activitypub/outbox.ts diff --git a/api/activitypub/sendNote.ts b/old/api/activitypub/sendNote.ts similarity index 100% rename from api/activitypub/sendNote.ts rename to old/api/activitypub/sendNote.ts diff --git a/api/well-known/discord b/old/api/well-known/discord similarity index 100% rename from api/well-known/discord rename to old/api/well-known/discord diff --git a/api/well-known/webfinger.ts b/old/api/well-known/webfinger.ts similarity index 100% rename from api/well-known/webfinger.ts rename to old/api/well-known/webfinger.ts diff --git a/bucket.html b/old/bucket.html similarity index 100% rename from bucket.html rename to old/bucket.html diff --git a/funcs/functions/actor.js b/old/funcs/functions/actor.js similarity index 100% rename from funcs/functions/actor.js rename to old/funcs/functions/actor.js diff --git a/funcs/functions/authorize_interaction.js b/old/funcs/functions/authorize_interaction.js similarity index 100% rename from funcs/functions/authorize_interaction.js rename to old/funcs/functions/authorize_interaction.js diff --git a/funcs/functions/followers.ts b/old/funcs/functions/followers.ts similarity index 100% rename from funcs/functions/followers.ts rename to old/funcs/functions/followers.ts diff --git a/funcs/functions/following.ts b/old/funcs/functions/following.ts similarity index 100% rename from funcs/functions/following.ts rename to old/funcs/functions/following.ts diff --git a/funcs/functions/inbox.ts b/old/funcs/functions/inbox.ts similarity index 100% rename from funcs/functions/inbox.ts rename to old/funcs/functions/inbox.ts diff --git a/funcs/functions/outbox.ts b/old/funcs/functions/outbox.ts similarity index 100% rename from funcs/functions/outbox.ts rename to old/funcs/functions/outbox.ts diff --git a/funcs/functions/sendNote.ts b/old/funcs/functions/sendNote.ts similarity index 100% rename from funcs/functions/sendNote.ts rename to old/funcs/functions/sendNote.ts diff --git a/indeedlayout.css b/old/indeedlayout.css similarity index 100% rename from indeedlayout.css rename to old/indeedlayout.css diff --git a/lib/activitypub/utils/fetchActorInformation.ts b/old/lib/activitypub/utils/fetchActorInformation.ts similarity index 100% rename from lib/activitypub/utils/fetchActorInformation.ts rename to old/lib/activitypub/utils/fetchActorInformation.ts diff --git a/lib/activitypub/utils/parseSignature.ts b/old/lib/activitypub/utils/parseSignature.ts similarity index 100% rename from lib/activitypub/utils/parseSignature.ts rename to old/lib/activitypub/utils/parseSignature.ts diff --git a/lib/activitypub/utils/sendSignedRequest.ts b/old/lib/activitypub/utils/sendSignedRequest.ts similarity index 100% rename from lib/activitypub/utils/sendSignedRequest.ts rename to old/lib/activitypub/utils/sendSignedRequest.ts diff --git a/lib/activitypub/utils/verifySignature.js b/old/lib/activitypub/utils/verifySignature.js similarity index 100% rename from lib/activitypub/utils/verifySignature.js rename to old/lib/activitypub/utils/verifySignature.js diff --git a/lib/firebase.ts b/old/lib/firebase.ts similarity index 100% rename from lib/firebase.ts rename to old/lib/firebase.ts diff --git a/lib/http-signature/index.js b/old/lib/http-signature/index.js similarity index 100% rename from lib/http-signature/index.js rename to old/lib/http-signature/index.js diff --git a/netlify.toml b/old/netlify.toml similarity index 100% rename from netlify.toml rename to old/netlify.toml diff --git a/netlify.toml.no b/old/netlify.toml.no similarity index 100% rename from netlify.toml.no rename to old/netlify.toml.no diff --git a/old.html b/old/old.html similarity index 100% rename from old.html rename to old/old.html diff --git a/yap.html b/old/yap.html similarity index 100% rename from yap.html rename to old/yap.html diff --git a/vercel.json b/vercel.json index a12bf31..dc49c4e 100644 --- a/vercel.json +++ b/vercel.json @@ -1,65 +1,4 @@ { - "functions": { - "api/**/*": { - "maxDuration": 60 - } - }, - "crons": [{ - "path": "/api/activitypub/sendNote.ts", - "schedule": "0 0 * * *" - }], - "redirects": [ - { - "source": "/amp/(.+)/", - "destination": "/$1/" - }, - { - "source": "/(\\d+)/(\\d+)/(.+).html", - "destination": "/$3/" - } - ], - "rewrites": [ - { - "source": "/(.+)/$", - "destination": "/$1/index.html" - }, - { - "source": "/.well-known/(.*)", - "destination": "/api/well-known/$1" - }, - { - "source": "/authorize_interaction", - "destination": "/api/activitypub/authorize_interaction.ts" - }, - { - "source": "/@blog", - "destination": "/api/activitypub/actor.ts" - }, - { - "source": "/coder", - "destination": "/api/activitypub/old.ts" - }, - { - "source": "/followers", - "destination": "/api/activitypub/followers.ts" - }, - { - "source": "/following", - "destination": "/api/activitypub/following.ts" - }, - { - "source": "/inbox", - "destination": "/api/activitypub/inbox.ts" - }, - { - "source": "/sharedInbox", - "destination": "/api/activitypub/sharedInbox.ts" - }, - { - "source": "/outbox", - "destination": "/api/activitypub/outbox.ts" - } - ], "headers": [ { "source": "/(.*).json", @@ -71,4 +10,4 @@ ] } ] -} +} \ No newline at end of file