├── .github └── dependabot.yml ├── .gitignore ├── .replit ├── README.md ├── api ├── dino-png.js └── index.js ├── dinos2 ├── 20leunge-scorpdino.png ├── 8-bit_dino.png ├── Aaronpk47-dinodad.png ├── AkhilGKrishnan_dino.png ├── Ancient Orpheus.png ├── Blazeleo-Dede-the-dino.png ├── CalebKim21324-Caleb's-masterpiece-Dino.png ├── Catseye124-dino-hugs.png ├── Ckbhatia_flying_dino.png ├── ComradeKrona-Woman-Yelling-at-Dino.png ├── DarkSchokolade-wildwestdino.png ├── DaviLhlapakRosa_business_dino.png ├── Dheemanth-gowda-Arpit.png ├── Dinos.jpg ├── DotBlue01-dino.png ├── Enmandligvaesen-Dragon_on_fire.png ├── F1-P1-ARRAY.png ├── F1-P1-FURRY.png ├── FAIZAHALI-pizzalover.png ├── Fogeinator_dino.png ├── Gamborlhini-top-hat-dino.png ├── HarshilReddy-Dj-Dino.png ├── ImJustChew_saddino.png ├── Joker_dino.png ├── LICENSE ├── MihirK018-mkdino.png ├── Mr_Adiletta.png ├── Muirrum_vesseldino.png ├── NOVA52_dinothemino.png ├── Orpheus Skellington.jpg ├── PRATIKNALAWADE-DINO-JOEY-HOW-U-DOING_.png ├── PicsArt_06-23-10.39.18.jpg ├── Pinklady28001-Love-dino.png ├── Piyush-Aneja-dino.png ├── Prateekg2050-thug-dino.png ├── Prithul0218_cute_sleepy_dino.png ├── README.md ├── Rashish1-dino.png ├── ReeseBess-You-Dont-Own-Me.png ├── Resolution-1-King-Dino.png ├── SAMURAii-7-Captain-Dino.png ├── Sammy62613-SAmmy-sed-internet-dino.png ├── Sathvik2311-dino.png ├── Specimen209-I-cant-spell-tbh.png ├── SrihanAnand-The-Dino-Dave.png ├── Sujanram-dino.png ├── Sumi5Dawn-stickerwala.png ├── Sumukhy-dino.png ├── TheOnlyGhostwolf_owo_dino.png ├── Vasudev-2308-VDX-dino.png ├── Xravarion-dinoo.png ├── adrianoapj_dino_looking_to_a_hc_poster.png ├── aksharjinandra_dino.png ├── andrewgcodes-bunnydino.png ├── appy9972-dino-in-space-jpg.png ├── arcade_dino.png ├── arekminajj_smart_dino.png ├── baby-dino.png ├── birthday_dino.jpg ├── blueprint.png ├── cake_dino.png ├── club_dinosaur.png ├── code_dinosaur.png ├── confused-login-orpheus.jpg ├── confused_dinosaur.png ├── confuzzled-dino.png ├── contributing_dinosaur.png ├── creator-aditya-dino-hackerboi.png ├── cursed-dino.jpg ├── damcrazy-dinoxd.png ├── deathlyface_dino.png ├── dino-onboarding-call.png ├── dino_and_octocat_becoming_friends.png ├── dino_handing_docs.png ├── dino_teaching.png ├── dino_winning.png ├── dino_with_a_pearl_earring.png ├── dinosaur_coming_from_the_future_to_destroy_humanity.png ├── dinosaur_here.png ├── dinosaur_holding_rubber_duck.png ├── dinosaur_imagining.png ├── dinosaur_logo.png ├── dinosaur_ninja.png ├── dinosaur_raging_about_proposals.png ├── dinosaur_sealing_letters_with_wax.png ├── dinosaur_sweating_bullets.png ├── dinosaur_waving.png ├── drake-template-dino.png ├── drawing-dino.png ├── elizabethqiu_lizdino.png ├── emmanueluc322-ItsmyBirthday.png ├── faith70123-dino-error.png ├── frencojobs_forkysaur.png ├── garrett_lane_bucktooth_dino.png ├── grandpa-dino.png ├── hacktoberfest-dino.png ├── handstand.png ├── harry-dino.png ├── harshithap2000-dai_deprivation.png ├── harshraj21-mydino.png ├── hkatzdev-Queen-Orpheus.png ├── i_have_failed.png ├── iamcpdev-mama-orpheus-and-smol-orpheus.png ├── iamcpdev-rasta-dino.png ├── ifvictr_crying_behind_mask_dino.png ├── ipad_dino.JPG ├── ironman9945-DINO.png ├── jasonappah_dino.png ├── jspaint-dino.png ├── kayleyseow_OrpheusAndHearts.png ├── kshitij-cell-CoderDino.png ├── kunalbotla_dino.png ├── lcy1254_dino_by_cy.png ├── leanachrist3703-dino.png ├── leaping_dino.png ├── marsx03-orpheus-&-rubber-duck-buddy.png ├── matthewlee626_ascended.png ├── mims1234-Hackinorause.png ├── money_dinosaur_1.png ├── money_dinosaur_2.png ├── motivational_dinosaur.png ├── naseeb_dino.png ├── nathanbarry474_dino.png ├── ncase-Thicc-Orpheus.png ├── necrosis2010-chillnibs.png ├── neelnayar23-dino.png ├── neeshad10feb-dino.png ├── nervous_dino.gif ├── nikhil-kuma-dino.png ├── nukanuka-Zebra-Dino.png ├── nzeng8_Cowboy_Dino.png ├── odensc_unenthused_dino.png ├── oopheus.png ├── orpheus-fixing-bugs.png ├── orpheus-ms.png ├── orpheus-nodemaster.png ├── orpheus-the-riveter-speechbubble.png ├── orpheus-the-riveter-surprised-bubble.png ├── orpheus.png ├── orpheusmc.jpg ├── party_orpheus.png ├── phultquist_dino.png ├── pirate-dino.png ├── pirate_dinosaur.png ├── pixelyunicorn-crpytid-63.png ├── poker-face-dino.jpg ├── polytroper-bug.png ├── polytroper-chick-hat-dino.png ├── qmogh_pog_dino.png ├── raghav18482-dino.png ├── reddit-dino.png ├── restaurant_dinosaur.png ├── rib44-Yo-Dyno.png ├── rishik-m-Sailor-dino.png ├── roydeva026-dinohacker.png ├── rudyt7-dino.png ├── s1ntaxe770r_boomer_dino.png ├── sampoder_dino.png ├── sarthaktexas_cowboydino.png ├── skd273-rocker-dino.png ├── smart_dinosaur.png ├── smart_dinosaur_docs.png ├── smart_dinosaur_hackedu_docs.png ├── smart_dinosaur_reading_docs.png ├── smarter23_blushing_dino.png ├── smash_orpheus.png ├── somyasriv16-dino_attention.png ├── starptr_dino.png ├── svg │ ├── 8-bit_dino.svg │ ├── Ancient Orpheus.svg │ ├── arcade_dino.svg │ ├── birthday_dino.svg │ ├── cake_dino.svg │ ├── club_dinosaur.svg │ ├── code_dinosaur.svg │ ├── confused_dinosaur.svg │ ├── contributing_dinosaur.svg │ ├── dino_handing_docs.svg │ ├── dino_teaching.svg │ ├── dino_winning.svg │ ├── dinosaur_coming_from_the_future_to_destroy_humanity.svg │ ├── dinosaur_here.svg │ ├── dinosaur_holding_rubber_duck.svg │ ├── dinosaur_imagining.svg │ ├── dinosaur_logo.svg │ ├── dinosaur_ninja.svg │ ├── dinosaur_raging_about_proposals.svg │ ├── dinosaur_sealing_letters_with_wax.svg │ ├── dinosaur_sweating_bullets.svg │ ├── dinosaur_waving.svg │ ├── handstand.svg │ ├── i_have_failed.svg │ ├── jspaint-dino.svg │ ├── money_dinosaur_2.svg │ ├── motivational_dinosaur.svg │ ├── orpheus.svg │ ├── orpheusmc.svg │ ├── party_orpheus.svg │ ├── pirate_dinosaur.svg │ ├── reddit-dino.svg │ ├── restaurant_dinosaur.svg │ ├── smart_dinosaur.svg │ ├── smart_dinosaur_docs.svg │ ├── smart_dinosaur_hackedu_docs.svg │ ├── smart_dinosaur_reading_docs.svg │ ├── smash_orpheus.svg │ └── undercover_dinosaurs.svg ├── tanmays1124-super-saiyan-dino.png ├── techiee619-dino.png ├── ugh.png ├── undercover_dinosaurs.png ├── vitruvian-dino.png └── winstoniskandar_dino.png ├── index.archive.js ├── index.js ├── package-lock.json ├── package.json └── vercel.json /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | # To get started with Dependabot version updates, you'll need to specify which 2 | # package ecosystems to update and where the package manifests are located. 3 | # Please see the documentation for all configuration options: 4 | # https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates 5 | 6 | version: 2 7 | updates: 8 | - package-ecosystem: "npm" # See documentation for possible values 9 | directory: "/" # Location of package manifests 10 | schedule: 11 | interval: "daily" 12 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | dinos 2 | dinos.json 3 | node_modules -------------------------------------------------------------------------------- /.replit: -------------------------------------------------------------------------------- 1 | run = "node index.js" -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # geta.dino.icu 2 | 3 | https://geta.dino.icu 4 | Get a dino! 5 | Gets dinos from https://github.com/hackclub/dinosaurs 6 | 7 | [![Dino](https://geta.dino.icu/dino.png)](https://geta.dino.icu) 8 | 9 | If anyone has any ideas or features to add, please open a PR or issue! 10 | -------------------------------------------------------------------------------- /api/dino-png.js: -------------------------------------------------------------------------------- 1 | // ========= // 2 | /* Begin boilerplate for serverless github files API */ 3 | import fetch from 'node-fetch' 4 | async function getByFileName (name, res) { 5 | try { 6 | const response = await fetch(`https://raw.githubusercontent.com/hackclub/dinosaurs/main/${name}`); 7 | response.headers.forEach((v, n) => res.setHeader(n, v)); 8 | response.body.pipe(res); 9 | } catch (err) { 10 | console.error(err); 11 | } 12 | } 13 | let dinos = await download(); 14 | async function json (...args) { 15 | const response = await fetch(...args); 16 | return await response.json(); 17 | } 18 | function download () { 19 | return new Promise(async (resolve, reject) => { 20 | const fileTree = await json('https://api.github.com/repos/hackclub/dinosaurs/git/trees/main?recursive=1'); 21 | const files = fileTree.tree.map(file => file.path).filter(file => { 22 | let isPng = file.endsWith('.png'); 23 | return isPng; 24 | }); 25 | const dictionary = {}; 26 | files.forEach(file => { 27 | // dictionary[crypto.createHash('md5').update('dinos/' + file).digest('hex').substring(0, 10)] = file; // Really bad method of generating IDs but at least it is unlikely for duplicates and will be the same each time a dinos.json is generated 28 | dictionary[encodeURIComponent(file).toLowerCase().padStart(10, 'x').substring(0, 10)] = file; 29 | }); 30 | resolve(dictionary); 31 | }); 32 | } 33 | function random (min, max) { 34 | return Math.floor(Math.random() * (max - min + 1) + min) 35 | } 36 | /* End boilerplate for serverless github files API */ 37 | // ========= // 38 | 39 | export default async function handler(request, response) { 40 | getByFileName(Object.values(dinos)[random(0, Object.values(dinos).length - 1)], response); 41 | } -------------------------------------------------------------------------------- /api/index.js: -------------------------------------------------------------------------------- 1 | const home = `Welcome to Get-A-Dino! This website pulls dinosaurs from https://github.com/hackclub/dinosaurs. 2 | 3 | GET /dinos - Get the ID and URL to a random dino 4 | GET /dinos/all - Get all dinos 5 | GET /dinos/:id - Serve a dino by its id 6 | GET /info/:id - Get the info of a dino 7 | GET /random - Redirect to a random dino 8 | GET /dino.png - Serve a random dino as a raw PNG`; 9 | 10 | export default async function handler(request, response) { 11 | response.send(home); 12 | } -------------------------------------------------------------------------------- /dinos2/20leunge-scorpdino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/20leunge-scorpdino.png -------------------------------------------------------------------------------- /dinos2/8-bit_dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/8-bit_dino.png -------------------------------------------------------------------------------- /dinos2/Aaronpk47-dinodad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/Aaronpk47-dinodad.png -------------------------------------------------------------------------------- /dinos2/AkhilGKrishnan_dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/AkhilGKrishnan_dino.png -------------------------------------------------------------------------------- /dinos2/Ancient Orpheus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/Ancient Orpheus.png -------------------------------------------------------------------------------- /dinos2/Blazeleo-Dede-the-dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/Blazeleo-Dede-the-dino.png -------------------------------------------------------------------------------- /dinos2/CalebKim21324-Caleb's-masterpiece-Dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/CalebKim21324-Caleb's-masterpiece-Dino.png -------------------------------------------------------------------------------- /dinos2/Catseye124-dino-hugs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/Catseye124-dino-hugs.png -------------------------------------------------------------------------------- /dinos2/Ckbhatia_flying_dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/Ckbhatia_flying_dino.png -------------------------------------------------------------------------------- /dinos2/ComradeKrona-Woman-Yelling-at-Dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/ComradeKrona-Woman-Yelling-at-Dino.png -------------------------------------------------------------------------------- /dinos2/DarkSchokolade-wildwestdino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/DarkSchokolade-wildwestdino.png -------------------------------------------------------------------------------- /dinos2/DaviLhlapakRosa_business_dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/DaviLhlapakRosa_business_dino.png -------------------------------------------------------------------------------- /dinos2/Dheemanth-gowda-Arpit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/Dheemanth-gowda-Arpit.png -------------------------------------------------------------------------------- /dinos2/Dinos.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/Dinos.jpg -------------------------------------------------------------------------------- /dinos2/DotBlue01-dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/DotBlue01-dino.png -------------------------------------------------------------------------------- /dinos2/Enmandligvaesen-Dragon_on_fire.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/Enmandligvaesen-Dragon_on_fire.png -------------------------------------------------------------------------------- /dinos2/F1-P1-ARRAY.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/F1-P1-ARRAY.png -------------------------------------------------------------------------------- /dinos2/F1-P1-FURRY.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/F1-P1-FURRY.png -------------------------------------------------------------------------------- /dinos2/FAIZAHALI-pizzalover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/FAIZAHALI-pizzalover.png -------------------------------------------------------------------------------- /dinos2/Fogeinator_dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/Fogeinator_dino.png -------------------------------------------------------------------------------- /dinos2/Gamborlhini-top-hat-dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/Gamborlhini-top-hat-dino.png -------------------------------------------------------------------------------- /dinos2/HarshilReddy-Dj-Dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/HarshilReddy-Dj-Dino.png -------------------------------------------------------------------------------- /dinos2/ImJustChew_saddino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/ImJustChew_saddino.png -------------------------------------------------------------------------------- /dinos2/Joker_dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/Joker_dino.png -------------------------------------------------------------------------------- /dinos2/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Hack Club and Julia Jin 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /dinos2/MihirK018-mkdino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/MihirK018-mkdino.png -------------------------------------------------------------------------------- /dinos2/Mr_Adiletta.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/Mr_Adiletta.png -------------------------------------------------------------------------------- /dinos2/Muirrum_vesseldino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/Muirrum_vesseldino.png -------------------------------------------------------------------------------- /dinos2/NOVA52_dinothemino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/NOVA52_dinothemino.png -------------------------------------------------------------------------------- /dinos2/Orpheus Skellington.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/Orpheus Skellington.jpg -------------------------------------------------------------------------------- /dinos2/PRATIKNALAWADE-DINO-JOEY-HOW-U-DOING_.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/PRATIKNALAWADE-DINO-JOEY-HOW-U-DOING_.png -------------------------------------------------------------------------------- /dinos2/PicsArt_06-23-10.39.18.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/PicsArt_06-23-10.39.18.jpg -------------------------------------------------------------------------------- /dinos2/Pinklady28001-Love-dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/Pinklady28001-Love-dino.png -------------------------------------------------------------------------------- /dinos2/Piyush-Aneja-dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/Piyush-Aneja-dino.png -------------------------------------------------------------------------------- /dinos2/Prateekg2050-thug-dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/Prateekg2050-thug-dino.png -------------------------------------------------------------------------------- /dinos2/Prithul0218_cute_sleepy_dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/Prithul0218_cute_sleepy_dino.png -------------------------------------------------------------------------------- /dinos2/Rashish1-dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/Rashish1-dino.png -------------------------------------------------------------------------------- /dinos2/ReeseBess-You-Dont-Own-Me.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/ReeseBess-You-Dont-Own-Me.png -------------------------------------------------------------------------------- /dinos2/Resolution-1-King-Dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/Resolution-1-King-Dino.png -------------------------------------------------------------------------------- /dinos2/SAMURAii-7-Captain-Dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/SAMURAii-7-Captain-Dino.png -------------------------------------------------------------------------------- /dinos2/Sammy62613-SAmmy-sed-internet-dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/Sammy62613-SAmmy-sed-internet-dino.png -------------------------------------------------------------------------------- /dinos2/Sathvik2311-dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/Sathvik2311-dino.png -------------------------------------------------------------------------------- /dinos2/Specimen209-I-cant-spell-tbh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/Specimen209-I-cant-spell-tbh.png -------------------------------------------------------------------------------- /dinos2/SrihanAnand-The-Dino-Dave.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/SrihanAnand-The-Dino-Dave.png -------------------------------------------------------------------------------- /dinos2/Sujanram-dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/Sujanram-dino.png -------------------------------------------------------------------------------- /dinos2/Sumi5Dawn-stickerwala.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/Sumi5Dawn-stickerwala.png -------------------------------------------------------------------------------- /dinos2/Sumukhy-dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/Sumukhy-dino.png -------------------------------------------------------------------------------- /dinos2/TheOnlyGhostwolf_owo_dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/TheOnlyGhostwolf_owo_dino.png -------------------------------------------------------------------------------- /dinos2/Vasudev-2308-VDX-dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/Vasudev-2308-VDX-dino.png -------------------------------------------------------------------------------- /dinos2/Xravarion-dinoo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/Xravarion-dinoo.png -------------------------------------------------------------------------------- /dinos2/adrianoapj_dino_looking_to_a_hc_poster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/adrianoapj_dino_looking_to_a_hc_poster.png -------------------------------------------------------------------------------- /dinos2/aksharjinandra_dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/aksharjinandra_dino.png -------------------------------------------------------------------------------- /dinos2/andrewgcodes-bunnydino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/andrewgcodes-bunnydino.png -------------------------------------------------------------------------------- /dinos2/appy9972-dino-in-space-jpg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/appy9972-dino-in-space-jpg.png -------------------------------------------------------------------------------- /dinos2/arcade_dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/arcade_dino.png -------------------------------------------------------------------------------- /dinos2/arekminajj_smart_dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/arekminajj_smart_dino.png -------------------------------------------------------------------------------- /dinos2/baby-dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/baby-dino.png -------------------------------------------------------------------------------- /dinos2/birthday_dino.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/birthday_dino.jpg -------------------------------------------------------------------------------- /dinos2/blueprint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/blueprint.png -------------------------------------------------------------------------------- /dinos2/cake_dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/cake_dino.png -------------------------------------------------------------------------------- /dinos2/club_dinosaur.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/club_dinosaur.png -------------------------------------------------------------------------------- /dinos2/code_dinosaur.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/code_dinosaur.png -------------------------------------------------------------------------------- /dinos2/confused-login-orpheus.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/confused-login-orpheus.jpg -------------------------------------------------------------------------------- /dinos2/confused_dinosaur.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/confused_dinosaur.png -------------------------------------------------------------------------------- /dinos2/confuzzled-dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/confuzzled-dino.png -------------------------------------------------------------------------------- /dinos2/contributing_dinosaur.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/contributing_dinosaur.png -------------------------------------------------------------------------------- /dinos2/creator-aditya-dino-hackerboi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/creator-aditya-dino-hackerboi.png -------------------------------------------------------------------------------- /dinos2/cursed-dino.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/cursed-dino.jpg -------------------------------------------------------------------------------- /dinos2/damcrazy-dinoxd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/damcrazy-dinoxd.png -------------------------------------------------------------------------------- /dinos2/deathlyface_dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/deathlyface_dino.png -------------------------------------------------------------------------------- /dinos2/dino-onboarding-call.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/dino-onboarding-call.png -------------------------------------------------------------------------------- /dinos2/dino_and_octocat_becoming_friends.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/dino_and_octocat_becoming_friends.png -------------------------------------------------------------------------------- /dinos2/dino_handing_docs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/dino_handing_docs.png -------------------------------------------------------------------------------- /dinos2/dino_teaching.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/dino_teaching.png -------------------------------------------------------------------------------- /dinos2/dino_winning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/dino_winning.png -------------------------------------------------------------------------------- /dinos2/dino_with_a_pearl_earring.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/dino_with_a_pearl_earring.png -------------------------------------------------------------------------------- /dinos2/dinosaur_coming_from_the_future_to_destroy_humanity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/dinosaur_coming_from_the_future_to_destroy_humanity.png -------------------------------------------------------------------------------- /dinos2/dinosaur_here.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/dinosaur_here.png -------------------------------------------------------------------------------- /dinos2/dinosaur_holding_rubber_duck.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/dinosaur_holding_rubber_duck.png -------------------------------------------------------------------------------- /dinos2/dinosaur_imagining.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/dinosaur_imagining.png -------------------------------------------------------------------------------- /dinos2/dinosaur_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/dinosaur_logo.png -------------------------------------------------------------------------------- /dinos2/dinosaur_ninja.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/dinosaur_ninja.png -------------------------------------------------------------------------------- /dinos2/dinosaur_raging_about_proposals.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/dinosaur_raging_about_proposals.png -------------------------------------------------------------------------------- /dinos2/dinosaur_sealing_letters_with_wax.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/dinosaur_sealing_letters_with_wax.png -------------------------------------------------------------------------------- /dinos2/dinosaur_sweating_bullets.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/dinosaur_sweating_bullets.png -------------------------------------------------------------------------------- /dinos2/dinosaur_waving.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/dinosaur_waving.png -------------------------------------------------------------------------------- /dinos2/drake-template-dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/drake-template-dino.png -------------------------------------------------------------------------------- /dinos2/drawing-dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/drawing-dino.png -------------------------------------------------------------------------------- /dinos2/elizabethqiu_lizdino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/elizabethqiu_lizdino.png -------------------------------------------------------------------------------- /dinos2/emmanueluc322-ItsmyBirthday.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/emmanueluc322-ItsmyBirthday.png -------------------------------------------------------------------------------- /dinos2/faith70123-dino-error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/faith70123-dino-error.png -------------------------------------------------------------------------------- /dinos2/frencojobs_forkysaur.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/frencojobs_forkysaur.png -------------------------------------------------------------------------------- /dinos2/garrett_lane_bucktooth_dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/garrett_lane_bucktooth_dino.png -------------------------------------------------------------------------------- /dinos2/grandpa-dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/grandpa-dino.png -------------------------------------------------------------------------------- /dinos2/hacktoberfest-dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/hacktoberfest-dino.png -------------------------------------------------------------------------------- /dinos2/handstand.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/handstand.png -------------------------------------------------------------------------------- /dinos2/harry-dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/harry-dino.png -------------------------------------------------------------------------------- /dinos2/harshithap2000-dai_deprivation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/harshithap2000-dai_deprivation.png -------------------------------------------------------------------------------- /dinos2/harshraj21-mydino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/harshraj21-mydino.png -------------------------------------------------------------------------------- /dinos2/hkatzdev-Queen-Orpheus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/hkatzdev-Queen-Orpheus.png -------------------------------------------------------------------------------- /dinos2/i_have_failed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/i_have_failed.png -------------------------------------------------------------------------------- /dinos2/iamcpdev-mama-orpheus-and-smol-orpheus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/iamcpdev-mama-orpheus-and-smol-orpheus.png -------------------------------------------------------------------------------- /dinos2/iamcpdev-rasta-dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/iamcpdev-rasta-dino.png -------------------------------------------------------------------------------- /dinos2/ifvictr_crying_behind_mask_dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/ifvictr_crying_behind_mask_dino.png -------------------------------------------------------------------------------- /dinos2/ipad_dino.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/ipad_dino.JPG -------------------------------------------------------------------------------- /dinos2/ironman9945-DINO.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/ironman9945-DINO.png -------------------------------------------------------------------------------- /dinos2/jasonappah_dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/jasonappah_dino.png -------------------------------------------------------------------------------- /dinos2/jspaint-dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/jspaint-dino.png -------------------------------------------------------------------------------- /dinos2/kayleyseow_OrpheusAndHearts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/kayleyseow_OrpheusAndHearts.png -------------------------------------------------------------------------------- /dinos2/kshitij-cell-CoderDino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/kshitij-cell-CoderDino.png -------------------------------------------------------------------------------- /dinos2/kunalbotla_dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/kunalbotla_dino.png -------------------------------------------------------------------------------- /dinos2/lcy1254_dino_by_cy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/lcy1254_dino_by_cy.png -------------------------------------------------------------------------------- /dinos2/leanachrist3703-dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/leanachrist3703-dino.png -------------------------------------------------------------------------------- /dinos2/leaping_dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/leaping_dino.png -------------------------------------------------------------------------------- /dinos2/marsx03-orpheus-&-rubber-duck-buddy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/marsx03-orpheus-&-rubber-duck-buddy.png -------------------------------------------------------------------------------- /dinos2/matthewlee626_ascended.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/matthewlee626_ascended.png -------------------------------------------------------------------------------- /dinos2/mims1234-Hackinorause.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/mims1234-Hackinorause.png -------------------------------------------------------------------------------- /dinos2/money_dinosaur_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/money_dinosaur_1.png -------------------------------------------------------------------------------- /dinos2/money_dinosaur_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/money_dinosaur_2.png -------------------------------------------------------------------------------- /dinos2/motivational_dinosaur.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/motivational_dinosaur.png -------------------------------------------------------------------------------- /dinos2/naseeb_dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/naseeb_dino.png -------------------------------------------------------------------------------- /dinos2/nathanbarry474_dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/nathanbarry474_dino.png -------------------------------------------------------------------------------- /dinos2/ncase-Thicc-Orpheus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/ncase-Thicc-Orpheus.png -------------------------------------------------------------------------------- /dinos2/necrosis2010-chillnibs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/necrosis2010-chillnibs.png -------------------------------------------------------------------------------- /dinos2/neelnayar23-dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/neelnayar23-dino.png -------------------------------------------------------------------------------- /dinos2/neeshad10feb-dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/neeshad10feb-dino.png -------------------------------------------------------------------------------- /dinos2/nervous_dino.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/nervous_dino.gif -------------------------------------------------------------------------------- /dinos2/nikhil-kuma-dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/nikhil-kuma-dino.png -------------------------------------------------------------------------------- /dinos2/nukanuka-Zebra-Dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/nukanuka-Zebra-Dino.png -------------------------------------------------------------------------------- /dinos2/nzeng8_Cowboy_Dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/nzeng8_Cowboy_Dino.png -------------------------------------------------------------------------------- /dinos2/odensc_unenthused_dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/odensc_unenthused_dino.png -------------------------------------------------------------------------------- /dinos2/oopheus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/oopheus.png -------------------------------------------------------------------------------- /dinos2/orpheus-fixing-bugs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/orpheus-fixing-bugs.png -------------------------------------------------------------------------------- /dinos2/orpheus-ms.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/orpheus-ms.png -------------------------------------------------------------------------------- /dinos2/orpheus-nodemaster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/orpheus-nodemaster.png -------------------------------------------------------------------------------- /dinos2/orpheus-the-riveter-speechbubble.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/orpheus-the-riveter-speechbubble.png -------------------------------------------------------------------------------- /dinos2/orpheus-the-riveter-surprised-bubble.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/orpheus-the-riveter-surprised-bubble.png -------------------------------------------------------------------------------- /dinos2/orpheus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/orpheus.png -------------------------------------------------------------------------------- /dinos2/orpheusmc.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/orpheusmc.jpg -------------------------------------------------------------------------------- /dinos2/party_orpheus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/party_orpheus.png -------------------------------------------------------------------------------- /dinos2/phultquist_dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/phultquist_dino.png -------------------------------------------------------------------------------- /dinos2/pirate-dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/pirate-dino.png -------------------------------------------------------------------------------- /dinos2/pirate_dinosaur.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/pirate_dinosaur.png -------------------------------------------------------------------------------- /dinos2/pixelyunicorn-crpytid-63.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/pixelyunicorn-crpytid-63.png -------------------------------------------------------------------------------- /dinos2/poker-face-dino.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/poker-face-dino.jpg -------------------------------------------------------------------------------- /dinos2/polytroper-bug.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/polytroper-bug.png -------------------------------------------------------------------------------- /dinos2/polytroper-chick-hat-dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/polytroper-chick-hat-dino.png -------------------------------------------------------------------------------- /dinos2/qmogh_pog_dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/qmogh_pog_dino.png -------------------------------------------------------------------------------- /dinos2/raghav18482-dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/raghav18482-dino.png -------------------------------------------------------------------------------- /dinos2/reddit-dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/reddit-dino.png -------------------------------------------------------------------------------- /dinos2/restaurant_dinosaur.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/restaurant_dinosaur.png -------------------------------------------------------------------------------- /dinos2/rib44-Yo-Dyno.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/rib44-Yo-Dyno.png -------------------------------------------------------------------------------- /dinos2/rishik-m-Sailor-dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/rishik-m-Sailor-dino.png -------------------------------------------------------------------------------- /dinos2/roydeva026-dinohacker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/roydeva026-dinohacker.png -------------------------------------------------------------------------------- /dinos2/rudyt7-dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/rudyt7-dino.png -------------------------------------------------------------------------------- /dinos2/s1ntaxe770r_boomer_dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/s1ntaxe770r_boomer_dino.png -------------------------------------------------------------------------------- /dinos2/sampoder_dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/sampoder_dino.png -------------------------------------------------------------------------------- /dinos2/sarthaktexas_cowboydino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/sarthaktexas_cowboydino.png -------------------------------------------------------------------------------- /dinos2/skd273-rocker-dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/skd273-rocker-dino.png -------------------------------------------------------------------------------- /dinos2/smart_dinosaur.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/smart_dinosaur.png -------------------------------------------------------------------------------- /dinos2/smart_dinosaur_docs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/smart_dinosaur_docs.png -------------------------------------------------------------------------------- /dinos2/smart_dinosaur_hackedu_docs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/smart_dinosaur_hackedu_docs.png -------------------------------------------------------------------------------- /dinos2/smart_dinosaur_reading_docs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/smart_dinosaur_reading_docs.png -------------------------------------------------------------------------------- /dinos2/smarter23_blushing_dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/smarter23_blushing_dino.png -------------------------------------------------------------------------------- /dinos2/smash_orpheus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/smash_orpheus.png -------------------------------------------------------------------------------- /dinos2/somyasriv16-dino_attention.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/somyasriv16-dino_attention.png -------------------------------------------------------------------------------- /dinos2/starptr_dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/starptr_dino.png -------------------------------------------------------------------------------- /dinos2/svg/8-bit_dino.svg: -------------------------------------------------------------------------------- 1 | 8-bit_dino -------------------------------------------------------------------------------- /dinos2/svg/Ancient Orpheus.svg: -------------------------------------------------------------------------------- 1 | Ancient Orpheus -------------------------------------------------------------------------------- /dinos2/svg/club_dinosaur.svg: -------------------------------------------------------------------------------- 1 | club_dinosaur -------------------------------------------------------------------------------- /dinos2/svg/code_dinosaur.svg: -------------------------------------------------------------------------------- 1 | Code_ 2 | -------------------------------------------------------------------------------- /dinos2/svg/confused_dinosaur.svg: -------------------------------------------------------------------------------- 1 | confused_dinosaur -------------------------------------------------------------------------------- /dinos2/svg/dino_handing_docs.svg: -------------------------------------------------------------------------------- 1 | dino_handing_docs -------------------------------------------------------------------------------- /dinos2/svg/dinosaur_coming_from_the_future_to_destroy_humanity.svg: -------------------------------------------------------------------------------- 1 | dinosaur_coming_from_the_future_to_destroy_humanity -------------------------------------------------------------------------------- /dinos2/svg/dinosaur_imagining.svg: -------------------------------------------------------------------------------- 1 | dinosaur_imagining -------------------------------------------------------------------------------- /dinos2/svg/dinosaur_ninja.svg: -------------------------------------------------------------------------------- 1 | dinosaur_ninja -------------------------------------------------------------------------------- /dinos2/svg/dinosaur_sealing_letters_with_wax.svg: -------------------------------------------------------------------------------- 1 | dinosaur_sealing_letters_with_wax -------------------------------------------------------------------------------- /dinos2/svg/dinosaur_sweating_bullets.svg: -------------------------------------------------------------------------------- 1 | dinosaur_sweating_bullets -------------------------------------------------------------------------------- /dinos2/svg/dinosaur_waving.svg: -------------------------------------------------------------------------------- 1 | dinosaur_waving -------------------------------------------------------------------------------- /dinos2/svg/handstand.svg: -------------------------------------------------------------------------------- 1 | handstand -------------------------------------------------------------------------------- /dinos2/svg/i_have_failed.svg: -------------------------------------------------------------------------------- 1 | i_have_failed -------------------------------------------------------------------------------- /dinos2/svg/money_dinosaur_2.svg: -------------------------------------------------------------------------------- 1 | money_dinosaur_2 -------------------------------------------------------------------------------- /dinos2/svg/orpheus.svg: -------------------------------------------------------------------------------- 1 | orpheus -------------------------------------------------------------------------------- /dinos2/svg/smart_dinosaur.svg: -------------------------------------------------------------------------------- 1 | smart_dinosaur -------------------------------------------------------------------------------- /dinos2/svg/smart_dinosaur_docs.svg: -------------------------------------------------------------------------------- 1 | smart_dinosaur_docs -------------------------------------------------------------------------------- /dinos2/svg/smart_dinosaur_hackedu_docs.svg: -------------------------------------------------------------------------------- 1 | smart_dinosaur_hackedu_docs -------------------------------------------------------------------------------- /dinos2/svg/smart_dinosaur_reading_docs.svg: -------------------------------------------------------------------------------- 1 | smart_dinosaur_reading_docs -------------------------------------------------------------------------------- /dinos2/tanmays1124-super-saiyan-dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/tanmays1124-super-saiyan-dino.png -------------------------------------------------------------------------------- /dinos2/techiee619-dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/techiee619-dino.png -------------------------------------------------------------------------------- /dinos2/ugh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/ugh.png -------------------------------------------------------------------------------- /dinos2/undercover_dinosaurs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/undercover_dinosaurs.png -------------------------------------------------------------------------------- /dinos2/vitruvian-dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/vitruvian-dino.png -------------------------------------------------------------------------------- /dinos2/winstoniskandar_dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YodaLightsabr/get-a-dino/bb77bd06c86fa59d798dec1e3d867ea4ef1b4063/dinos2/winstoniskandar_dino.png -------------------------------------------------------------------------------- /index.archive.js: -------------------------------------------------------------------------------- 1 | // 2 | // Archive of original geta.dino.icu index.js in case something goes wrong with migration 3 | // 4 | const crypto = require('crypto'); 5 | const github = require('download-git-repo'); 6 | const express = require('express'); 7 | const fs = require('fs'); 8 | 9 | const home = `Welcome to Get-A-Dino! This website pulls dinosaurs from https://github.com/hackclub/dinosaurs. 10 | 11 | GET /dinos - Get the ID and URL to a random dino 12 | GET /dinos/all - Get all dinos 13 | GET /dinos/:id - Serve a dino by its id 14 | GET /info/:id - Get the info of a dino 15 | GET /random - Redirect to a random dino 16 | GET /dino.png - Serve a random dino as a raw PNG`; 17 | 18 | function download () { 19 | return new Promise((resolve, reject) => { 20 | github('hackclub/dinosaurs', 'dinos', err => { 21 | if (err) return reject(err); 22 | 23 | const files = fs.readdirSync(__dirname + '/dinos').filter(file => { 24 | let isPng = file.endsWith('.png'); 25 | return isPng; 26 | }).map(file => 'dinos/' + file); 27 | 28 | const dictionary = {}; 29 | files.forEach(file => { 30 | dictionary[crypto.createHash('md5').update(file).digest('hex').substring(0, 10)] = file; // Really bad method of generating IDs but at least it is unlikely for duplicates and will be the same each time a dinos.json is generated 31 | }); 32 | 33 | fs.writeFileSync(__dirname + '/dinos.json', JSON.stringify(dictionary, null, 4), 'utf8'); 34 | 35 | resolve(dictionary); 36 | }); 37 | }); 38 | } 39 | 40 | function random (min, max) { 41 | return Math.floor(Math.random() * (max - min + 1) + min) 42 | } 43 | 44 | let dinos = []; 45 | const app = express(); 46 | 47 | app.use((req, res, next) => { 48 | console.log(`${req.method} ${req.url}`); 49 | next(); 50 | }); 51 | 52 | app.get('/', (req, res) => { 53 | res.type('text/plain'); 54 | res.send(home); 55 | }); 56 | 57 | app.get('/dino.png', (req, res) => { 58 | res.sendFile(__dirname + '/' + Object.values(dinos)[random(0, Object.values(dinos).length - 1)]); 59 | }); 60 | 61 | app.get('/dinos', (req, res) => { 62 | const id = Object.keys(dinos)[random(0, Object.keys(dinos).length - 1)]; 63 | const name = dinos[id].substring(6, dinos[id].length - 4); 64 | const url = 'https://geta.dino.icu/dinos/' + id; 65 | const info = 'https://geta.dino.icu/info/' + id; 66 | const github = 'https://github.com/hackclub/dinosaurs/blob/main/' + name + '.png'; 67 | 68 | res.json({ 69 | id, name, url, info, github 70 | }); 71 | }); 72 | 73 | app.get('/dinos/all', (req, res) => { 74 | let output = []; 75 | for (const id in dinos) { 76 | const name = dinos[id].substring(6, dinos[id].length - 4); 77 | const url = 'https://geta.dino.icu/dinos/' + id; 78 | const info = 'https://geta.dino.icu/info/' + id; 79 | const github = 'https://github.com/hackclub/dinosaurs/blob/main/' + name + '.png'; 80 | 81 | output.push({ 82 | id, name, url, info, github 83 | }); 84 | } 85 | res.json(output); 86 | }); 87 | 88 | app.get('/dinos/all/images', (req, res) => { 89 | let output = []; 90 | for (const id in dinos) { 91 | const url = 'https://geta.dino.icu/dinos/' + id; 92 | output.push(url); 93 | } 94 | res.json(output); 95 | }); 96 | 97 | app.get('/dinos/all/object', (req, res) => { 98 | res.json(dinos); 99 | }); 100 | 101 | app.get('/random', (req, res) => { 102 | const id = Object.keys(dinos)[random(0, Object.keys(dinos).length - 1)]; 103 | const url = 'https://geta.dino.icu/dinos/' + id; 104 | 105 | res.redirect(url); 106 | }); 107 | 108 | app.get('/dinos/:id', ({ params: { id } }, res) => { 109 | if (!fs.existsSync(__dirname + '/' + dinos[id])) return res.json({ error: 'Dino not found' }); 110 | res.sendFile(__dirname + '/' + dinos[id]); 111 | }); 112 | 113 | app.get('/info/:id', ({ params: { id } }, res) => { 114 | if (!fs.existsSync(__dirname + '/' + dinos[id])) return res.json({ error: 'Dino not found' }); 115 | const name = dinos[id].substring(6, dinos[id].length - 4); 116 | const url = 'https://geta.dino.icu/dinos/' + id; 117 | const info = 'https://geta.dino.icu/info/' + id; 118 | const github = 'https://github.com/hackclub/dinosaurs/blob/main/' + name + '.png'; 119 | 120 | res.json({ 121 | id, name, url, info, github 122 | }); 123 | }); 124 | 125 | download().then(downloaded => { 126 | dinos = downloaded; 127 | console.log('Downloaded. (' + Object.keys(dinos).length + ' dinos)'); 128 | app.listen(3000, _ => { 129 | console.log('Ready! (:3000)'); 130 | }); 131 | }); -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | import crypto from 'crypto' 2 | import github from 'download-git-repo' 3 | import express from 'express' 4 | import fetch from 'node-fetch' 5 | import fs from 'fs' 6 | 7 | const home = ` 8 | [!!!] Warning: Geta.Dino.Icu is temporarily under maintenance. [!!!] 9 | 10 | Welcome to Get-A-Dino! This website pulls dinosaurs from https://github.com/hackclub/dinosaurs. 11 | 12 | GET /dinos - Get the ID and URL to a random dino 13 | GET /dinos/all - Get all dinos 14 | GET /dinos/:id - Serve a dino by its id 15 | GET /info/:id - Get the info of a dino 16 | GET /random - Redirect to a random dino 17 | GET /dino.png - Serve a random dino as a raw PNG`; 18 | 19 | async function getByFileName (name, res) { 20 | try { 21 | const response = await fetch(`https://raw.githubusercontent.com/hackclub/dinosaurs/main/${name}`); 22 | response.headers.forEach((v, n) => res.setHeader(n, v)); 23 | response.body.pipe(res); 24 | } catch (err) { 25 | console.error(err); 26 | } 27 | } 28 | 29 | async function json (...args) { 30 | const response = await fetch(...args); 31 | return await response.json(); 32 | } 33 | 34 | function download () { 35 | return new Promise(async (resolve, reject) => { 36 | const fileTree = await json('https://api.github.com/repos/hackclub/dinosaurs/git/trees/main?recursive=1'); 37 | const files = fileTree.tree.map(file => file.path).filter(file => { 38 | let isPng = file.endsWith('.png'); 39 | return isPng; 40 | }); 41 | const dictionary = {}; 42 | files.forEach(file => { 43 | dictionary[crypto.createHash('md5').update('dinos/' + file).digest('hex').substring(0, 10)] = file; // Really bad method of generating IDs but at least it is unlikely for duplicates and will be the same each time a dinos.json is generated 44 | }); 45 | resolve(dictionary); 46 | }); 47 | } 48 | 49 | function random (min, max) { 50 | return Math.floor(Math.random() * (max - min + 1) + min) 51 | } 52 | 53 | let dinos = []; 54 | const app = express(); 55 | 56 | app.use((req, res, next) => { 57 | console.log(`${req.method} ${req.url}`); 58 | next(); 59 | }); 60 | 61 | app.get('/', (req, res) => { 62 | res.type('text/plain'); 63 | res.send(home); 64 | }); 65 | 66 | app.get('/dino.png', (req, res) => { 67 | getByFileName(Object.values(dinos)[random(0, Object.values(dinos).length - 1)], res); 68 | }); 69 | 70 | app.get('/dinos', (req, res) => { 71 | const id = Object.keys(dinos)[random(0, Object.keys(dinos).length - 1)]; 72 | const name = dinos[id].substring(6, dinos[id].length - 4); 73 | const url = 'https://geta.dino.icu/dinos/' + id; 74 | const info = 'https://geta.dino.icu/info/' + id; 75 | const github = 'https://github.com/hackclub/dinosaurs/blob/main/' + name + '.png'; 76 | 77 | res.json({ 78 | id, name, url, info, github 79 | }); 80 | }); 81 | 82 | app.get('/dinos/all', (req, res) => { 83 | let output = []; 84 | for (const id in dinos) { 85 | const name = dinos[id].substring(6, dinos[id].length - 4); 86 | const url = 'https://geta.dino.icu/dinos/' + id; 87 | const info = 'https://geta.dino.icu/info/' + id; 88 | const github = 'https://github.com/hackclub/dinosaurs/blob/main/' + name + '.png'; 89 | 90 | output.push({ 91 | id, name, url, info, github 92 | }); 93 | } 94 | res.json(output); 95 | }); 96 | 97 | app.get('/dinos/all/images', (req, res) => { 98 | let output = []; 99 | for (const id in dinos) { 100 | const url = 'https://geta.dino.icu/dinos/' + id; 101 | output.push(url); 102 | } 103 | res.json(output); 104 | }); 105 | 106 | app.get('/dinos/all/object', (req, res) => { 107 | res.json(dinos); 108 | }); 109 | 110 | app.get('/random', (req, res) => { 111 | const id = Object.keys(dinos)[random(0, Object.keys(dinos).length - 1)]; 112 | const url = 'https://geta.dino.icu/dinos/' + id; 113 | 114 | res.redirect(url); 115 | }); 116 | 117 | app.get('/dinos/:id', ({ params: { id } }, res) => { 118 | // if (!fs.existsSync(__dirname + '/' + dinos[id])) return res.json({ error: 'Dino not found' }); 119 | getByFileName(dinos[id], res); 120 | }); 121 | 122 | app.get('/info/:id', ({ params: { id } }, res) => { 123 | // if (!fs.existsSync(__dirname + '/' + dinos[id])) return res.json({ error: 'Dino not found' }); 124 | const name = dinos[id].substring(6, dinos[id].length - 4); 125 | const url = 'https://geta.dino.icu/dinos/' + id; 126 | const info = 'https://geta.dino.icu/info/' + id; 127 | const github = 'https://github.com/hackclub/dinosaurs/blob/main/' + name + '.png'; 128 | 129 | res.json({ 130 | id, name, url, info, github 131 | }); 132 | }); 133 | 134 | download().then(downloaded => { 135 | dinos = downloaded; 136 | console.log('Downloaded. (' + Object.keys(dinos).length + ' dinos)'); 137 | app.listen(3000, _ => { 138 | console.log('Ready! (:3000)'); 139 | }); 140 | }); -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "getadinoicu", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "dependencies": { 7 | "download-git-repo": "^3.0.2", 8 | "express": "^4.18.2", 9 | "node-fetch": "^3.2.10" 10 | }, 11 | "devDependencies": {}, 12 | "scripts": { 13 | "test": "echo \"Error: no test specified\" && exit 1" 14 | }, 15 | "author": "", 16 | "license": "ISC", 17 | "type": "module" 18 | } 19 | -------------------------------------------------------------------------------- /vercel.json: -------------------------------------------------------------------------------- 1 | { 2 | "rewrites": [ 3 | { "source": "/dino.png", "destination": "/api/dino-png" }, 4 | { "source": "/api/:path*", "destination": "/api/:path*" }, 5 | { "source": "/:path*", "destination": "/api/:path*" } 6 | ] 7 | } --------------------------------------------------------------------------------