diff --git a/cmdeploy/src/cmdeploy/nginx/nginx.conf.j2 b/cmdeploy/src/cmdeploy/nginx/nginx.conf.j2 index 7b3b91b..3f72f48 100644 --- a/cmdeploy/src/cmdeploy/nginx/nginx.conf.j2 +++ b/cmdeploy/src/cmdeploy/nginx/nginx.conf.j2 @@ -70,15 +70,17 @@ http { access_log syslog:server=unix:/dev/log,facility=local7; + location ~ ^/(channels|privacy)/?$ { + default_type text/html; + try_files /$1.html =404; + } + location / { # First attempt to serve request as file, then # as directory, then fall back to displaying a 404. try_files $uri $uri/ =404; } - # Redirect exact /channels (no trailing slash) to /channels/ - location = /channels { - return 301 $scheme://$host$uri/; - } + location /metrics { default_type text/plain; } diff --git a/www/arcanechat/channels.html b/www/arcanechat/channels.html new file mode 100644 index 0000000..9c5911a --- /dev/null +++ b/www/arcanechat/channels.html @@ -0,0 +1,293 @@ + + + + + + ArcaneChat Channels + + + +
+
+

Channel Directory

+

Discover ArcaneChat channels

+
+ +
+
+ + + + diff --git a/www/arcanechat/index.html b/www/arcanechat/index.html index 3528686..c9ee2fe 100644 --- a/www/arcanechat/index.html +++ b/www/arcanechat/index.html @@ -356,7 +356,8 @@ ArcaneChat Forum. To receive news and spoilers right inside ArcaneChat, you can subscribe to the official ArcaneChat Channel. To - get in contact with ArcaneChat developers right inside ArcaneChat, scan the following QR code or + get in contact with ArcaneChat developers right inside + ArcaneChat, scan the following QR code or click here.

diff --git a/www/arcanechat/pnpm-workspace.yaml b/www/arcanechat/pnpm-workspace.yaml new file mode 100644 index 0000000..16625f0 --- /dev/null +++ b/www/arcanechat/pnpm-workspace.yaml @@ -0,0 +1,3 @@ +allowBuilds: + "@parcel/watcher": false + esbuild: true diff --git a/www/arcanechat/public/assets/channels/channels-others.json b/www/arcanechat/public/assets/channels/channels-others.json new file mode 100644 index 0000000..fcfec22 --- /dev/null +++ b/www/arcanechat/public/assets/channels/channels-others.json @@ -0,0 +1,18 @@ +[ + { + "settings": { + "name": "Debugging Memes", + "description": "Memes and other content around developers, free/libre software culture and other nerdy stuff" + }, + "image": "debugging-memes.png", + "invite": "https://i.delta.chat/#B68D965B65A63BBE7EB32D56234652E2C899213F&v=3&x=ImcSr1dp4fEWrZreS4Emlb5u&j=eX6UqJEePp9y_i-225abLctf&s=NKEuhQYd9UlzXhnW7rCTHNbF&a=57cyvwkiidqqxnryms0q%40chat.in%2Dthe.eu&n=Debugging+Memes&b=Debugging+Memes" + }, + { + "settings": { + "name": "Meme Logistics", + "description": "Your go-to lefty memes supply chain. Join us, you have nothing to lose but your chains!" + }, + "image": "meme-logistics.jpg", + "invite": "https://i.delta.chat/#818297831FAA0AB9917497FA5B145F41993374F1&v=3&x=xusVctOPSGOA6oFq4esfR68V&j=YspskxfxoImavuPj3qFTuX7H&s=d1sWSLq-ceUR9x5nJpWX7dLa&a=207nv967sz55do78f1xj%40chat.in%2Dthe.eu&n=Meme+Logistics&b=Meme+Logistics" + } +] diff --git a/www/arcanechat/public/assets/channels/channels.json b/www/arcanechat/public/assets/channels/channels.json new file mode 100644 index 0000000..74ff3cd --- /dev/null +++ b/www/arcanechat/public/assets/channels/channels.json @@ -0,0 +1,126 @@ +[ + { + "settings": { + "url": "http://animecorner.me/feed/", + "name": "Anime Corner", + "description": "News & Features Straight From Japan. A reliable source of news about anime and Japan", + "html": false, + "socialImg": true + }, + "image": "animecorner.png", + "invite": "https://i.delta.chat/#EB87F92DC57303205E7F3ACB6DAA06D8FE761414&v=3&x=NE8KI1SvCtGBWE8krUJ1J7Gz&j=-Q4tOAHM6R9t9v8ZlfXTZzmX&s=HzAlOhkw7afFMGGBV_ipwHtG&a=6j2tb0xyz%40arcanechat.me&n=ChannelsBot&b=Anime+Corner" + }, + { + "settings": { + "url": "https://newatlas.com/technology/index.rss", + "name": "New Atlas: Technology", + "description": "Technology News. Extraordinary ideas and innovations moving the world forward.", + "html": false, + "extractImg": true + }, + "image": "new-atlas.jpg", + "invite": "https://i.delta.chat/#EB87F92DC57303205E7F3ACB6DAA06D8FE761414&v=3&x=stxlc-uanELJUkKlQanbApJq&j=0N8oaa7wCRRfpsjvECBROdU1&s=YHPb1I1u0B9cZwjYSKKjr-Ef&a=6j2tb0xyz%40arcanechat.me&n=ChannelsBot&b=New+Atlas%3A+Technology" + }, + { + "settings": { + "url": "https://feeds.feedburner.com/smittenkitchen", + "name": "Smitten Kitchen", + "description": "Fearless cooking from a tiny NYC kitchen", + "extractImg": true + }, + "image": "smitten-kitchen.png", + "invite": "https://i.delta.chat/#EB87F92DC57303205E7F3ACB6DAA06D8FE761414&v=3&x=sMDBUBjhmIdCn4vh1kJlK2qX&j=WvqpUwYPMgOw3IeqArCY84g9&s=Vc3MYePPJzlB-ZBOoxJ8_i0H&a=6j2tb0xyz%40arcanechat.me&n=ChannelsBot&b=Smitten+Kitchen" + }, + { + "settings": { + "url": "https://damndelicious.net/feed/", + "name": "Damn Delicious", + "description": "Quick and Easy Recipes", + "extractImg": true + }, + "image": "damn-delicious.png", + "invite": "https://i.delta.chat/#EB87F92DC57303205E7F3ACB6DAA06D8FE761414&v=3&x=lQXlrGYNu-Vt15ReKOS5LgVI&j=2JxUQxKSeOASyp3qflMcsQ7R&s=ITadcr8PbiWuyeLv7bdJ5rb7&a=6j2tb0xyz%40arcanechat.me&n=ChannelsBot&b=Damn+Delicious" + }, + { + "settings": { + "url": "https://refractor.io/index.rss", + "name": "Refractor - Science in Focus", + "description": "Latest Science and Health news. Extraordinary ideas moving the world forward.", + "html": false, + "extractImg": true + }, + "image": "refractor.png", + "invite": "https://i.delta.chat/#EB87F92DC57303205E7F3ACB6DAA06D8FE761414&v=3&x=IYXGrjwIfoSSQp_6Tx3_cM83&j=4Tz1Jkg1V5dziiDQGMLiQ_vk&s=SlY-mJEObtnoOndD1JQJvHt9&a=6j2tb0xyz%40arcanechat.me&n=ChannelsBot&b=Refractor+%2D+Science" + }, + { + "settings": { + "url": "https://delta.chat/feed.xml", + "name": "Delta Chat (Blog)", + "description": "The official Delta Chat blog (https://delta.chat/blog)", + "extractImg": true + }, + "image": "dc-blog.png", + "invite": "https://i.delta.chat/#EB87F92DC57303205E7F3ACB6DAA06D8FE761414&v=3&x=HAohSURiQW-mZg2OU8Nr50Gv&j=L8xK0jBW_d7BRFa1IHz5AvEK&s=Dat-girmoflpTTqYI9wgcPcB&a=6j2tb0xyz%40arcanechat.me&n=ChannelsBot&b=Delta+Chat+%28Blog%29" + }, + { + "settings": { + "url": "https://chaos.social/@delta.rss", + "name": "Delta Chat (Social)", + "description": "The official Delta Chat account in social media (https://chaos.social/@delta)", + "html": false + }, + "image": "dc-social.png", + "invite": "https://i.delta.chat/#EB87F92DC57303205E7F3ACB6DAA06D8FE761414&v=3&x=V0eoPL-0Ypa9BYEYPCBuNOYf&j=nM1_cgF2OBoC_3xVQnb9YQFD&s=8PQh-hIBaZxtHxWtlezrSAUC&a=6j2tb0xyz%40arcanechat.me&n=ChannelsBot&b=Delta+Chat+%28Social%29" + }, + { + "settings": { + "url": "https://www.wired.com/feed/rss", + "name": "WIRED", + "description": "In-depth reporting on technology, science, security, and innovation with expert commentary and investigative journalism", + "html": false + }, + "image": "wired.jpg", + "invite": "https://i.delta.chat/#EB87F92DC57303205E7F3ACB6DAA06D8FE761414&v=3&x=D_ZcNp3zuR0BVmVf8WOyH1q-&j=yHqqYUxPpl_qjiRgt_-dz2sY&s=RNBf2hvEl3CjtOkK7lI-2DGh&a=6j2tb0xyz%40arcanechat.me&n=ChannelsBot&b=WIRED" + }, + { + "settings": { + "url": "https://techcrunch.com/feed/", + "name": "TechCrunch", + "description": "Startup news, technology trends, product launches, and venture capital coverage from the global tech ecosystem", + "html": false, + "socialImg": true + }, + "image": "techcrunch.jpg", + "invite": "https://i.delta.chat/#EB87F92DC57303205E7F3ACB6DAA06D8FE761414&v=3&x=mtFjM8hBcM-nJkYGwzUP1Flq&j=Qu8gKeQsVD2Rc7cor57OxOrY&s=kp9bXgYKkdAGV19tY-ol6Dss&a=6j2tb0xyz%40arcanechat.me&n=ChannelsBot&b=TechCrunch" + }, + { + "settings": { + "url": "https://feeds.arstechnica.com/arstechnica/index", + "name": "Ars Technica", + "description": "Original news, reviews, analysis of tech trends, and expert advice on the most fundamental aspects of tech." + }, + "image": "arstechnica.png", + "invite": "https://i.delta.chat/#EB87F92DC57303205E7F3ACB6DAA06D8FE761414&v=3&x=1K7uC8gXJK1jf5Te4iOMlLF9&j=slow94rmJTHE_6KGEngvdY7-&s=CZBYtWNkRJLf39ynRl9mFIpj&a=6j2tb0xyz%40arcanechat.me&n=ChannelsBot&b=Ars+Technica" + }, + { + "settings": { + "url": "https://www.theverge.com/rss/science/index.xml", + "name": "Science | The Verge", + "description": "Featuring the latest in daily science news, Verge Science is all you need to keep track of what’s going on in health, the environment, and your whole world", + "extractImg": true + }, + "image": "the-verge.jpg", + "invite": "https://i.delta.chat/#EB87F92DC57303205E7F3ACB6DAA06D8FE761414&v=3&x=1ASwjrj09u6WUazySPqavMzw&j=kC4SMzOiE9nZcelgfHteQTs2&s=wIIYCJXMMi0v_FDIa2J4Ykfo&a=6j2tb0xyz%40arcanechat.me&n=ChannelsBot&b=Science+%7C+The+Verge" + }, + { + "settings": { + "url": "https://tmz.com/rss.xml", + "name": "TMZ", + "description": "Celebrity Gossip and Entertainment News, Covering Celebrity News and Hollywood Rumors. Get All The Latest Gossip at TMZ - Thirty Mile Zone", + "html": false, + "socialImg": true + }, + "image": "tmz.png", + "invite": "https://i.delta.chat/#EB87F92DC57303205E7F3ACB6DAA06D8FE761414&v=3&x=Lag8ma2zvqt9M6lxVyDFAK8M&j=28vnoDuiulBQ3ziLasFkBgTJ&s=yY_cA6MXlKR08nM5zllWlujZ&a=6j2tb0xyz%40arcanechat.me&n=ChannelsBot&b=TMZ" + } +] diff --git a/www/arcanechat/public/assets/channels/images/animecorner.png b/www/arcanechat/public/assets/channels/images/animecorner.png new file mode 100644 index 0000000..7bf952c Binary files /dev/null and b/www/arcanechat/public/assets/channels/images/animecorner.png differ diff --git a/www/arcanechat/public/assets/channels/images/arstechnica.png b/www/arcanechat/public/assets/channels/images/arstechnica.png new file mode 100644 index 0000000..124214e Binary files /dev/null and b/www/arcanechat/public/assets/channels/images/arstechnica.png differ diff --git a/www/arcanechat/public/assets/channels/images/damn-delicious.png b/www/arcanechat/public/assets/channels/images/damn-delicious.png new file mode 100644 index 0000000..ef7fef0 Binary files /dev/null and b/www/arcanechat/public/assets/channels/images/damn-delicious.png differ diff --git a/www/arcanechat/public/assets/channels/images/dc-blog.png b/www/arcanechat/public/assets/channels/images/dc-blog.png new file mode 100644 index 0000000..7696a54 Binary files /dev/null and b/www/arcanechat/public/assets/channels/images/dc-blog.png differ diff --git a/www/arcanechat/public/assets/channels/images/dc-social.png b/www/arcanechat/public/assets/channels/images/dc-social.png new file mode 100644 index 0000000..a49fefd Binary files /dev/null and b/www/arcanechat/public/assets/channels/images/dc-social.png differ diff --git a/www/arcanechat/public/assets/channels/images/debugging-memes.png b/www/arcanechat/public/assets/channels/images/debugging-memes.png new file mode 100644 index 0000000..dfa26c8 Binary files /dev/null and b/www/arcanechat/public/assets/channels/images/debugging-memes.png differ diff --git a/www/arcanechat/public/assets/channels/images/meme-logistics.jpg b/www/arcanechat/public/assets/channels/images/meme-logistics.jpg new file mode 100644 index 0000000..4a98932 Binary files /dev/null and b/www/arcanechat/public/assets/channels/images/meme-logistics.jpg differ diff --git a/www/arcanechat/public/assets/channels/images/new-atlas.jpg b/www/arcanechat/public/assets/channels/images/new-atlas.jpg new file mode 100644 index 0000000..3c4d0c3 Binary files /dev/null and b/www/arcanechat/public/assets/channels/images/new-atlas.jpg differ diff --git a/www/arcanechat/public/assets/channels/images/otaku-channel.jpg b/www/arcanechat/public/assets/channels/images/otaku-channel.jpg new file mode 100644 index 0000000..9ff0a53 Binary files /dev/null and b/www/arcanechat/public/assets/channels/images/otaku-channel.jpg differ diff --git a/www/arcanechat/public/assets/channels/images/refractor.png b/www/arcanechat/public/assets/channels/images/refractor.png new file mode 100644 index 0000000..afaa290 Binary files /dev/null and b/www/arcanechat/public/assets/channels/images/refractor.png differ diff --git a/www/arcanechat/public/assets/channels/images/smitten-kitchen.png b/www/arcanechat/public/assets/channels/images/smitten-kitchen.png new file mode 100644 index 0000000..0a64063 Binary files /dev/null and b/www/arcanechat/public/assets/channels/images/smitten-kitchen.png differ diff --git a/www/arcanechat/public/assets/channels/images/techcrunch.jpg b/www/arcanechat/public/assets/channels/images/techcrunch.jpg new file mode 100644 index 0000000..bc37fb7 Binary files /dev/null and b/www/arcanechat/public/assets/channels/images/techcrunch.jpg differ diff --git a/www/arcanechat/public/assets/channels/images/the-verge.jpg b/www/arcanechat/public/assets/channels/images/the-verge.jpg new file mode 100644 index 0000000..04e44cd Binary files /dev/null and b/www/arcanechat/public/assets/channels/images/the-verge.jpg differ diff --git a/www/arcanechat/public/assets/channels/images/tmz.png b/www/arcanechat/public/assets/channels/images/tmz.png new file mode 100644 index 0000000..49ebfa8 Binary files /dev/null and b/www/arcanechat/public/assets/channels/images/tmz.png differ diff --git a/www/arcanechat/public/assets/channels/images/wired.jpg b/www/arcanechat/public/assets/channels/images/wired.jpg new file mode 100644 index 0000000..e312446 Binary files /dev/null and b/www/arcanechat/public/assets/channels/images/wired.jpg differ diff --git a/www/arcanechat/vite.config.ts b/www/arcanechat/vite.config.ts index 3db1c74..a0a1171 100644 --- a/www/arcanechat/vite.config.ts +++ b/www/arcanechat/vite.config.ts @@ -7,6 +7,7 @@ export default defineConfig({ input: { main: resolve(__dirname, "index.html"), privacy: resolve(__dirname, "privacy.html"), + channels: resolve(__dirname, "channels.html"), }, }, },