Short URL | +Long URL | +Description | +Enabled | +QR Code | +
---|---|---|---|---|
${entry.short} | +${entry.long} | +${entry.description} | +${entry.enabled} | ++ |
Short URL | +Long URL | +Description | +Enabled | +QR Code | +
---|---|---|---|---|
21 | +https://www.ynharari.com/book/21-lessons-book/ | +Harari - 21 lessons | +true | ++ |
4cs | +https://www.aeseducation.com/blog/four-cs-21st-century-skills | +4Cs | +true | ++ |
ai | +https://1drv.ms/p/s!AjMDN5B379fDnpl9Cd89oVTsubPlyg | +AI Seasons of Change | +true | ++ |
alpha | +https://youtu.be/WXuK6gekU1Y?si=v-UR-rD8Q8yZtNze | +Deepmind AlphaGo Movie | +true | ++ |
algebra | +https://www.penguinrandomhouse.com/books/730881/the-algebra-of-wealth-by-scott-galloway/ | +Scott Gallaway | +true | ++ |
animals | +https://www.beliefnet.com/love-family/parenting/2000/10/teaching-tales-the-way-you-like-it.aspx | +Animals and a small house | +true | ++ |
arrow | +https://psychology-spot.com/the-poisoned-arrow-buddhist-parable/ | +Poison Arrow | +true | ++ |
bio | +https://palousemindfulness.com/docs/autobio_5chapters.pdf | +Biography in five short chapters | +true | ++ |
cap | +https://www.lulu.com/shop/richard-wolff/understanding-capitalism/ebook/product-kv95q82.html | +Richard Wolff - Capitalism | +true | ++ |
cow | +http://zackhurst.weebly.com/news-and-updates---blog/the-story-of-the-little-cow | +The cow | +true | ++ |
desiderata | +https://www.poetseers.org/the-great-poets/american-poets/max-ehrmann/desid/ | +Desiderata | +true | ++ |
finger | +https://wisdom.srisriravishankar.org/story-eklavya-devotion/ | +Devotion | +true | ++ |
healthy | +https://conten.to/post/healthy/healthy/ | +Compilation of Healthy Documents | +true | ++ |
horse | +http://legacy.ymaa.com/articles/stories-proverbs/blessing-in-disguise | +The horse | +true | ++ |
indra | +http://hindumythologyforgennext.blogspot.com/2012/02/indra-and-ants.html | +Indra | +true | ++ |
li | +https://www.linkedin.com/in/gonzalo-contento | +Linkedin Profile | +true | ++ |
mask | +http://kirtimukha.com/devilsMask.htm | +Devils Mask | +true | ++ |
max | +https://maxbanshees.com/ | +Max Banshees | +true | ++ |
merit | +https://www.youtube.com/watch?v=Qewckuxa9hw | +Michael Sandell | +true | ++ |
mkt | +https://allthingsequal.substack.com/p/sigmund-freuds-nephew-and-marketing?s=r | +Sigmund Freud's | +true | ++ |
nexus | +https://www.ynharari.com/book/nexus/ | +Harari - Nexus | +true | ++ |
njm | +https://conten.to/post/njm/njm | +Presentation: New Job Market | +true | ++ |
power | +https://billmoyers.com/series/joseph-campbell-and-the-power-of-myth-1988/ | +Joseph Campbell and Bill Moyers | +true | ++ |
refs | +https://conten.to/post/references/references/ | +References to Various Sources | +true | ++ |
sad | +https://www.rigpawiki.org/index.php?title=Geshe_Langri_Tangpa | +Sad Face | +true | ++ |
sapiens | +https://www.ynharari.com/book/sapiens-2/ | +Harari - Sapiens | +true | ++ |
sawyer | +https://elcuento1.blogspot.com/2009/02/que-pase-el-aserrador-jesus-del-corral.html | +Que pase el aserrador! | +true | ++ |
stuff | +https://www.youtube.com/watch?v=Ja2fgquYTCg | +The Devil wears prada | +true | ++ |
to | +https://conten.to | +Conten.to site | +true | ++ |
twobirds | +https://www.holy-bhagavad-gita.org/chapter/13/verse/23 | +Bhagavad Gita - Two Birds | +true | ++ |
x | +https://x.com/GonzaloContento | +X - Gonzalo Contento | +true | ++ |
disabled | +https://disabled.com | +This site is currently disabled | +false | ++ |
Below is the list of URLs available on our platform, last updated on ${new Date().toISOString()}:
+Short URL | +Long URL | +Description | +Enabled | +
---|---|---|---|
${domain}/${entry.short} | +${entry.long} | +${entry.description} | +${entry.enabled} | +
The URL you are looking for does not exist or is disabled.
+ + + + +`; +} diff --git a/src/types.js b/src/types.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/src/types.js @@ -0,0 +1 @@ +export {}; diff --git a/src/types.ts b/src/types.ts new file mode 100644 index 0000000..89f478a --- /dev/null +++ b/src/types.ts @@ -0,0 +1,6 @@ +export interface UrlEntry { + enabled: boolean; + short: string; + long: string; + description: string; +} diff --git a/src/urlConfig.js b/src/urlConfig.js new file mode 100644 index 0000000..60df7f3 --- /dev/null +++ b/src/urlConfig.js @@ -0,0 +1,170 @@ +export const urlConfig = [ + { + "enabled": true, + "short": "21", + "long": "https://www.ynharari.com/book/21-lessons-book/", + "description": "Harari - 21 lessons" + }, + { + "enabled": true, + "short": "4cs", + "long": "https://www.aeseducation.com/blog/four-cs-21st-century-skills", + "description": "4Cs" + }, + { + "enabled": true, + "short": "ai", + "long": "https://1drv.ms/p/s!AjMDN5B379fDnpl9Cd89oVTsubPlyg", + "description": "AI Seasons of Change" + }, + { + "enabled": true, + "short": "algebra", + "long": "https://www.penguinrandomhouse.com/books/730881/the-algebra-of-wealth-by-scott-galloway/", + "description": "Scott Gallaway" + }, + { + "enabled": true, + "short": "animals", + "long": "https://www.beliefnet.com/love-family/parenting/2000/10/teaching-tales-the-way-you-like-it.aspx", + "description": "Animals and a small house" + }, + { + "enabled": true, + "short": "arrow", + "long": "https://psychology-spot.com/the-poisoned-arrow-buddhist-parable/", + "description": "Poison Arrow" + }, + { + "enabled": true, + "short": "bio", + "long": "https://palousemindfulness.com/docs/autobio_5chapters.pdf", + "description": "Biography in five short chapters" + }, + { + "enabled": true, + "short": "cap", + "long": "https://www.lulu.com/shop/richard-wolff/understanding-capitalism/ebook/product-kv95q82.html", + "description": "Richard Wolff - Capitalism" + }, + { + "enabled": true, + "short": "cow", + "long": "http://zackhurst.weebly.com/news-and-updates---blog/the-story-of-the-little-cow", + "description": "The cow" + }, + { + "enabled": true, + "short": "desiderata", + "long": "https://www.poetseers.org/the-great-poets/american-poets/max-ehrmann/desid/", + "description": "Desiderata" + }, + { + "enabled": true, + "short": "finger", + "long": "https://wisdom.srisriravishankar.org/story-eklavya-devotion/", + "description": "Devotion" + }, + { + "enabled": true, + "short": "healthy", + "long": "https://contento.slite.com/api/s/ff788pKd-yuXST/From-Healthy-to-Healthy?utm_source=Slite", + "description": "Compilation of Healthy Documents" + }, + { + "enabled": true, + "short": "horse", + "long": "http://legacy.ymaa.com/articles/stories-proverbs/blessing-in-disguise", + "description": "The horse" + }, + { + "enabled": true, + "short": "indra", + "long": "http://hindumythologyforgennext.blogspot.com/2012/02/indra-and-ants.html", + "description": "Indra" + }, + { + "enabled": true, + "short": "mask", + "long": "http://kirtimukha.com/devilsMask.htm", + "description": "Devils Mask" + }, + { + "enabled": true, + "short": "max", + "long": "https://maxbanshees.com/", + "description": "Max Banshees" + }, + { + "enabled": true, + "short": "merit", + "long": "https://www.youtube.com/watch?v=Qewckuxa9hw", + "description": "Michael Sandell" + }, + { + "enabled": true, + "short": "mkt", + "long": "https://allthingsequal.substack.com/p/sigmund-freuds-nephew-and-marketing?s=r", + "description": "Sigmund Freud's" + }, + { + "enabled": true, + "short": "nexus", + "long": "https://www.ynharari.com/book/nexus/", + "description": "Harari - Nexus" + }, + { + "enabled": true, + "short": "njm", + "long": "https://conten.to/posts/njm", + "description": "Presentation: New Job Market" + }, + { + "enabled": true, + "short": "power", + "long": "https://billmoyers.com/series/joseph-campbell-and-the-power-of-myth-1988/", + "description": "Joseph Campbell and Bill Moyers" + }, + { + "enabled": true, + "short": "refs", + "long": "https://conten.to/post/references/", + "description": "References to Various Sources" + }, + { + "enabled": true, + "short": "sad", + "long": "https://www.rigpawiki.org/index.php?title=Geshe_Langri_Tangpa", + "description": "Sad Face" + }, + { + "enabled": true, + "short": "sapiens", + "long": "https://www.ynharari.com/book/sapiens-2/", + "description": "Harari - Sapiens" + }, + { + "enabled": true, + "short": "sawyer", + "long": "https://elcuento1.blogspot.com/2009/02/que-pase-el-aserrador-jesus-del-corral.html", + "description": "Que pase el aserrador!" + }, + { + "enabled": true, + "short": "stuff", + "long": "https://www.youtube.com/watch?v=Ja2fgquYTCg", + "description": "The Devil wears prada" + }, + { + "enabled": true, + "short": "twobirds", + "long": "https://www.holy-bhagavad-gita.org/chapter/13/verse/23", + "description": "Bhagavad Gita - Two Birds" + }, + { + "enabled": false, + "short": "disabled", + "long": "https://disabled.com", + "description": "This site is currently disabled" + } +]; diff --git a/src/urlConfig.ts b/src/urlConfig.ts new file mode 100644 index 0000000..046b510 --- /dev/null +++ b/src/urlConfig.ts @@ -0,0 +1,196 @@ +import { UrlEntry } from "./types"; + +export const urlConfig: UrlEntry[] = [ + { + "enabled": true, + "short": "21", + "long": "https://www.ynharari.com/book/21-lessons-book/", + "description": "Harari - 21 lessons" + }, + { + "enabled": true, + "short": "4cs", + "long": "https://www.aeseducation.com/blog/four-cs-21st-century-skills", + "description": "4Cs" + }, + { + "enabled": true, + "short": "ai", + "long": "https://1drv.ms/p/s!AjMDN5B379fDnpl9Cd89oVTsubPlyg", + "description": "AI Seasons of Change" + }, + { + "enabled": true, + "short": "alpha", + "long": "https://youtu.be/WXuK6gekU1Y?si=v-UR-rD8Q8yZtNze", + "description": "Deepmind AlphaGo Movie" + }, + { + "enabled": true, + "short": "algebra", + "long": "https://www.penguinrandomhouse.com/books/730881/the-algebra-of-wealth-by-scott-galloway/", + "description": "Scott Gallaway" + }, + { + "enabled": true, + "short": "animals", + "long": "https://www.beliefnet.com/love-family/parenting/2000/10/teaching-tales-the-way-you-like-it.aspx", + "description": "Animals and a small house" + }, + { + "enabled": true, + "short": "arrow", + "long": "https://psychology-spot.com/the-poisoned-arrow-buddhist-parable/", + "description": "Poison Arrow" + }, + { + "enabled": true, + "short": "bio", + "long": "https://palousemindfulness.com/docs/autobio_5chapters.pdf", + "description": "Biography in five short chapters" + }, + { + "enabled": true, + "short": "cap", + "long": "https://www.lulu.com/shop/richard-wolff/understanding-capitalism/ebook/product-kv95q82.html", + "description": "Richard Wolff - Capitalism" + }, + { + "enabled": true, + "short": "cow", + "long": "http://zackhurst.weebly.com/news-and-updates---blog/the-story-of-the-little-cow", + "description": "The cow" + }, + { + "enabled": true, + "short": "desiderata", + "long": "https://www.poetseers.org/the-great-poets/american-poets/max-ehrmann/desid/", + "description": "Desiderata" + }, + { + "enabled": true, + "short": "finger", + "long": "https://wisdom.srisriravishankar.org/story-eklavya-devotion/", + "description": "Devotion" + }, + { + "enabled": true, + "short": "healthy", + "long": "https://conten.to/post/healthy/healthy/", + "description": "Compilation of Healthy Documents" + }, + { + "enabled": true, + "short": "horse", + "long": "http://legacy.ymaa.com/articles/stories-proverbs/blessing-in-disguise", + "description": "The horse" + }, + { + "enabled": true, + "short": "indra", + "long": "http://hindumythologyforgennext.blogspot.com/2012/02/indra-and-ants.html", + "description": "Indra" + }, + { + "enabled": true, + "short": "li", + "long": "https://www.linkedin.com/in/gonzalo-contento", + "description": "Linkedin Profile" + }, + { + "enabled": true, + "short": "mask", + "long": "http://kirtimukha.com/devilsMask.htm", + "description": "Devils Mask" + }, + { + "enabled": true, + "short": "max", + "long": "https://maxbanshees.com/", + "description": "Max Banshees" + }, + { + "enabled": true, + "short": "merit", + "long": "https://www.youtube.com/watch?v=Qewckuxa9hw", + "description": "Michael Sandell" + }, + { + "enabled": true, + "short": "mkt", + "long": "https://allthingsequal.substack.com/p/sigmund-freuds-nephew-and-marketing?s=r", + "description": "Sigmund Freud's" + }, + { + "enabled": true, + "short": "nexus", + "long": "https://www.ynharari.com/book/nexus/", + "description": "Harari - Nexus" + }, + { + "enabled": true, + "short": "njm", + "long": "https://conten.to/post/njm/njm", + "description": "Presentation: New Job Market" + }, + { + "enabled": true, + "short": "power", + "long": "https://billmoyers.com/series/joseph-campbell-and-the-power-of-myth-1988/", + "description": "Joseph Campbell and Bill Moyers" + }, + { + "enabled": true, + "short": "refs", + "long": "https://conten.to/post/references/references/", + "description": "References to Various Sources" + }, + { + "enabled": true, + "short": "sad", + "long": "https://www.rigpawiki.org/index.php?title=Geshe_Langri_Tangpa", + "description": "Sad Face" + }, + { + "enabled": true, + "short": "sapiens", + "long": "https://www.ynharari.com/book/sapiens-2/", + "description": "Harari - Sapiens" + }, + { + "enabled": true, + "short": "sawyer", + "long": "https://elcuento1.blogspot.com/2009/02/que-pase-el-aserrador-jesus-del-corral.html", + "description": "Que pase el aserrador!" + }, + { + "enabled": true, + "short": "stuff", + "long": "https://www.youtube.com/watch?v=Ja2fgquYTCg", + "description": "The Devil wears prada" + }, + { + "enabled": true, + "short": "to", + "long": "https://conten.to", + "description": "Conten.to site" + }, + { + "enabled": true, + "short": "twobirds", + "long": "https://www.holy-bhagavad-gita.org/chapter/13/verse/23", + "description": "Bhagavad Gita - Two Birds" + }, + { + "enabled": true, + "short": "x", + "long": "https://x.com/GonzaloContento", + "description": "X - Gonzalo Contento" + }, + { + "enabled": false, + "short": "disabled", + "long": "https://disabled.com", + "description": "This site is currently disabled" + } +]; \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..2a61a7f --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,49 @@ +{ + "compilerOptions": { + /* Visit https://aka.ms/tsconfig.json to read more about this file */ + /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ + "target": "es2021", + /* Specify a set of bundled library declaration files that describe the target runtime environment. */ + "lib": [ + "es2021", + "dom" + ], + "outDir": "./dist", + "rootDir": "./src", + /* Specify what JSX code is generated. */ + "jsx": "react-jsx", + /* Specify what module code is generated. */ + "module": "es2022", + /* Specify how TypeScript looks up a file from a given module specifier. */ + "moduleResolution": "Bundler", + /* Specify type package names to be included without being referenced in a source file. */ + "types": [ + "@cloudflare/workers-types" + ], + /* Enable importing .json files */ + "resolveJsonModule": true, + /* Allow JavaScript files to be a part of your program. Use the `checkJS` option to get errors from these files. */ + "allowJs": true, + /* Enable error reporting in type-checked JavaScript files. */ + "checkJs": false, + /* Disable emitting files from a compilation. */ + "noEmit": false, + /* Ensure that each file can be safely transpiled without relying on other imports. */ + "isolatedModules": true, + /* Allow 'import x from y' when a module doesn't have a default export. */ + "allowSyntheticDefaultImports": true, + /* Ensure that casing is correct in imports. */ + "forceConsistentCasingInFileNames": true, + /* Enable all strict type-checking options. */ + "strict": true, + /* Skip type checking all .d.ts files. */ + "skipLibCheck": true + }, + "exclude": [ + "test" + ], + "include": [ + "worker-configuration.d.ts", + "src/**/*.ts" + ] +} diff --git a/tsconfig.ts-node.json b/tsconfig.ts-node.json new file mode 100644 index 0000000..d03f484 --- /dev/null +++ b/tsconfig.ts-node.json @@ -0,0 +1,15 @@ +{ + "compilerOptions": { + "target": "esnext", + "module": "commonjs", + "strict": true, + "esModuleInterop": true, + "skipLibCheck": true, + "forceConsistentCasingInFileNames": true, + "baseUrl": ".", + "paths": { + "*": ["node_modules/*"] + } + }, + "include": ["src/**/*.ts", "build-assets.ts"] +} diff --git a/urls.csv b/urls.csv new file mode 100644 index 0000000..e89fa01 --- /dev/null +++ b/urls.csv @@ -0,0 +1,33 @@ +enabled,short,long,description +true,21,https://www.ynharari.com/book/21-lessons-book/,Harari - 21 lessons +true,4cs,https://www.aeseducation.com/blog/four-cs-21st-century-skills,4Cs +true,ai,https://1drv.ms/p/s!AjMDN5B379fDnpl9Cd89oVTsubPlyg,AI Seasons of Change +true,alpha,https://youtu.be/WXuK6gekU1Y?si=v-UR-rD8Q8yZtNze,Deepmind AlphaGo Movie +true,algebra,https://www.penguinrandomhouse.com/books/730881/the-algebra-of-wealth-by-scott-galloway/,Scott Gallaway +true,animals,https://www.beliefnet.com/love-family/parenting/2000/10/teaching-tales-the-way-you-like-it.aspx,Animals and a small house +true,arrow,https://psychology-spot.com/the-poisoned-arrow-buddhist-parable/,Poison Arrow +true,bio,https://palousemindfulness.com/docs/autobio_5chapters.pdf,Biography in five short chapters +true,cap,https://www.lulu.com/shop/richard-wolff/understanding-capitalism/ebook/product-kv95q82.html,Richard Wolff - Capitalism +true,cow,http://zackhurst.weebly.com/news-and-updates---blog/the-story-of-the-little-cow,The cow +true,desiderata,https://www.poetseers.org/the-great-poets/american-poets/max-ehrmann/desid/,Desiderata +true,finger,https://wisdom.srisriravishankar.org/story-eklavya-devotion/,Devotion +true,healthy,https://conten.to/post/healthy/healthy/,Compilation of Healthy Documents +true,horse,http://legacy.ymaa.com/articles/stories-proverbs/blessing-in-disguise,The horse +true,indra,http://hindumythologyforgennext.blogspot.com/2012/02/indra-and-ants.html,Indra +true,li,https://www.linkedin.com/in/gonzalo-contento,Linkedin Profile +true,mask,http://kirtimukha.com/devilsMask.htm,Devils Mask +true,max,https://maxbanshees.com/,Max Banshees +true,merit,https://www.youtube.com/watch?v=Qewckuxa9hw,Michael Sandell +true,mkt,https://allthingsequal.substack.com/p/sigmund-freuds-nephew-and-marketing?s=r,Sigmund Freud's +true,nexus,https://www.ynharari.com/book/nexus/,Harari - Nexus +true,njm,https://conten.to/post/njm/njm,Presentation: New Job Market +true,power,https://billmoyers.com/series/joseph-campbell-and-the-power-of-myth-1988/,Joseph Campbell and Bill Moyers +true,refs,https://conten.to/post/references/references/,References to Various Sources +true,sad,https://www.rigpawiki.org/index.php?title=Geshe_Langri_Tangpa,Sad Face +true,sapiens,https://www.ynharari.com/book/sapiens-2/,Harari - Sapiens +true,sawyer,https://elcuento1.blogspot.com/2009/02/que-pase-el-aserrador-jesus-del-corral.html,Que pase el aserrador! +true,stuff,https://www.youtube.com/watch?v=Ja2fgquYTCg,The Devil wears prada +true,to,https://conten.to,Conten.to site +true,twobirds,https://www.holy-bhagavad-gita.org/chapter/13/verse/23,Bhagavad Gita - Two Birds +true,x,https://x.com/GonzaloContento,X - Gonzalo Contento +false,disabled,https://disabled.com,This site is currently disabled diff --git a/worker-configuration.d.ts b/worker-configuration.d.ts new file mode 100644 index 0000000..d846b6e --- /dev/null +++ b/worker-configuration.d.ts @@ -0,0 +1,5 @@ +// Generated by Wrangler by running `wrangler types` + +// eslint-disable-next-line @typescript-eslint/no-empty-interface,@typescript-eslint/no-empty-object-type +interface Env { +} diff --git a/wrangler.config.js b/wrangler.config.js new file mode 100644 index 0000000..cc26ea0 --- /dev/null +++ b/wrangler.config.js @@ -0,0 +1,7 @@ +require('dotenv').config(); + +module.exports = { + CLOUDFLARE_API_TOKEN: process.env.CLOUDFLARE_API_TOKEN, + ACCOUNT_ID: process.env.ACCOUNT_ID, + ZONE_ID: process.env.ZONE_ID, +}; diff --git a/wrangler.toml b/wrangler.toml new file mode 100644 index 0000000..829ac99 --- /dev/null +++ b/wrangler.toml @@ -0,0 +1,8 @@ +#:schema node_modules/wrangler/config-schema.json +name = "lazyurl" +main = "src/index.ts" +compatibility_date = "2024-11-11" +compatibility_flags = ["nodejs_compat"] + +[build] +command = "npm run build"