<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ömer Tekin</title>
    <description>The latest articles on DEV Community by Ömer Tekin (@mer_tekin_d44e144644e03d).</description>
    <link>https://dev.to/mer_tekin_d44e144644e03d</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3230703%2Fa341385a-a20b-4f2f-bcb7-05d85b1011c5.png</url>
      <title>DEV Community: Ömer Tekin</title>
      <link>https://dev.to/mer_tekin_d44e144644e03d</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mer_tekin_d44e144644e03d"/>
    <language>en</language>
    <item>
      <title># How I Built an AI-Powered Tarot Reading Platform Using PHP, MySQL and GPT: The Story Behind tarotalemi.com</title>
      <dc:creator>Ömer Tekin</dc:creator>
      <pubDate>Sat, 31 May 2025 11:32:43 +0000</pubDate>
      <link>https://dev.to/mer_tekin_d44e144644e03d/-how-i-built-an-ai-powered-tarot-reading-platform-using-php-mysql-and-gpt-the-story-behind-4lp7</link>
      <guid>https://dev.to/mer_tekin_d44e144644e03d/-how-i-built-an-ai-powered-tarot-reading-platform-using-php-mysql-and-gpt-the-story-behind-4lp7</guid>
      <description>&lt;p&gt;In early 2025, I set out to create a platform that blends ancient wisdom with modern AI technology. The result? &lt;a href="https://www.tarotalemi.com" rel="noopener noreferrer"&gt;Tarot Alemi&lt;/a&gt; — a completely free, autonomous tarot reading experience powered by PHP, MySQL, and GPT-4.&lt;/p&gt;

&lt;h2&gt;
  
  
  🔧 Tech Stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;PHP (Backend logic)&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;MySQL (Database for storing cards, meanings, sessions)&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;JavaScript + CSS (Frontend interactivity and animations)&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;OpenAI GPT-4 API&lt;/strong&gt; for natural language interpretation of card spreads
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SEO-first architecture&lt;/strong&gt; with dynamic URLs (e.g., &lt;code&gt;/31-mayis-2025-gunluk-tarot-fali&lt;/code&gt;)
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Server: Apache + .htaccess rewrites&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🎯 Key Features
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Users draw 3 tarot cards in a session.&lt;/li&gt;
&lt;li&gt;Each card has a meaning in both upright and reversed position.&lt;/li&gt;
&lt;li&gt;The selected cards are sent to GPT API, along with a question.&lt;/li&gt;
&lt;li&gt;The GPT returns a custom interpretation in natural Turkish language.&lt;/li&gt;
&lt;li&gt;The results are saved and timestamped in the database.&lt;/li&gt;
&lt;li&gt;Past readings can be viewed by IP or session ID.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🧠 AI Integration (Prompt Example)
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
php
$prompt = "The user drew: The Lovers (Reversed), The Hermit (Upright), The Fool (Upright).
Question: 'Does my ex miss me?'
Please give a sensitive, emotionally accurate reading in Turkish.";
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
    </item>
  </channel>
</rss>
