maker-logos.js 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887
  1. import axios from "axios";
  2. import cheerio from "cheerio";
  3. import FormData from "form-data";
  4. const split = '|';
  5. const handler = async (m, {conn, args: [effect], text: txt, usedPrefix, command, name}) => {
  6. if (!effect) throw '*โš ๏ธ ยฟ๐‚๐จ๐ฆ๐จ ๐ฎ๐ฌ๐š๐ซ ๐ž๐ฌ๐ญ๐ž ๐œ๐จ๐ฆ๐š๐ง๐๐จ?*\nโ€ข _#logo (efecto) (texto)_\n*๐„๐ฃ๐ž๐ฆ๐ฉ๐ฅ๐จ:*\nโ€ข _#logo 3d-deep-sea-metal Mystic_\n\n*โš ๏ธ ๐‚๐ฎ๐š๐ง๐๐จ ๐ฅ๐ž๐ฌ ๐๐ข๐ ๐š ๐ช๐ฎ๐ž ๐ก๐š๐œ๐ž ๐Ÿ๐š๐ฅ๐ญ๐š ๐ฎ๐ง ๐ญ๐ž๐ฑ๐ญ๐จ ๐ž๐ฅ ๐ฎ๐ฌ๐จ ๐ฌ๐ž๐ซ๐ข๐š:*\nโ€ข _#logo (efecto) (texto1|texto2)_\n*๐„๐ฃ๐ž๐ฆ๐ฉ๐ฅ๐จ:*\nโ€ข _#logo Wolf-Logo-Galaxy Kantu|Bot_\n\n*<๐‘ณ๐‘ฐ๐‘บ๐‘ป๐‘จ ๐‘ซ๐‘ฌ ๐‘ฌ๐‘ญ๐‘ฌ๐‘ช๐‘ป๐‘ถ๐‘บ/>*\n\nยฐ เถฌโƒŸ๐Ÿ“ #logo ' + effects.map((v) => v.title).join('\nยฐ เถฌโƒŸ๐Ÿ“ #logo ');
  7. if (!effects.find((v) => (new RegExp(v.title, 'gi')).test(effect))) throw `*โš ๏ธ ๐„๐ฅ ๐ž๐Ÿ๐ž๐œ๐ญ๐จ ${effect} ๐ง๐จ ๐ž๐ฌ๐ญ๐š ๐ž๐ง ๐ฅ๐š ๐ฅ๐ข๐ฌ๐ญ๐š ๐๐ž ๐ž๐Ÿ๐ž๐œ๐ญ๐จ๐ฌ*`;
  8. let text = txt.replace(new RegExp(effect, 'gi'), '').trimStart();
  9. if (text.includes(split)) {
  10. text = text.split(split).map((t) => t.trim());
  11. } else {
  12. text = [text.trim()];
  13. }
  14. const effectoSelect = effects.find((effectz) => new RegExp(effectz?.title, 'i').test(effect));
  15. const res = await maker(effectoSelect?.url, [...text]).catch(_ => { throw '*โš ๏ธ า“แด€สŸแด›แด€ แด‡สŸ แด›แด‡xแด›แด แด€สŸ วซแดœแด‡ sแด‡ ส€แด‡แด€สŸษชแดขแด€ส€แด€ แด‡สŸ สŸแดษขแด*' })
  16. if (typeof res == 'number') throw res == -1 ? `*โš ๏ธ แด‡สŸ แด‡า“แด‡แด„แด›แด ${effect} ษดแด แด‡sแด›แด€ แด‡ษด สŸแด€ สŸษชsแด›แด€ แด…แด‡ แด‡า“แด‡แด„แด›แดs*` : `*โš ๏ธ แด‡สŸ แดœsแด แด„แดส€ส€แด‡แด„แด›แด แด…แด‡สŸ แด„แดแดแด€ษดแด…แด แด‡s ${usedPrefix + command} ${effect} ${new Array(res).fill('texto').map((v, i) => v + (i ? i + 1 : '')).join('|')}*`;
  17. await conn.sendMessage(m.chat, {image: {url: res.image}, caption: `*๐Ÿ’ซ ๐€๐ช๐ฎ๐ข ๐ญ๐ข๐ž๐ง๐ž ๐ญ๐ฎ ๐ข๐ฆ๐š๐ ๐ž๐ง ๐ฉ๐ž๐ซ๐ฌ๐จ๐ง๐š๐ฅ๐ข๐ณ๐š๐๐š!!*\n*โ€ข ๐„๐Ÿ๐ž๐œ๐ญ๐จ๐ฌ: ${effect}*\n${wm}`}, {quoted: m});
  18. };
  19. handler.help = ['logos'];
  20. handler.tags = ['logo'];
  21. handler.command = /^(logo|logos|logos2)$/i;
  22. handler.register = true
  23. handler.limit = 1
  24. export default handler;
  25. var effects = [
  26. {
  27. 'title': '3d-deep-sea-metal',
  28. 'url': 'https://textpro.me/create-3d-deep-sea-metal-text-effect-online-1053.html',
  29. },
  30. {
  31. 'title': 'American-flag-3D',
  32. 'url': 'https://textpro.me/create-american-flag-3d-text-effect-online-1051.html',
  33. },
  34. {
  35. 'title': '3D-sci-fi',
  36. 'url': 'https://textpro.me/create-3d-sci-fi-text-effect-online-1050.html',
  37. },
  38. {
  39. 'title': '3D-rainbow-color-calligraphy',
  40. 'url': 'https://textpro.me/3d-rainbow-color-calligraphy-text-effect-1049.html',
  41. },
  42. {
  43. 'title': '3D-water-pipe',
  44. 'url': 'https://textpro.me/create-3d-water-pipe-text-effects-online-1048.html',
  45. },
  46. {
  47. 'title': 'Halloween-skeleton',
  48. 'url': 'https://textpro.me/create-halloween-skeleton-text-effect-online-1047.html',
  49. },
  50. {
  51. 'title': 'a-spooky-Halloween',
  52. 'url': 'https://textpro.me/create-a-spooky-halloween-text-effect-online-1046.html',
  53. },
  54. {
  55. 'title': 'a-cinematic-horror',
  56. 'url': 'https://textpro.me/create-a-cinematic-horror-text-effect-1045.html',
  57. },
  58. {
  59. 'title': 'a-sketch',
  60. 'url': 'https://textpro.me/create-a-sketch-text-effect-online-1044.html',
  61. },
  62. {
  63. 'title': 'blue-circuit-style',
  64. 'url': 'https://textpro.me/create-blue-circuit-style-text-effect-online-1043.html',
  65. },
  66. {
  67. 'title': 'space',
  68. 'url': 'https://textpro.me/create-space-text-effects-online-free-1042.html',
  69. },
  70. {
  71. 'title': 'a-metallic',
  72. 'url': 'https://textpro.me/create-a-metallic-text-effect-free-online-1041.html',
  73. },
  74. {
  75. 'title': 'Creat-glossy-metalic',
  76. 'url': 'https://textpro.me/creat-glossy-metalic-text-effect-free-online-1040.html',
  77. },
  78. {
  79. 'title': 'a-Captain-America',
  80. 'url': 'https://textpro.me/create-a-captain-america-text-effect-free-online-1039.html',
  81. },
  82. {
  83. 'title': 'science-fiction',
  84. 'url': 'https://textpro.me/create-science-fiction-text-effect-online-free-1038.html',
  85. },
  86. {
  87. 'title': 'Video-game-classic-8-bit',
  88. 'url': 'https://textpro.me/video-game-classic-8-bit-text-effect-1037.html',
  89. },
  90. {
  91. 'title': 'green-horror-style',
  92. 'url': 'https://textpro.me/create-green-horror-style-text-effect-online-1036.html',
  93. },
  94. {
  95. 'title': 'a-transformer',
  96. 'url': 'https://textpro.me/create-a-transformer-text-effect-online-1035.html',
  97. },
  98. {
  99. 'title': 'berry',
  100. 'url': 'https://textpro.me/create-berry-text-effect-online-free-1033.html',
  101. },
  102. {
  103. 'title': 'layered',
  104. 'url': 'https://textpro.me/create-layered-text-effects-online-free-1032.html',
  105. },
  106. {
  107. 'title': 'Online-thunder--generator',
  108. 'url': 'https://textpro.me/online-thunder-text-effect-generator-1031.html',
  109. },
  110. {
  111. 'title': 'a-magma-hot',
  112. 'url': 'https://textpro.me/create-a-magma-hot-text-effect-online-1030.html',
  113. },
  114. {
  115. 'title': '3D-stone-cracked-cool',
  116. 'url': 'https://textpro.me/3d-stone-cracked-cool-text-effect-1029.html',
  117. },
  118. {
  119. 'title': '3D-neon-light',
  120. 'url': 'https://textpro.me/create-3d-neon-light-text-effect-online-1028.html',
  121. },
  122. {
  123. 'title': 'impressive-glitch',
  124. 'url': 'https://textpro.me/create-impressive-glitch-text-effects-online-1027.html',
  125. },
  126. {
  127. 'title': 'a-glitch',
  128. 'url': 'https://textpro.me/create-a-glitch-text-effect-online-free-1026.html',
  129. },
  130. {
  131. 'title': 'embossed--on-cracked-surface',
  132. 'url': 'https://textpro.me/create-embossed-text-effect-on-cracked-surface-1024.html',
  133. },
  134. {
  135. 'title': 'Broken-glass',
  136. 'url': 'https://textpro.me/broken-glass-text-effect-free-online-1023.html',
  137. },
  138. {
  139. 'title': 'art-paper-cut',
  140. 'url': 'https://textpro.me/create-art-paper-cut-text-effect-online-1022.html',
  141. },
  142. {
  143. 'title': 'artistic-black-and-white-status-and-quote-with-your-photos',
  144. 'url': 'https://textpro.me/create-artistic-black-and-white-status-and-quote-with-your-photos-1021.html',
  145. },
  146. {
  147. 'title': 'Online-3D-gradient--generator',
  148. 'url': 'https://textpro.me/online-3d-gradient-text-effect-generator-1020.html',
  149. },
  150. {
  151. 'title': 'a-3D-glossy-metal',
  152. 'url': 'https://textpro.me/create-a-3d-glossy-metal-text-effect-1019.html',
  153. },
  154. {
  155. 'title': '3D-realistic--on-the-beach',
  156. 'url': 'https://textpro.me/create-3d-realistic-text-effect-on-the-beach-online-1018.html',
  157. },
  158. {
  159. 'title': 'a-watercolor',
  160. 'url': 'https://textpro.me/create-a-free-online-watercolor-text-effect-1017.html',
  161. },
  162. {
  163. 'title': 'Online-multicolor-3D-paper-cut',
  164. 'url': 'https://textpro.me/online-multicolor-3d-paper-cut-text-effect-1016.html',
  165. },
  166. {
  167. 'title': 'Write-text-on-foggy-window',
  168. 'url': 'https://textpro.me/write-text-on-foggy-window-online-free-1015.html',
  169. },
  170. {
  171. 'title': 'neon-devil-wings',
  172. 'url': 'https://textpro.me/create-neon-devil-wings-text-effect-online-free-1014.html',
  173. },
  174. {
  175. 'title': '3D-underwater--generator',
  176. 'url': 'https://textpro.me/3d-underwater-text-effect-generator-online-1013.html',
  177. },
  178. {
  179. 'title': 'Online-black-and-white-bear-mascot-logo-creation',
  180. 'url': 'https://textpro.me/online-black-and-white-bear-mascot-logo-creation-1012.html',
  181. },
  182. {
  183. 'title': 'wonderful-graffiti-art',
  184. 'url': 'https://textpro.me/create-wonderful-graffiti-art-text-effect-1011.html',
  185. },
  186. {
  187. 'title': 'a-cool-graffiti-text-on-the-wall',
  188. 'url': 'https://textpro.me/create-a-cool-graffiti-text-on-the-wall-1010.html',
  189. },
  190. {
  191. 'title': 'cool-wall-graffiti',
  192. 'url': 'https://textpro.me/create-cool-wall-graffiti-text-effect-online-1009.html',
  193. },
  194. {
  195. 'title': 'a-christmas-holiday-snow',
  196. 'url': 'https://textpro.me/create-a-christmas-holiday-snow-text-effect-1007.html',
  197. },
  198. {
  199. 'title': 'a-futuristic-technology-neon-light',
  200. 'url': 'https://textpro.me/create-a-futuristic-technology-neon-light-text-effect-1006.html',
  201. },
  202. {
  203. 'title': 'snow--for-winter-holidays',
  204. 'url': 'https://textpro.me/create-snow-text-effects-for-winter-holidays-1005.html',
  205. },
  206. {
  207. 'title': 'a-cloud--on-the-sky',
  208. 'url': 'https://textpro.me/create-a-cloud-text-effect-on-the-sky-online-1004.html',
  209. },
  210. {
  211. 'title': '3D-luxury-gold',
  212. 'url': 'https://textpro.me/3d-luxury-gold-text-effect-online-1003.html',
  213. },
  214. {
  215. 'title': '3D-gradient',
  216. 'url': 'https://textpro.me/3d-gradient-text-effect-online-free-1002.html',
  217. },
  218. {
  219. 'title': 'Blackpink-logo-style',
  220. 'url': 'https://textpro.me/create-blackpink-logo-style-online-1001.html',
  221. },
  222. {
  223. 'title': 'realistic-vintage-style-light-bulb',
  224. 'url': 'https://textpro.me/create-realistic-vintage-style-light-bulb-1000.html',
  225. },
  226. {
  227. 'title': 'realistic-cloud',
  228. 'url': 'https://textpro.me/create-realistic-cloud-text-effect-online-free-999.html',
  229. },
  230. {
  231. 'title': 'a-cloud--in-the-sky',
  232. 'url': 'https://textpro.me/create-a-cloud-text-effect-in-the-sky-online-997.html',
  233. },
  234. {
  235. 'title': 'Write-in-Sand-Summer-Beach',
  236. 'url': 'https://textpro.me/write-in-sand-summer-beach-free-online-991.html',
  237. },
  238. {
  239. 'title': 'Sand-Writing',
  240. 'url': 'https://textpro.me/sand-writing-text-effect-online-990.html',
  241. },
  242. {
  243. 'title': 'Sand-engraved-3d',
  244. 'url': 'https://textpro.me/sand-engraved-3d-text-effect-989.html',
  245. },
  246. {
  247. 'title': 'a-summery-sand-writing',
  248. 'url': 'https://textpro.me/create-a-summery-sand-writing-text-effect-988.html',
  249. },
  250. {
  251. 'title': 'Foil-Balloon--For-Birthday',
  252. 'url': 'https://textpro.me/foil-balloon-text-effect-for-birthday-987.html',
  253. },
  254. {
  255. 'title': '3d-glue--with-realistic-style',
  256. 'url': 'https://textpro.me/create-3d-glue-text-effect-with-realistic-style-986.html',
  257. },
  258. {
  259. 'title': 'space-3D',
  260. 'url': 'https://textpro.me/create-space-3d-text-effect-online-985.html',
  261. },
  262. {
  263. 'title': 'Metal-Dark-Gold',
  264. 'url': 'https://textpro.me/metal-dark-gold-text-effect-984.html',
  265. },
  266. {
  267. 'title': 'Glitch--Style-Tik-Tok',
  268. 'url': 'https://textpro.me/create-glitch-text-effect-style-tik-tok-983.html',
  269. },
  270. {
  271. 'title': 'a-Stone',
  272. 'url': 'https://textpro.me/create-a-stone-text-effect-online-982.html',
  273. },
  274. {
  275. 'title': 'Neon-Light--With-Galaxy-Style',
  276. 'url': 'https://textpro.me/neon-light-text-effect-with-galaxy-style-981.html',
  277. },
  278. {
  279. 'title': '1917-Style',
  280. 'url': 'https://textpro.me/1917-style-text-effect-online-980.html',
  281. },
  282. {
  283. 'title': '80\'s-Retro-Neon',
  284. 'url': 'https://textpro.me/80-s-retro-neon-text-effect-online-979.html',
  285. },
  286. {
  287. 'title': 'Minion--3D',
  288. 'url': 'https://textpro.me/minion-text-effect-3d-online-978.html',
  289. },
  290. {
  291. 'title': 'Pornhub-Style-Logo',
  292. 'url': 'https://textpro.me/pornhub-style-logo-online-generator-free-977.html',
  293. },
  294. {
  295. 'title': 'Double-Exposure--Black-&-White',
  296. 'url': 'https://textpro.me/double-exposure-text-effect-black-white-976.html',
  297. },
  298. {
  299. 'title': 'Holographic-3D',
  300. 'url': 'https://textpro.me/holographic-3d-text-effect-975.html',
  301. },
  302. {
  303. 'title': '3D-Avengers-logo',
  304. 'url': 'https://textpro.me/create-3d-avengers-logo-online-974.html',
  305. },
  306. {
  307. 'title': 'Metal-Purple-Dual-Effect',
  308. 'url': 'https://textpro.me/metal-purple-dual-effect-973.html',
  309. },
  310. {
  311. 'title': 'logo-style-Marvel-studios-Ver:-metal',
  312. 'url': 'https://textpro.me/create-logo-style-marvel-studios-ver-metal-972.html',
  313. },
  314. {
  315. 'title': 'logo-style-Marvel-studios',
  316. 'url': 'https://textpro.me/create-logo-style-marvel-studios-online-971.html',
  317. },
  318. {
  319. 'title': 'Deluxe-Silver',
  320. 'url': 'https://textpro.me/deluxe-silver-text-effect-970.html',
  321. },
  322. {
  323. 'title': 'Color-Full-Luxury-Metal',
  324. 'url': 'https://textpro.me/color-full-luxury-metal-text-effect-969.html',
  325. },
  326. {
  327. 'title': 'Glossy-Blue-Metal',
  328. 'url': 'https://textpro.me/glossy-blue-metal-text-effect-967.html',
  329. },
  330. {
  331. 'title': 'Deluxe-Gold',
  332. 'url': 'https://textpro.me/deluxe-gold-text-effect-966.html',
  333. },
  334. {
  335. 'title': 'Glossy-Carbon',
  336. 'url': 'https://textpro.me/glossy-carbon-text-effect-965.html',
  337. },
  338. {
  339. 'title': 'Fabric',
  340. 'url': 'https://textpro.me/fabric-text-effect-online-964.html',
  341. },
  342. {
  343. 'title': 'Neon',
  344. 'url': 'https://textpro.me/neon-text-effect-online-963.html',
  345. },
  346. {
  347. 'title': 'New-Year-Cards-3D-By-Name',
  348. 'url': 'https://textpro.me/new-year-cards-3d-by-name-960.html',
  349. },
  350. {
  351. 'title': 'Happ-new-year-card-firework-gif',
  352. 'url': 'https://textpro.me/happ-new-year-card-firework-gif-959.html',
  353. },
  354. {
  355. 'title': 'Fullcolor-Balloon',
  356. 'url': 'https://textpro.me/fullcolor-balloon-text-effect-958.html',
  357. },
  358. {
  359. 'title': 'Text-Logo-3D-Metal',
  360. 'url': 'https://textpro.me/create-text-logo-3d-metal-online-957.html',
  361. },
  362. {
  363. 'title': 'avatar-gold',
  364. 'url': 'https://textpro.me/create-avatar-gold-online-956.html',
  365. },
  366. {
  367. 'title': 'Text-Logo-3D-Metal-Silver',
  368. 'url': 'https://textpro.me/text-logo-3d-metal-silver-946.html',
  369. },
  370. {
  371. 'title': 'Text-Logo-3D-Metal-Rose-Gold',
  372. 'url': 'https://textpro.me/text-logo-3d-metal-rose-gold-945.html',
  373. },
  374. {
  375. 'title': 'Text-Logo-3D-Metal-Gold',
  376. 'url': 'https://textpro.me/text-logo-3d-metal-gold-944.html',
  377. },
  378. {
  379. 'title': 'Text-Logo-3D-Metal-Galaxy',
  380. 'url': 'https://textpro.me/text-logo-3d-metal-galaxy-943.html',
  381. },
  382. {
  383. 'title': 'Xmas-Cards-3D',
  384. 'url': 'https://textpro.me/xmas-cards-3d-online-942.html',
  385. },
  386. {
  387. 'title': 'Blood-Text-On-The-Frosted-Glass',
  388. 'url': 'https://textpro.me/blood-text-on-the-frosted-glass-941.html',
  389. },
  390. {
  391. 'title': 'Halloween-Fire',
  392. 'url': 'https://textpro.me/halloween-fire-text-effect-940.html',
  393. },
  394. {
  395. 'title': 'Metal-Dark-Gold',
  396. 'url': 'https://textpro.me/metal-dark-gold-text-effect-online-939.html',
  397. },
  398. {
  399. 'title': 'Lion-Logo-Mascot',
  400. 'url': 'https://textpro.me/create-lion-logo-mascot-online-938.html',
  401. },
  402. {
  403. 'title': 'Wolf-Logo-Black-&-White',
  404. 'url': 'https://textpro.me/create-wolf-logo-black-white-937.html',
  405. },
  406. {
  407. 'title': 'Wolf-Logo-Galaxy',
  408. 'url': 'https://textpro.me/create-wolf-logo-galaxy-online-936.html',
  409. },
  410. {
  411. 'title': 'Ninja-Logo',
  412. 'url': 'https://textpro.me/create-ninja-logo-online-935.html',
  413. },
  414. {
  415. 'title': 'Logo-Joker',
  416. 'url': 'https://textpro.me/create-logo-joker-online-934.html',
  417. },
  418. {
  419. 'title': 'Wicker',
  420. 'url': 'https://textpro.me/wicker-text-effect-online-932.html',
  421. },
  422. {
  423. 'title': 'Natural-Leaves',
  424. 'url': 'https://textpro.me/natural-leaves-text-effect-931.html',
  425. },
  426. {
  427. 'title': 'Firework-Sparkle',
  428. 'url': 'https://textpro.me/firework-sparkle-text-effect-930.html',
  429. },
  430. {
  431. 'title': 'Skeleton',
  432. 'url': 'https://textpro.me/skeleton-text-effect-online-929.html',
  433. },
  434. {
  435. 'title': 'Red-Foil-Balloon',
  436. 'url': 'https://textpro.me/red-foil-balloon-text-effect-928.html',
  437. },
  438. {
  439. 'title': 'Purple-Foil-Balloon',
  440. 'url': 'https://textpro.me/purple-foil-balloon-text-effect-927.html',
  441. },
  442. {
  443. 'title': 'Pink-Foil-Balloon',
  444. 'url': 'https://textpro.me/pink-foil-balloon-text-effect-926.html',
  445. },
  446. {
  447. 'title': 'Green-Foil-Balloon',
  448. 'url': 'https://textpro.me/green-foil-balloon-text-effect-925.html',
  449. },
  450. {
  451. 'title': 'Cyan-Foil-Balloon',
  452. 'url': 'https://textpro.me/cyan-foil-balloon-text-effect-924.html',
  453. },
  454. {
  455. 'title': 'Blue-Foil-Balloon',
  456. 'url': 'https://textpro.me/blue-foil-balloon-text-effect-923.html',
  457. },
  458. {
  459. 'title': 'Gold-Foil-Balloon',
  460. 'url': 'https://textpro.me/gold-foil-balloon-text-effect-922.html',
  461. },
  462. {
  463. 'title': 'Steel',
  464. 'url': 'https://textpro.me/steel-text-effect-online-921.html',
  465. },
  466. {
  467. 'title': 'Ultra-Gloss',
  468. 'url': 'https://textpro.me/ultra-gloss-text-effect-online-920.html',
  469. },
  470. {
  471. 'title': 'Denim',
  472. 'url': 'https://textpro.me/denim-text-effect-online-919.html',
  473. },
  474. {
  475. 'title': 'Decorate-Green',
  476. 'url': 'https://textpro.me/decorate-green-text-effect-918.html',
  477. },
  478. {
  479. 'title': 'Decorate-Purple',
  480. 'url': 'https://textpro.me/decorate-purple-text-effect-917.html',
  481. },
  482. {
  483. 'title': 'Peridot-Stone',
  484. 'url': 'https://textpro.me/peridot-stone-text-effect-916.html',
  485. },
  486. {
  487. 'title': 'Rock',
  488. 'url': 'https://textpro.me/rock-text-effect-online-915.html',
  489. },
  490. {
  491. 'title': 'Lava',
  492. 'url': 'https://textpro.me/lava-text-effect-online-914.html',
  493. },
  494. {
  495. 'title': 'Yellow-Glass',
  496. 'url': 'https://textpro.me/yellow-glass-text-effect-913.html',
  497. },
  498. {
  499. 'title': 'Purple-Glass',
  500. 'url': 'https://textpro.me/purple-glass-text-effect-912.html',
  501. },
  502. {
  503. 'title': 'Orange-Glass',
  504. 'url': 'https://textpro.me/orange-glass-text-effect-911.html',
  505. },
  506. {
  507. 'title': 'Green-Glass',
  508. 'url': 'https://textpro.me/green-glass-text-effect-910.html',
  509. },
  510. {
  511. 'title': 'Cyan-Glass',
  512. 'url': 'https://textpro.me/cyan-glass-text-effect-909.html',
  513. },
  514. {
  515. 'title': 'Blue-Glass',
  516. 'url': 'https://textpro.me/blue-glass-text-effect-908.html',
  517. },
  518. {
  519. 'title': 'Red-Glass',
  520. 'url': 'https://textpro.me/red-glass-text-effect-907.html',
  521. },
  522. {
  523. 'title': 'Purple-Shiny-Glass',
  524. 'url': 'https://textpro.me/purple-shiny-glass-text-effect-906.html',
  525. },
  526. {
  527. 'title': 'Captain-America',
  528. 'url': 'https://textpro.me/captain-america-text-effect-905.html',
  529. },
  530. {
  531. 'title': 'Robot-R2-D2',
  532. 'url': 'https://textpro.me/robot-r2-d2-text-effect-903.html',
  533. },
  534. {
  535. 'title': 'Rainbow-Equalizer',
  536. 'url': 'https://textpro.me/rainbow-equalizer-text-effect-902.html',
  537. },
  538. {
  539. 'title': 'Toxic',
  540. 'url': 'https://textpro.me/toxic-text-effect-online-901.html',
  541. },
  542. {
  543. 'title': 'Pink-Sparkling-Jewelry',
  544. 'url': 'https://textpro.me/pink-sparkling-jewelry-text-effect-899.html',
  545. },
  546. {
  547. 'title': 'Blue-Sparkling-Jewelry',
  548. 'url': 'https://textpro.me/blue-sparkling-jewelry-text-effect-898.html',
  549. },
  550. {
  551. 'title': 'Green-Sparkling-Jewelry',
  552. 'url': 'https://textpro.me/green-sparkling-jewelry-text-effect-897.html',
  553. },
  554. {
  555. 'title': 'Purple-Sparkling-Jewelry',
  556. 'url': 'https://textpro.me/purple-sparkling-jewelry-text-effect-896.html',
  557. },
  558. {
  559. 'title': 'Gold-Sparkling-Jewelry',
  560. 'url': 'https://textpro.me/gold-sparkling-jewelry-text-effect-895.html',
  561. },
  562. {
  563. 'title': 'Red-Sparkling-Jewelry',
  564. 'url': 'https://textpro.me/red-sparkling-jewelry-text-effect-894.html',
  565. },
  566. {
  567. 'title': 'Cyan-Sparkling-Jewelry',
  568. 'url': 'https://textpro.me/cyan-sparkling-jewelry-text-effect-893.html',
  569. },
  570. {
  571. 'title': 'Purple-Glass',
  572. 'url': 'https://textpro.me/purple-glass-text-effect-online-892.html',
  573. },
  574. {
  575. 'title': 'Decorative-Glass',
  576. 'url': 'https://textpro.me/decorative-glass-text-effect-891.html',
  577. },
  578. {
  579. 'title': 'Chocolate-Cake',
  580. 'url': 'https://textpro.me/chocolate-cake-text-effect-890.html',
  581. },
  582. {
  583. 'title': 'Strawberry',
  584. 'url': 'https://textpro.me/strawberry-text-effect-online-889.html',
  585. },
  586. {
  587. 'title': 'Koi-Fish',
  588. 'url': 'https://textpro.me/koi-fish-text-effect-online-888.html',
  589. },
  590. {
  591. 'title': 'Bread',
  592. 'url': 'https://textpro.me/bread-text-effect-online-887.html',
  593. },
  594. {
  595. 'title': 'Matrix-Style',
  596. 'url': 'https://textpro.me/matrix-style-text-effect-online-884.html',
  597. },
  598. {
  599. 'title': 'Horror-Blood',
  600. 'url': 'https://textpro.me/horror-blood-text-effect-online-883.html',
  601. },
  602. {
  603. 'title': 'Neon-Light',
  604. 'url': 'https://textpro.me/neon-light-text-effect-online-882.html',
  605. },
  606. {
  607. 'title': 'Thunder',
  608. 'url': 'https://textpro.me/create-thunder-text-effect-online-881.html',
  609. },
  610. {
  611. 'title': '3D-Box',
  612. 'url': 'https://textpro.me/3d-box-text-effect-online-880.html',
  613. },
  614. {
  615. 'title': 'Neon',
  616. 'url': 'https://textpro.me/neon-text-effect-online-879.html',
  617. },
  618. {
  619. 'title': 'Road-Warning',
  620. 'url': 'https://textpro.me/road-warning-text-effect-878.html',
  621. },
  622. {
  623. 'title': '3D-Steel',
  624. 'url': 'https://textpro.me/3d-steel-text-effect-877.html',
  625. },
  626. {
  627. 'title': 'Bokeh',
  628. 'url': 'https://textpro.me/bokeh-text-effect-876.html',
  629. },
  630. {
  631. 'title': 'Green-Neon',
  632. 'url': 'https://textpro.me/green-neon-text-effect-874.html',
  633. },
  634. {
  635. 'title': 'Free-Advanced-Glow',
  636. 'url': 'https://textpro.me/free-advanced-glow-text-effect-873.html',
  637. },
  638. {
  639. 'title': 'Dropwater',
  640. 'url': 'https://textpro.me/dropwater-text-effect-872.html',
  641. },
  642. {
  643. 'title': 'Break-Wall',
  644. 'url': 'https://textpro.me/break-wall-text-effect-871.html',
  645. },
  646. {
  647. 'title': 'Chrismast-Gift',
  648. 'url': 'https://textpro.me/chrismast-gift-text-effect-869.html',
  649. },
  650. {
  651. 'title': 'Honey',
  652. 'url': 'https://textpro.me/honey-text-effect-868.html',
  653. },
  654. {
  655. 'title': 'Plastic-Bag-Drug',
  656. 'url': 'https://textpro.me/plastic-bag-drug-text-effect-867.html',
  657. },
  658. {
  659. 'title': 'Horror-Gift',
  660. 'url': 'https://textpro.me/horror-gift-text-effect-866.html',
  661. },
  662. {
  663. 'title': 'Marble-Slabs',
  664. 'url': 'https://textpro.me/marble-slabs-text-effect-864.html',
  665. },
  666. {
  667. 'title': 'Marble',
  668. 'url': 'https://textpro.me/marble-text-effect-863.html',
  669. },
  670. {
  671. 'title': 'Ice-Cold',
  672. 'url': 'https://textpro.me/ice-cold-text-effect-862.html',
  673. },
  674. {
  675. 'title': 'Fruit-Juice',
  676. 'url': 'https://textpro.me/fruit-juice-text-effect-861.html',
  677. },
  678. {
  679. 'title': 'Rusty-Metal',
  680. 'url': 'https://textpro.me/rusty-metal-text-effect-860.html',
  681. },
  682. {
  683. 'title': 'Abstra-Gold',
  684. 'url': 'https://textpro.me/abstra-gold-text-effect-859.html',
  685. },
  686. {
  687. 'title': 'Biscuit',
  688. 'url': 'https://textpro.me/biscuit-text-effect-858.html',
  689. },
  690. {
  691. 'title': 'Bagel',
  692. 'url': 'https://textpro.me/bagel-text-effect-857.html',
  693. },
  694. {
  695. 'title': 'Wood',
  696. 'url': 'https://textpro.me/wood-text-effect-856.html',
  697. },
  698. {
  699. 'title': 'SCI---Fi',
  700. 'url': 'https://textpro.me/sci-fi-text-effect-855.html',
  701. },
  702. {
  703. 'title': 'Metal-Rainbow',
  704. 'url': 'https://textpro.me/metal-rainbow-text-effect-854.html',
  705. },
  706. {
  707. 'title': 'Purple-Gem',
  708. 'url': 'https://textpro.me/purple-gem-text-effect-853.html',
  709. },
  710. {
  711. 'title': 'Shiny-Metal',
  712. 'url': 'https://textpro.me/shiny-metal-text-effect-852.html',
  713. },
  714. {
  715. 'title': 'Yellow-Jewelry',
  716. 'url': 'https://textpro.me/yellow-jewelry-text-effect-851.html',
  717. },
  718. {
  719. 'title': 'Silver-Jewelry',
  720. 'url': 'https://textpro.me/silver-jewelry-text-effect-850.html',
  721. },
  722. {
  723. 'title': 'Red-Jewelry',
  724. 'url': 'https://textpro.me/red-jewelry-text-effect-849.html',
  725. },
  726. {
  727. 'title': 'Purple-Jewelry',
  728. 'url': 'https://textpro.me/purple-jewelry-text-effect-848.html',
  729. },
  730. {
  731. 'title': 'Orange-Jewelry',
  732. 'url': 'https://textpro.me/orange-jewelry-text-effect-847.html',
  733. },
  734. {
  735. 'title': 'Green-Jewelry',
  736. 'url': 'https://textpro.me/green-jewelry-text-effect-846.html',
  737. },
  738. {
  739. 'title': 'Cyan-Jewelry',
  740. 'url': 'https://textpro.me/cyan-jewelry-text-effect-845.html',
  741. },
  742. {
  743. 'title': 'Blue-Jewelry',
  744. 'url': 'https://textpro.me/blue-jewelry-text-effect-844.html',
  745. },
  746. {
  747. 'title': 'Hot-Metal',
  748. 'url': 'https://textpro.me/hot-metal-text-effect-843.html',
  749. },
  750. {
  751. 'title': 'Hexa-Golden',
  752. 'url': 'https://textpro.me/hexa-golden-text-effect-842.html',
  753. },
  754. {
  755. 'title': 'Blue-Glitter',
  756. 'url': 'https://textpro.me/blue-glitter-text-effect-841.html',
  757. },
  758. {
  759. 'title': 'Purple-Glitter',
  760. 'url': 'https://textpro.me/purple-glitter-text-effect-840.html',
  761. },
  762. {
  763. 'title': 'Pink-Glitter',
  764. 'url': 'https://textpro.me/pink-glitter-text-effect-839.html',
  765. },
  766. {
  767. 'title': 'Green-Glitter',
  768. 'url': 'https://textpro.me/green-glitter-text-effect-838.html',
  769. },
  770. {
  771. 'title': 'Silver-Glitter',
  772. 'url': 'https://textpro.me/silver-glitter-text-effect-837.html',
  773. },
  774. {
  775. 'title': 'Gold-Glitter',
  776. 'url': 'https://textpro.me/gold-glitter-text-effect-836.html',
  777. },
  778. {
  779. 'title': 'Bronze-Glitter',
  780. 'url': 'https://textpro.me/bronze-glitter-text-effect-835.html',
  781. },
  782. {
  783. 'title': 'Eroded-Metal',
  784. 'url': 'https://textpro.me/eroded-metal-text-effect-834.html',
  785. },
  786. {
  787. 'title': 'Carbon',
  788. 'url': 'https://textpro.me/carbon-text-effect-833.html',
  789. },
  790. {
  791. 'title': 'Pink-Candy',
  792. 'url': 'https://textpro.me/pink-candy-text-effect-832.html',
  793. },
  794. {
  795. 'title': 'Blue-Metal',
  796. 'url': 'https://textpro.me/blue-metal-text-effect-831.html',
  797. },
  798. {
  799. 'title': 'Blue-Gem',
  800. 'url': 'https://textpro.me/blue-gem-text-effect-830.html',
  801. },
  802. {
  803. 'title': 'Black-Metal',
  804. 'url': 'https://textpro.me/black-metal-text-effect-829.html',
  805. },
  806. {
  807. 'title': '3D-Glowing-Metal',
  808. 'url': 'https://textpro.me/3d-glowing-metal-text-effect-828.html',
  809. },
  810. {
  811. 'title': '3D-Chrome',
  812. 'url': 'https://textpro.me/3d-chrome-text-effect-827.html',
  813. },
  814. ];
  815. async function maker(url, text) {
  816. if (/https?:\/\/(ephoto360|photooxy|textpro)\/\.(com|me)/i.test(url)) throw new Error("URL Invalid")
  817. try {
  818. let a = await axios.get(url, {
  819. headers: {
  820. "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
  821. "Origin": (new URL(url)).origin,
  822. "Referer": url,
  823. "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36 Edg/115.0.1901.188"
  824. }
  825. })
  826. let $ = cheerio.load(a.data)
  827. let server = $('#build_server').val()
  828. let serverId = $('#build_server_id').val()
  829. let token = $('#token').val()
  830. let submit = $('#submit').val()
  831. let types = [];
  832. $('input[name="radio0[radio]"]').each((i, elem) => {
  833. types.push($(elem).attr("value"));
  834. })
  835. let post;
  836. if (types.length != 0) {
  837. post = {
  838. 'radio0[radio]': types[Math.floor(Math.random() * types.length)],
  839. 'submit': submit,
  840. 'token': token,
  841. 'build_server': server,
  842. 'build_server_id': Number(serverId)
  843. };
  844. }
  845. else {
  846. post = {
  847. 'submit': submit,
  848. 'token': token,
  849. 'build_server': server,
  850. 'build_server_id': Number(serverId)
  851. }
  852. }
  853. let form = new FormData()
  854. for (let i in post) {
  855. form.append(i, post[i])
  856. }
  857. if (typeof text == "string") text = [text]
  858. for (let i of text) form.append("text[]", i)
  859. let b = await axios.post(url, form, {
  860. headers: {
  861. "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
  862. "Origin": (new URL(url)).origin,
  863. "Referer": url,
  864. "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36 Edg/115.0.1901.188",
  865. "Cookie": a.headers.get("set-cookie").join("; "),
  866. ...form.getHeaders()
  867. }
  868. })
  869. $ = cheerio.load(b.data)
  870. let out = ($('#form_value').first().text() || $('#form_value_input').first().text() || $('#form_value').first().val() || $('#form_value_input').first().val())
  871. let c = await axios.post((new URL(url)).origin + "/effect/create-image", JSON.parse(out), {
  872. headers: {
  873. "Accept": "*/*",
  874. "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8",
  875. "Origin": (new URL(url)).origin,
  876. "Referer": url,
  877. "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36 Edg/115.0.1901.188",
  878. "Cookie": a.headers.get("set-cookie").join("; ")
  879. }
  880. })
  881. return {status: c.data?.success, image: server + (c.data?.fullsize_image || c.data?.image || ""), session: c.data?.session_id}
  882. } catch (e) {
  883. throw e
  884. }
  885. }