fix typo and add splash text!!

This commit is contained in:
ashley 2024-10-28 19:25:27 +00:00
parent bc7ffd16e3
commit 9e7240ecdb

124
server.js
View file

@ -117,16 +117,112 @@ const limiter = rateLimit({
}); });
const random_words = [ const random_words = [
"banana pie", "Woke!",
"how to buy an atom bomb", "Gay gay homosexaul gay!",
"is love just an illusion", "free Palestine!",
"things to do if ur face becomes benjamin frenklin", "free software!",
"how do defeat an pasta", "im... stuff!",
"can you go to space?", "frick capitalism!",
"how to become a god?", "still calling it twitter btw!",
"is a panda a panda if pandas???", "boop!",
"Minecraft movie trailer", "no way!",
"monke", "traaaa rightssss!",
"XD!",
"nya!",
"say gex!",
"ur valid :3",
"gay space communism!",
"doesnt have AI!",
"no web3!",
"keemstar is a bald ___!",
"No One calls it 'X'! ",
"Eat the rich!",
"Does Not include Nazis!",
"also try piped!",
"not alt-right!",
"coke zero > coke classic!",
"poke & chill!",
"can play HD!",
"also try invidious!",
"also try vencord!",
"rms <3!",
"du hast",
"can u belive no one bought this?",
"reee",
"1.000.000€!",
"pika!",
"fsf.org",
"ssfffssfssfffaassssfsdf!",
"𝓯𝓻𝓮𝓪𝓴𝔂poke",
"they not like us!",
"to pimp a butterfly!",
"king kunta!",
"HUMBLE.",
"can you save my hds?",
"sahlo folina!",
"we come for you!",
"no chances!",
"dema dont control us!",
"i see your problem is, your proctologist",
"got both hands on your shoulder",
"while ur bottomless!",
"you should bounce bounce bounce man!",
"its lavish!",
"im vibin, vibin!",
"i would swim the paladin strait",
"hello clancy!",
"NO NOT ME,ITS FOR A FRIEND",
"im fairly local!",
"i dont wanna go like this!",
"east is up!",
"not done, josh dun!",
"your the judge, oh no!",
"I dont wanna backslide",
"welcome back to trench!",
"sai is propaganda!",
" •|i|• Ø i+! ].[",
"stay alive! |-/",
"the few, the proud, the Emotional!",
"ill morph into someone else",
"still alive",
"follow the torches",
"i created this world!",
"to feel some control!",
"destory it if i want!",
"o7 keons",
"at least let me clean my room",
"100+ stars on gh!",
"let the vibe slide over me!",
"sip a capri sun like its don peregon",
"now even gayer!",
"its joever..",
"lesbiam,,,",
"poke!!!",
"discord.poketube.fun!",
"women are pretty!",
"men are handsome!",
"enbys are cute!",
"you are cute :3",
"read if cute!",
"this shit awesome!",
"ur pawsome!",
"meows at u",
"hai i am gay",
"yay, GEX!",
"say gex..,,",
"wha if we um erm",
"turkey is literally 1984!",
"turkey is literally 1984!",
"turkey is literally 1984!",
"turkey is literally 1984!",
"turkey is literally 1984!",
"turkey is literally 1984!",
"awesome screen!",
"awesome camera!",
"long lasting battery life",
"stallmansupport.org!!!",
"does include nya~!!!",
"actually stable! :3",
]; ];
const initPokeTube = function () { const initPokeTube = function () {
@ -170,13 +266,19 @@ const limiter = rateLimit({
}); });
app.use(function (req, res, next) { app.use(function (req, res, next) {
const random = random_words[Math.floor(Math.random() * random_words.length)];
res.header( res.header(
"X-PokeTube-Youtube-Client-Name", "X-PokeTube-Youtube-Client-Name",
innertube.innertube.CONTEXT_CLIENT.INNERTUBE_CONTEXT_CLIENT_NAME innertube.innertube.CONTEXT_CLIENT.INNERTUBE_CONTEXT_CLIENT_NAME
); );
res.header( res.header(
"Hey-there", "Hey-there",
"Do u wanna help poke? contributons are welcome :3 https://codeberg.org/Ashley/poke" "Do u wanna help poke? contributions are welcome :3 https://codeberg.org/Ashley/poke"
);
res.header(
"splash",
random
); );
res.header( res.header(
"X-PokeTube-Youtube-Client-Version", "X-PokeTube-Youtube-Client-Version",