From 8108951e33e5d2190eb27912c9916fe940c10bf4 Mon Sep 17 00:00:00 2001 From: babayaga Date: Mon, 31 Mar 2025 09:34:40 +0200 Subject: [PATCH] just great :) --- .astro/collections/resources.schema.json | 2 +- .cache/url-cache.json | 60 ++++++++++++------------ scripts/deploy.sh | 2 +- src/app/config.json | 2 +- src/base/kbot.ts | 3 +- src/config/config.json | 2 +- 6 files changed, 34 insertions(+), 37 deletions(-) diff --git a/.astro/collections/resources.schema.json b/.astro/collections/resources.schema.json index 6ad4aed..5dcc972 100644 --- a/.astro/collections/resources.schema.json +++ b/.astro/collections/resources.schema.json @@ -23,7 +23,7 @@ "format": "unix-time" } ], - "default": "2025-03-30T22:19:39.472Z" + "default": "2025-03-31T06:44:53.104Z" }, "description": { "type": "string", diff --git a/.cache/url-cache.json b/.cache/url-cache.json index 6e61a13..6e9a34a 100644 --- a/.cache/url-cache.json +++ b/.cache/url-cache.json @@ -552,7 +552,7 @@ }, "https://github.com/%5Bfiltered%5D": { "isValid": false, - "timestamp": 1743373312226 + "timestamp": 1743403538852 }, "https://github.com/darigovresearch": { "isValid": true, @@ -670,7 +670,7 @@ }, "https://scholarworks.uni.edu/cgi/viewcontent.cgi?article=3680%5C&context=grp": { "isValid": false, - "timestamp": 1743373180856 + "timestamp": 1743403494877 }, "https://pmc.ncbi.nlm.nih.gov/articles/PMC10489002/": { "isValid": true, @@ -754,7 +754,7 @@ }, "https://journals.plos.org/plosone/article?id=10.1371%252Fjournal.pone.0288696": { "isValid": false, - "timestamp": 1743373191749 + "timestamp": 1743403505359 }, "https://www.youtube.com/watch?v=_a7usMe_K38": { "isValid": true, @@ -841,7 +841,7 @@ }, "https://www.toraytac.com/media/c3feb206-1398-4e0e-bca6-df7780f11745/tcCurg/TenCate%2520Advanced%2520Composites/Documents/Technical%2520papers/TenCate_chopped_fiber_thermoplastics_compression_molding_technical_paper.pdf": { "isValid": false, - "timestamp": 1743373181608 + "timestamp": 1743403495719 }, "https://youtu.be/qtZv96cifIU": { "isValid": true, @@ -1397,7 +1397,7 @@ }, "https://www.amazon.it/s?k=cnc+CNC%20Router": { "isValid": true, - "timestamp": 1743373182654, + "timestamp": 1743403496755, "meta": { "title": "Ci dispiace", "image": "https://images-eu.ssl-images-amazon.com/images/G/29/x-locale/communities/people/logo.gif", @@ -1897,7 +1897,7 @@ }, "https://digitalcommons.calpoly.edu/cgi/viewcontent.cgi?article=1288%5C&context=eesp": { "isValid": false, - "timestamp": 1743373183846 + "timestamp": 1743403498128 }, "*": { "isValid": false, @@ -1905,7 +1905,7 @@ }, "https://partners.noplasticsunday.com/NPSblog/?bmode=view%5C&idx=11164797": { "isValid": true, - "timestamp": 1743373188051, + "timestamp": 1743403501467, "meta": { "title": "노플라스틱선데이", "description": "지속가능한 제조 서비스 NPS Partners", @@ -2062,7 +2062,7 @@ }, "https://www.youtube.com/watch?v=Eq9IbetsLB4%5C&t=2s": { "isValid": true, - "timestamp": 1743373189218, + "timestamp": 1743403502696, "meta": { "title": "Injection molding machine for recycling plastic", "description": "Injection molding machine for recycling plastic (called \"Smart Injector\"). The design is low-cost and uses easy componentsIMPORTANT! The machine is still wor...", @@ -2647,7 +2647,7 @@ }, "https://www.youtube.com/watch?time_continue=163%5C&v=95aPYlXShTY%5C&feature=emb_logo": { "isValid": true, - "timestamp": 1743373190403, + "timestamp": 1743403503894, "meta": { "title": "Hands-Free Door Opener: Technical Information", "description": "Discover our available models, printing and mounting instructions, and informational sticker for our 3D-printed hands-free door opener to avoid passing on CO...", @@ -2895,7 +2895,7 @@ }, "https://crescent.education/wp-content/uploads/2019/02/MODULE-II-%25E2%2580%2593-FUNDAMENTALS-OF-EXTRUSION-MOULDING.pdf": { "isValid": false, - "timestamp": 1743373191555 + "timestamp": 1743403505168 }, "https://rjginc.com/essential-injection-molding-safety-standards-and-practices/": { "isValid": true, @@ -2920,7 +2920,7 @@ }, "https://www.oldergeeks.com/downloads/search.php?limit=100%5C&string=Power+Software+Ltd.%5C&sort=file_name%5C&order=asc%5C&id=0%5C&page=9": { "isValid": true, - "timestamp": 1743373192799, + "timestamp": 1743403506463, "meta": { "favicon": "https://www.oldergeeks.com/favicon.ico" } @@ -3131,7 +3131,7 @@ }, "https://papers.ssrn.com/sol3/Delivery.cfm/733008ad-9620-43bf-896c-aa4a2e9931e5-MECA.pdf?abstractid=4611811%5C&mirid=1": { "isValid": true, - "timestamp": 1743373196462, + "timestamp": 1743403515712, "meta": { "title": "Page Cannot be Found", "favicon": "https://papers.ssrn.com/favicon.ico" @@ -3231,7 +3231,7 @@ }, "https://en.wikipedia.org/wiki/Jigsaw_%5C(power_tool%5C": { "isValid": false, - "timestamp": 1743373196648 + "timestamp": 1743403516509 }, "https://www.amazon.de/-/en/Stanley-10-099-Classic/dp/B001FWP58U": { "isValid": false, @@ -3819,7 +3819,7 @@ }, "https://scibizsw.com/20_THE%2520OFFICIAL%2520RASPBERRY%2520PI%2520PROJECTS%2520BOOK%2520v3.pdf": { "isValid": false, - "timestamp": 1743373214813 + "timestamp": 1743403536952 }, "https://archive.org/stream/MagPi/Projects_Book_v3_djvu.txt": { "isValid": true, @@ -5834,7 +5834,7 @@ }, "https://www.rainbow-pkg.com/news/youpinzhiku%25E4%25B8%25A8hot-stamping-and-cold-stamping-technology-which-one-is-more-suitable-for-your-packaging-products/": { "isValid": false, - "timestamp": 1743373200102 + "timestamp": 1743403520270 }, "https://ch-wauters.com/en/cold-foil-stamping-by-wauters/": { "isValid": true, @@ -6091,7 +6091,7 @@ }, "https://%5Bfiltered%5D.github.io/academy/build/compression": { "isValid": false, - "timestamp": 1743373200413 + "timestamp": 1743403520651 }, "https://davehakkens.nl/community/forums/topic/v4-sheet-press-mould-development/index.html": { "isValid": true, @@ -7218,7 +7218,7 @@ }, "https://guides.lib.virginia.edu/c.php?g=1164312%5C&p=8718414": { "isValid": true, - "timestamp": 1743373202568, + "timestamp": 1743403522934, "meta": { "title": "LibGuides: COVID-19 Pandemic Children's Book Collection: Normalizing Face Masks", "description": "LibGuides: COVID-19 Pandemic Children's Book Collection: Normalizing Face Masks", @@ -7462,7 +7462,7 @@ }, "https://forum.freecad.org/viewtopic.php?style=1%5C&t=62057": { "isValid": true, - "timestamp": 1743373203422, + "timestamp": 1743403523769, "meta": { "title": "Step by step tutorial on injection mold design - FreeCAD Forum", "image": "https://forum.freecad.org/styles/elegance/theme/images/logo.png", @@ -7664,7 +7664,7 @@ }, "https://www.youtube.com/watch?v=YzjTm3FRLVY%5C&t=5s": { "isValid": true, - "timestamp": 1743373204461, + "timestamp": 1743403524814, "meta": { "title": "Recycling plastic waste on the beaches of Panama", "description": "Precious Plastic community submission! Thanks Thomas, check him out in our forums:https://davehakkens.nl/community/members/thomasthefirst/More information: h...", @@ -7881,11 +7881,9 @@ }, "https://seafood.media/fis/worldnEws/worldnews.asp?monthyear=9-2024%5C&day=18%5C&id=131886%5C&l=e%5C&country=%5C&special=%5C&ndb=1%5C&df=1": { "isValid": true, - "timestamp": 1743373213823, + "timestamp": 1743403535866, "meta": { - "title": "Seafood Media Group - Worldnews", - "image": "https://seafood.media/fis/gif/free/flags/ES.gif", - "favicon": "https://seafood.media/favicon.ico" + "error": "This operation was aborted" } }, "https://theoceancleanup.com/oceans/": { @@ -8033,7 +8031,7 @@ }, "https://%5Bfiltered%5D.github.io/academy/build/sheetpressbuild": { "isValid": false, - "timestamp": 1743373214033 + "timestamp": 1743403536110 }, "https://www.singhalglobal.com/blog/sheets-of-hdpe-manufacturing-processes-and-various-use": { "isValid": true, @@ -8504,7 +8502,7 @@ }, "https://www.youtube.com/watch?v=gxkcffQD3eQ%5C&t=131s": { "isValid": true, - "timestamp": 1743373215717, + "timestamp": 1743403537908, "meta": { "title": "🎄⭐🎅Como hacer figuras de plástico- Figuras Navideñas de Plástico Reciclado🎄⭐🎅", "description": "En este tutorial reciclamos tapas de botellas y las convertimos en figuras navideñas usando la dremel motosaw y un horno de pizza", @@ -9409,7 +9407,7 @@ }, "https://scholarworks.uark.edu/cgi/viewcontent.cgi?article=1066%5C&context=inquiry": { "isValid": false, - "timestamp": 1743373314960 + "timestamp": 1743403541808 }, "https://www.youtube.com/watch?v=1OZVCOYlYy8": { "isValid": true, @@ -9435,7 +9433,7 @@ }, "https://www.forum.linuxcnc.org/30-cnc-machines/53486-the-linuxcnc-rigid-CNC%20Router-an-open-source-dual-z-axis-gantry-machine": { "isValid": true, - "timestamp": 1743373316630, + "timestamp": 1743403543700, "meta": { "title": "The LinuxCNC "Rigid Router" an open-source dual z-axis gantry machine", "description": "Hi all, I recently designed an open-source CNC router. My goal was to make a rigid, medium-format CNC router that can self-manufacture new machines and not...", @@ -9522,7 +9520,7 @@ }, "https://www.bunnings.com.au/search/products?q=fiber%2520cement": { "isValid": false, - "timestamp": 1743373317107 + "timestamp": 1743403543908 }, "https://safeworkwear.com.au/electrical-gloves": { "isValid": false, @@ -10099,7 +10097,7 @@ }, "https://citeseerx.ist.psu.edu/document?repid=rep1%5C&type=pdf%5C&doi=2d21d208bf921ec8278814cfbee00e60e54acfb4": { "isValid": false, - "timestamp": 1743373318127 + "timestamp": 1743403544916 }, "https://www.youtube.com/watch?v=viwbxM6F7zc": { "isValid": true, @@ -10304,7 +10302,7 @@ }, "https://dspace.mit.edu/bitstream/handle/1721.1/127868/1196826370-MIT.pdf?sequence=1%5C&isAllowed=y": { "isValid": true, - "timestamp": 1743373322178, + "timestamp": 1743403549102, "meta": { "favicon": "https://dspace.mit.edu/favicon.ico" } @@ -10400,7 +10398,7 @@ }, "*No%20link%20provided%20in%20source%20text*": { "isValid": false, - "timestamp": 1743373322306 + "timestamp": 1743403549224 }, "https://www.instructables.com/Bottle-Cap-Table-with-Poured-Resin-Surface/": { "isValid": true, diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 53011bb..eb0f751 100644 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -4,6 +4,6 @@ # Define local and remote paths LOCAL_DIR="./dist" -GDRIVE_DIR="polymech:/httpdocs" +GDRIVE_DIR="creava:/httpdocs" rclone copy "${LOCAL_DIR}" "${GDRIVE_DIR}" --progress --transfers 4 diff --git a/src/app/config.json b/src/app/config.json index e284ffc..c0e0ffc 100644 --- a/src/app/config.json +++ b/src/app/config.json @@ -1,7 +1,7 @@ { "site": { "title": "Polymech", - "base_url": "https://polymech.io/", + "base_url": "https://creava.org/", "description" : "", "base_path": "/", "trailing_slash": false, diff --git a/src/base/kbot.ts b/src/base/kbot.ts index d17475f..b7955b8 100644 --- a/src/base/kbot.ts +++ b/src/base/kbot.ts @@ -75,7 +75,6 @@ export const template_filter = async (text: string, template: string, context: T if(!text || text.length < 20) { return text; } - const environment = env() const templates = createTemplates(context); if (!templates[template]) { logger.warn(`No template found for ${template}`); @@ -93,7 +92,7 @@ export const template_filter = async (text: string, template: string, context: T context, ...resolvedTemplate, prompt: `${resolvedTemplate.prompt}\n\nText to process:\n${resolvedText}`, - variables: environment.variables + variables: env().variables }); return ret; }; diff --git a/src/config/config.json b/src/config/config.json index 3d865a7..76f5803 100644 --- a/src/config/config.json +++ b/src/config/config.json @@ -61,7 +61,7 @@ "city": "Barcelona", "author": "Creava", "author_bio": "I am in, if its true", - "author_url": "https://polymech.io/", + "author_url": "https://creava.org/", "image": "/images/og-image.png", "description": "Polymech is a plastic prototyping company that offers product design services.", "keywords": "Plastic, Craft, Prototyping, Product Design, Opensource"