# Refactoring Flarum import script using AI LLM to migrate to Discourse

**URL:** https://meta.discourse.org/t/ai-llm-flarum-discourse/404732
**Category:** Development
**Created:** [June 8, 2026, 7:12am UTC](https://meta.discourse.org/t/ai-llm-flarum-discourse/404732 "2026-06-08T07:12:28Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![AkarinLiu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/akarinliu/32/539577_2.png) [@AkarinLiu](https://meta.discourse.org/u/AkarinLiu)
#### Post date: [June 8, 2026, 7:12am UTC](https://meta.discourse.org/t/ai-llm-flarum-discourse/404732/1 "2026-06-08T07:12:28Z")

</div>

To ensure a smooth migration to Discourse, I integrated the DeepSeek official API into Visual Studio Code and refactored the Flarum import script using an AI LLM. It has been tested and is ready for use.  
Gist link: [Discourse Flarum 导入器 （改进版） · GitHub](https://gist.github.com/AkarinLiu/4dae346b2f100dff2bc197d95579826b)

---

_[View the full topic](https://meta.discourse.org/t/ai-llm-flarum-discourse/404732)._
