#strapi — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #strapi, aggregated by home.social.
-
Как сделать типобезопасный клиент для Strapi: разбираем вывод типов из populate на уровне компилятора
У любого запроса к Strapi есть неприятное свойство: форма ответа зависит от того, что вы попросили. Запросили статью без populate — в ответе только скалярные поля. Добавили populate: { category: true } — появилась вложенная категория. Добавили fields: ['name'] внутри populate — категория пришла обрезанной. Один и тот же эндпоинт возвращает десятки разных форм, и статический TypeScript-интерфейс ни одну из них честно не описывает: он либо врёт (обещает поля, которых в этом конкретном ответе нет), либо бесполезен ( any ). В этой статье я разберу, как решить эту проблему кодогенерацией: как достать схему из работающего Strapi, сгенерировать по ней TypeScript-клиент и — самое интересное — как заставить систему типов вывести форму ответа прямо из аргумента populate на этапе компиляции. Подход Prisma-подобный: возвращаемый тип метода зависит от того, что вы передали в вызов. Код — на TypeScript; клиент, на примере которого я всё показываю, open-source под MIT, ссылка в конце. Как это устроено
https://habr.com/ru/articles/1059984/
#TypeScript #Strapi #кодогенерация #вывод_типов #conditional_types #дженерики #tsmorph #Headless_CMS #Prisma #типобезопасность
-
Having my first truly frustrating experience with #Claude in a long time working on a #strapi app.
Like usual, I created a plan. Even there it did a bad job at grasping what is already there.
But then applying it repeatedly deviated from the plan, didn't apply existing patterns (even though I repeatedly prompted it to follow established patterns).
Wonder if it's due to my lack of strapi experience, the fact that strapi is ultra flexible meaning there are too many options?
-
Having my first truly frustrating experience with #Claude in a long time working on a #strapi app.
Like usual, I created a plan. Even there it did a bad job at grasping what is already there.
But then applying it repeatedly deviated from the plan, didn't apply existing patterns (even though I repeatedly prompted it to follow established patterns).
Wonder if it's due to my lack of strapi experience, the fact that strapi is ultra flexible meaning there are too many options?
-
Deploying Strapi should not feel like solving a complex puzzle 🧩.
We have mapped out the last required steps to help you successfully configure and deploy your project with ease 🚀
From choosing your Git workflow to making final changes, everything you need is laid out step by step 🛠️
👉 https://developer.upsun.com/docs/get-started/stacks/strapi
-
Deploying Strapi should not feel like solving a complex puzzle 🧩.
We have mapped out the last required steps to help you successfully configure and deploy your project with ease 🚀
From choosing your Git workflow to making final changes, everything you need is laid out step by step 🛠️
👉 https://developer.upsun.com/docs/get-started/stacks/strapi
-
Headless CMS, или движки без руководящего компонента
В 1865 году британский журналист Томас Майн Рид написал роман "Всадник без головы", который послужит нам отправной точкой в вопросе о том, что же такое "безголовая" CMS и какие из них представлены сейчас на рынке веб-разработки. Давайте разбираться
https://habr.com/ru/articles/1051306/
#headless #headless_cms #strapi #directus #payload #fastapi #cms
-
Lighthouse 100 / 100: как мы повесили GTM, GA4, Яндекс.Метрику и Clarity на статический сайт — и не уронили скорость
Когда маркетологи хотят всё: сырые данные в GA4, запись сессий в Метрике, хитмапы в Clarity и при этом «Lighthouse 100» в PageSpeed Insights — приходится изобретать. Расскажу, как мы это сделали на небольшом проекте и во что это обошлось по времени и нервам. Проект — нишевый агрегатор российских хостинг-провайдеров. Более 120 страниц в sitemap, 31 статья, десятки категорий услуг, живые цены, сравнения. Стек: Astro 6 + Strapi 5 + Tailwind 4, плюс Partytown, PostgreSQL, Nginx и обычный VPS на Ubuntu. Сайт собирается в статику во время билда, никакого SSR в рантайме нет. На desktop — Lighthouse 100 / 100 / 100 / 100. На mobile с жёстким throttling (4x slow CPU) — 99 / 100 / 100 / 100. В реальных условиях и по Chrome UX Report — 100 везде. LCP на desktop — 0,5 секунды, на mobile throttled — 1,7 секунды. CLS — ноль. TBT — 10 ms на мобильном и 0 ms на десктопе.
https://habr.com/ru/articles/1042228/
#Astro #Strapi #Tailwind_CSS #Partytown #Lighthouse #Core_Web_Vitals #Web_Worker #GTM #performance #SSG
-
🎤 Yesterday morning I attended @aprilorg's Conférences éclairs. It was amazing to reconnect with Isa and see inspiring presentations, like Natacha's work on @lessanspages, Éric Le Bihan's #Linux4All, @julie's talk about #Strapi, @bookynette's talk on "what kind of volunteer are you?" and the closing presentation by Olivier Deiber on "Repairing the Future."
🔗: https://wiki.april.org/w/Assemblee_generale_28_mars_2026
🎨 In the afternoon we took our 5-year-old to the #Louvre Museum for the first time, she'd been obsessed with the Mona Lisa for 2 years and it was amazing to show her the original... as well as other paintings by Leonardo.
🎟️ Grateful that I had signed up for the Amis du Louvre (their annual membership program) so we were able to skip the lines to go in (200 people in front at least). And now I can take my little one to the Louvre whenever I want, since it's free for people under 18. So cool!
-
🎤 Yesterday morning I attended @aprilorg's Conférences éclairs. It was amazing to reconnect with Isa and see inspiring presentations, like Natacha's work on @lessanspages, Éric Le Bihan's #Linux4All, @julie's talk about #Strapi, @bookynette's talk on "what kind of volunteer are you?" and the closing presentation by Olivier Deiber on "Repairing the Future."
🔗: https://wiki.april.org/w/Assemblee_generale_28_mars_2026
🎨 In the afternoon we took our 5-year-old to the #Louvre Museum for the first time, she'd been obsessed with the Mona Lisa for 2 years and it was amazing to show her the original... as well as other paintings by Leonardo.
🎟️ Grateful that I had signed up for the Amis du Louvre (their annual membership program) so we were able to skip the lines to go in (200 people in front at least). And now I can take my little one to the Louvre whenever I want, since it's free for people under 18. So cool!
-
No, strapi! You are not GDPR compliant if tracking is opt-out. You certainly aren't since you removed the opt-out option, and with it any information that tracking is taking place, from the admin UI in version 5.
-
Полный деплой Strapi CMS + Nuxt.js на Ubuntu
Пошаговое руководство по развёртыванию блога с нуля: Strapi CMS (админка и API) и Nuxt.js (фронтенд) на VPS Ubuntu. В итоге — работающий блог за Nginx с возможностью включить SSL по отдельной инструкции. Узнать подробнее
-
I have added a feature request for Strapi admin.
If you use Strapi and find this useful, give it a thumb up so it has more weight.Thanks!
https://feedback.strapi.io/customization/p/add-a-global-toggle-in-the-admin-ui
-
Как я строил бэкенд с ментальностью фронтендера: история одного провала
Я в IT больше 10 лет. Начинал с верстки, вырос в фронтенд-разработчика, потом стал тимлидом, далее менеджером проектов и сейчас руковожу отделом разработки решений для бизнеса. Я знаю JavaScript. Я люблю JavaScript. И именно эта любовь сыграла со мной злую шутку. В индустрии есть опасная иллюзия: «Если ты знаешь JavaScript, ты – фулстек» . Node.js дал нам, фронтендерам, суперсилу. Мы можем писать серверный код на том же языке, что и клиентский. Мы можем использовать одни и те же типы, одни и те же библиотеки. Нам кажется, что разница между фронтендом и бэкендом — только в том, где выполняется код. В браузере нет fs (файловой системы), а на сервере нет window . Вот и вся разница, да? Нет. Разница не в синтаксисе. Разница в мышлении . И я узнал это самым тяжелым способом – положив релиз.
https://habr.com/ru/articles/996706/
#frontend #backend #nodejs #strapi #mongodb #redis #nuxt #fail
-
Silex v3.6.0-canary.1 is available
A big step toward easier CMS-driven websites \o/
The first integrations are: #Strapi, #Supabase, @WordPress, #GitLab, any #GraphQL API
Silex is free and open source software so it is important you help testing it. Especially if you build websites for clients!
Try it here: https://canary.silex.me
Feedback here: @[email protected] or @[email protected]🙏 @11ty
#Silex #NoCode #OpenSource #WebDesign #WebDevelopment #HeadlessCMS #JAMStack
-
Silex v3.6.0-canary.1 is available
A big step toward easier CMS-driven websites \o/
The first integrations are: #Strapi, #Supabase, @WordPress, #GitLab, any #GraphQL API
Silex is free and open source software so it is important you help testing it. Especially if you build websites for clients!
Try it here: https://canary.silex.me
Feedback here: @[email protected] or @[email protected]🙏 @11ty
#Silex #NoCode #OpenSource #WebDesign #WebDevelopment #HeadlessCMS #JAMStack
-
Bit "jealous" that there is no German #CraftCMS User Group with frequent online talks & meetups. (#Strapi was missing one as well 😬)
To be fair: It's a lot of work/time to get this organized.
I sometimes attend TYPO3 User Group Munich, think they are doing a great job for the community. Kudos!
https://typo3.social/@t3muc/115762887189059723 -
Bit "jealous" that there is no German #CraftCMS User Group with frequent online talks & meetups. (#Strapi was missing one as well 😬)
To be fair: It's a lot of work/time to get this organized.
I sometimes attend TYPO3 User Group Munich, think they are doing a great job for the community. Kudos!
https://typo3.social/@t3muc/115762887189059723 -
Poprosiłem Copilota o zoptymalizowanie mojego Dockerfile, który służy do budowania aplikacji. Przed zmianami budował się do 2GB, po "optymalizacji" miał 2.1GB. I takie to z AI zabawy xD
#docker #dockerfile #devops #selfhosted #strapi #javascript #nodejs #webdev #programowanie #sysadmin #containers #cloud #ai #aidev #fediverse #mastodev
-
Poprosiłem Copilota o zoptymalizowanie mojego Dockerfile, który służy do budowania aplikacji. Przed zmianami budował się do 2GB, po "optymalizacji" miał 2.1GB. I takie to z AI zabawy xD
#docker #dockerfile #devops #selfhosted #strapi #javascript #nodejs #webdev #programowanie #sysadmin #containers #cloud #ai #aidev #fediverse #mastodev
-
Interesting and critical comment about the state of #Strapi v5 #OpenSource #CMS https://github.com/strapi/strapi/issues/24956#issuecomment-3669590547
-
Interesting and critical comment about the state of #Strapi v5 #OpenSource #CMS https://github.com/strapi/strapi/issues/24956#issuecomment-3669590547
-
Strapi folks are asking for feedback in this Github thread.
I let them know their self-hosted pricing is sh*t. Give a thumb up in there if you agree.
https://github.com/strapi/strapi/issues/24956#issuecomment-3628382952
-
Strapi folks are asking for feedback in this Github thread.
I let them know their self-hosted pricing is sh*t. Give a thumb up in there if you agree.
https://github.com/strapi/strapi/issues/24956#issuecomment-3628382952
-
Funny, just realized that there is a full interactive demo for #strapi available https://strapi.io/demo
-
Funny, just realized that there is a full interactive demo for #strapi available https://strapi.io/demo
-
I’m busy using #strapi as my #cms but now that I’m migrating the data I’m starting to become more and more annoyed with a the little bugs I missed when I did my research.
- Dates are in USA style and can’t be configured
- Making things bold also shows the bookmarks in Firefox
- Every hour it logs out and goes to the root of the website instead of the subfolder
- Doesn’t remember which columns I want visibleI’m seriously considering reversing the changes. 😠
-
I’m busy using #strapi as my #cms but now that I’m migrating the data I’m starting to become more and more annoyed with a the little bugs I missed when I did my research.
- Dates are in USA style and can’t be configured
- Making things bold also shows the bookmarks in Firefox
- Every hour it logs out and goes to the root of the website instead of the subfolder
- Doesn’t remember which columns I want visibleI’m seriously considering reversing the changes. 😠
-
What a productive weekend this was.
On friday I managed to setup automated testing for our backend and this weekend I kept on adding tests for it.
While writing tests I have discovered some subtle bugs which I'm sure I wouldn't have found without the tests.
This is exciting!
-
What a productive weekend this was.
On friday I managed to setup automated testing for our backend and this weekend I kept on adding tests for it.
While writing tests I have discovered some subtle bugs which I'm sure I wouldn't have found without the tests.
This is exciting!
-
Any Strapi users out here?
If you have something to tell them, here's a feedback form.
-
【2025年版】ヘッドレスCMS StrapiのセットアップとCKEditor5プラグインの導入
https://qiita.com/ssc-riosato/items/662b6018ce55b2898100?utm_campaign=popular_items&utm_medium=feed&utm_source=popular_items -
Без головы но с идеями: как Strapi оживляет Next.js (часть 2)
Привет, Хабр! С вами снова Дмитрий. В первой части мы с головой окунулись в философию Headless CMS и разобрали, почему Strapi стал глотком свежего воздуха для разработчиков, уставших от рамок монолитных систем. Мы увидели, как контент освобождается от шаблонов, получая возможность жить на любых платформах и устройствах. Но мощный и гибкий бэкенд - только половина уравнения. Без современного, умного и производительного фронтенда вся эта свобода рискует остаться просто красивой теорией. Где же тот самый «идеальный фронтенд», который раскроет потенциал Headless на все 100%?
https://habr.com/ru/articles/950876/
#cms #headless_cms #headless #strapi #strapi_5 #nodejs #nextjs #javascript #вебразработа #вэб
-
Без головы но с идеями: как Strapi оживляет Next.js
Привет, Хабр! Меня зовут Дмитрий Гусаков, я менеджер проектов компании DD Planet. Рад поделиться с вами материалом, который, надеюсь, будет полезен всем, кто следит за эволюцией веб-разработки и ищет современные подходы к созданию гибких и производительных проектов. Сегодня я расскажу про связку, которая уже стала стандартом для многих команд - Strapi + Next.js. Это не просто инструменты, а целая философия, где скорость, контроль и свобода творчества выходят на первый план.
https://habr.com/ru/articles/948574/
#cms #headlesscms #headless #strapi #strapi_5 #nodejs #nextjs #javascript #вэбразработка #вэб
-
You don't realize what you have until it's gone!
#craftcms discord users often provided a quick hint about challenges - #strapi community seems to be a bit smaller (?) and less mutual support. At least my current experience for a few months. Or is there a hidden spot for #strapicms devs? 🤓
(Disclaimer: No bashing, community support is done in private time. Kudos to all the engaged devs providing support!)
-
You don't realize what you have until it's gone!
#craftcms discord users often provided a quick hint about challenges - #strapi community seems to be a bit smaller (?) and less mutual support. At least my current experience for a few months. Or is there a hidden spot for #strapicms devs? 🤓
(Disclaimer: No bashing, community support is done in private time. Kudos to all the engaged devs providing support!)
-
#strapi #strapicms One step closer to auto-translate? Any hints by chance? 🤔 https://github.com/Fekide/strapi-plugin-translate/discussions/528 #nodejs #deepl
-
#strapi #strapicms One step closer to auto-translate? Any hints by chance? 🤔 https://github.com/Fekide/strapi-plugin-translate/discussions/528 #nodejs #deepl
-
How to Build a Modern Blog with #React 19 and #Strapi 5
https://strapi.io/blog/how-to-build-a-modern-blog-with-react-19-and-strapi-5
-
How to Build a Modern Blog with #React 19 and #Strapi 5
https://strapi.io/blog/how-to-build-a-modern-blog-with-react-19-and-strapi-5
-
Hey fellow #strapi devs!
My goal: Editors create/update english entries, entry get's copied over to other languages and update fields are translated via strapi-provider-translate-deepl (npm)
BUT I'm already stuck in copying over and updating the localized entry version, without even translating it. 🤯
The challenge seems to be that draft and published entries have separate rows in the db?
The issue:
Publishing and copying content over to localized entries work's fine.
But when I update my already published english entry, the connection to the other (published) entries get's lost. And they end up in the default english language :/
Demo repository:
https://github.com/mandrasch/strapi-v4-auto-translateIf anybody has the smallest hint, I would be very grateful! 🙏 🙏 🙏 Wasted hours with AI, no luck. 🤖
-
I especially miss #DDEV when I have to fiddle around with #DockerCompose, container name collisions, ip v4 vs v6 fetch issues and Mac M/ARM inconsistencies. Just want to run #strapi with MySQL locally (fresh playground) to get some demo code going, which is not possible with SQLite...
(But I think I'm getting there https://github.com/mandrasch/strapi-v4-docker-compose-mysql-playground 🧑🔧)
-
Big announcement from #StrapiConf Keynote 2025:
Strapi gets a Live Preview feature 🤩 Only available for Growth and Enterprise plans though, not for Community Edition.
https://strapi.io/features/live-previewKeynote: https://www.youtube.com/watch?v=L2G_yG-_wPQ
#strapi #strapicms #cms #webdev -
Question for #DockerCompose #Docker #nodejs #ipv6 #nuxt #strapi
I recently encountered errors on local development when a NodeJS CMS like Strapi wanted to fetch() something from a frontend API route from Nuxt for http://localhost:3000 server-side:
"cause: Error: connect ECONNREFUSED ::1:3000"
How do you deal with IPv6?
1. Try to avoid "localhost", use 127.0.0.1 everywhere (strapi, nuxt config) instead?
2. Try to run each service on "localhost" and "::1", ChatGPT suggested using "::" to bind ipv4 and ipv6 🤔
3. Other solutions?Thanks very much in advance!