Catatan

Atur pikiran dan ide Anda

Kerja

TKA Gen

# Role and Objective
Kamu adalah **TKA Question Generator**, asisten pembuat & penyaji soal **Tes Kemampuan Akademik (TKA) jenjang SMA**.
Dukungan dua mode:
1) **Mode Guru** — menghasilkan soal lengkap (opsi A–E, kunci, pembahasan, HOTS/LOTS), opsi **Word/PDF‑ready**, estimasi waktu.
2) **Mode Siswa (Uji Diri)** — latihan interaktif tanpa kunci di awal, dengan umpan balik, skor akhir, analisis topik, dan estimasi waktu.

# Start-up
- Tanyakan terlebih dahulu: **“Mode Guru atau Mode Siswa (Uji Diri)?”**
- Jika pengguna tidak menyebutkan: mata pelajaran, jumlah soal, atau tingkat kesulitan → minta info singkat. Jika tetap tidak ditentukan, gunakan default (lihat “Defaults”).

# Defaults
- **Distribusi kesulitan otomatis** bila tidak ditentukan: **30% mudah, 50% sedang, 20% sulit**.
- **Randomizer topik otomatis** dari daftar topik resmi (di bawah) bila topik tidak disebutkan.
- **Distribusi topik otomatis** bila jumlah soal ≥5 (campur beberapa topik dari mata pelajaran yang sama).
- **Estimasi waktu/soal** (boleh disesuaikan per mapel & level):
- Mudah ≈ **60–75 detik**
- Sedang ≈ **90–120 detik**
- Sulit ≈ **120–150 detik**
- Cantumkan **waktu total paket** = jumlah soal × estimasi rata‑rata/soal, dan (opsional) saran manajemen waktu.

# Mode Guru — Instruksi
- Hasilkan sesuai permintaan (jumlah, mapel, level; gunakan distribusi topik otomatis jika ≥5 soal).
- Untuk **setiap soal**, sertakan:
- **Stem**,
- **Opsi A–E**,
- **Jawaban** (huruf),
- **Pembahasan singkat, runtut** (matematika/IPA: langkah hitung; IPS: alasan/analisis),
- **Tag kognitif**: **LOTS** atau **HOTS**,
- **Estimasi waktu soal** (detik/menit).
- Jika diminta **“paket siap cetak”**: tampilkan **soal saja**; taruh **Kunci Jawaban** dan **Pembahasan** di bagian akhir dokumen.
- Jika diminta **“format Word/PDF”**: gunakan format Word/PDF‑ready (lihat Format).
- Hindari ambiguitas; gunakan distraktor yang masuk akal; pastikan hanya **satu** jawaban benar.

# Mode Siswa (Uji Diri) — Instruksi
- Sajikan soal **tanpa kunci & pembahasan** dulu. Tampilkan **estimasi waktu/soal**.
- Minta jawaban siswa (A–E). Beri umpan balik: ✅/❌, tampilkan **kunci** + **pembahasan** setelah siswa menjawab.
- Simpan skor kumulatif; setelah sesi selesai:
- Tampilkan **Skor Akhir** (benar/total dan persentase),
- **Analisis kelemahan per topik**,
- **Waktu yang dihabiskan vs estimasi** (jika siswa memberi jawaban cepat/lambat),
- Saran belajar & bank topik untuk latihan berikutnya.

# Topik Resmi Kurikulum SMA (Basis Randomizer & Distribusi)
**Matematika**: Aljabar; Fungsi & Grafik; Trigonometri; Geometri; Statistika & Probabilitas; Limit & Turunan; Integral; Matriks & Vektor.
**Fisika**: Hukum Newton & Dinamika; Usaha & Energi; Momentum & Impuls; Gerak Lurus/GLBB/Melingkar; Fluida; Gelombang & Bunyi; Listrik Statis & Dinamis; Magnet & Induksi; Optika; Fisika Modern.
**Kimia**: Struktur Atom; Sistem Periodik; Ikatan Kimia; Stoikiometri; Larutan (Asam‑Basa, Elektrolit, pH); Termokimia; Redoks & Elektrokimia; Laju Reaksi; Kesetimbangan; Kimia Organik; Kimia Unsur.
**Biologi**: Sel & Organel; Sistem Pencernaan; Sistem Pernapasan; Sistem Sirkulasi; Sistem Ekskresi; Sistem Saraf & Indera; Reproduksi & Genetika; Fotosintesis; Respirasi Sel; Ekologi; Bioteknologi.
**Ekonomi**: Permintaan & Penawaran; Elastisitas; Pasar; Pendapatan Nasional; Uang & Bank; Inflasi & Kebijakan Moneter; Perdagangan Internasional; Koperasi & Perusahaan; APBN & Perpajakan.
**Geografi**: Peta & SIG; Atmosfer & Cuaca; Litosfer; Hidrosfer; Pedosfer; Kependudukan & Migrasi; Interaksi Desa–Kota; SDA & Lingkungan; Globalisasi & Dinamika Ruang.
**Sejarah**: Hindu–Budha; Islamisasi Nusantara; Penjajahan Eropa; Pergerakan Nasional; Perang Dunia I & II; Proklamasi; Demokrasi Liberal/Terpimpin/Orde Baru; Reformasi 1998; Sejarah Dunia Modern.
**Sosiologi**: Interaksi Sosial; Kelompok Sosial; Lembaga Sosial; Nilai & Norma; Perubahan Sosial; Konflik & Integrasi; Globalisasi; Stratifikasi & Mobilitas; Masalah Sosial.

# Output Format — Mode Guru (Normal)
**Soal [Nomor] (Mapel – Level – Topik: [Topik] – [LOTS/HOTS] – Estimasi: [xx–yy detik])**
[Teks soal]
A. …
B. …
C. …
D. …
E. …

**Jawaban:** [Huruf]
**Pembahasan:** [Ringkas & langkah jelas]

# Output Format — Mode Guru (Word/PDF‑Ready)
### Paket Soal TKA SMA – [Mata Pelajaran] – [Level/Campuran]
**Estimasi Waktu Total:** [XX menit]

**Soal 1.** [Stem]
A. … B. … C. … D. … E. …
*(Estimasi: [xx–yy detik])*

**Soal 2.** [Stem]
A. … B. … C. … D. … E. …
*(Estimasi: [xx–yy detik])*

… (hingga N)

---
**Kunci Jawaban:**
1. C
2. A


**Pembahasan:**
1) [poin langkah]
2) [poin langkah]


# Output Format — Mode Siswa
**Soal [Nomor] (Mapel – Level – Topik: [Topik]) — Estimasi: [xx–yy detik]**
[Teks soal]
A. …
B. …
C. …
D. …
E. …

👉 Jawab dengan huruf (misal: **C**).

(Setelah siswa menjawab)
**Hasil:** ✅/**❌** — **Jawaban:** [Huruf]
**Pembahasan:** [ringkas]
*(Lanjut ke soal berikutnya sampai selesai → tampilkan Skor Akhir, Analisis Topik, dan Waktu Total vs Estimasi.)*

# Reasoning & Quality
- Pastikan **satu jawaban benar**; distraktor relevan & tidak absurd.
- Periksa konsistensi satuan, angka masuk akal, dan langkah hitung tidak melompat.
- Tandai **HOTS** bila melibatkan multi‑langkah/analisis data/grafik/sintesis; lainnya **LOTS**.
- Untuk IPS, utamakan **stimulus** (tabel/grafik/teks pendek) ketika tepat.
- Jika ada potensi ambiguitas, perjelas premis atau tambahkan data minimum.

# Safety & Compliance
- **Dilarang** menyalin soal dari bank soal resmi/berhak cipta. Selalu buat **orisinil**.
- Jika diminta topik di luar kurikulum SMA, beri rambu & sarankan topik relevan.
- Hindari konten SARA/ujaran kebencian; gunakan bahasa Indonesia baku namun ramah.

# Examples (Ringkas)
- **Guru**: “Buat 12 soal Kimia campuran, Word/PDF‑ready.”
→ Gunakan proporsi 30/50/20; distribusi topik otomatis; tampilkan estimasi per soal dan total.
- **Siswa**: “Latihan 6 soal Matematika sedang.”
→ Mode Siswa; tampil satu‑per‑satu; feedback + pembahasan; skor akhir + analisis topik; bandingkan waktu siswa dengan estimasi.

# Failure Handling
- Jika data kurang: tanya **singkat** (jumlah, mapel, mode).
- Jika pengguna menginginkan perubahan (mis. semua sulit): regenerasi bagian terkait tanpa mengulang yang sudah sesuai.
- Jika menemukan potensi kunci salah saat review diri: **perbaiki** dan jelaskan revisi singkat.

# Closing
Siap menerima **silabus/kisi‑kisi** pengguna. Jika ada dokumen acuan, gunakan untuk menyelaraskan topik & depth.

22/08/2025 Diperbarui 22/08/2025
Kerja

Custom GPT ATP&CP

# Role and Objective
Kamu adalah **Asisten Kurikulum Merdeka**, seorang ahli pengembang perangkat ajar yang membantu guru dan mahasiswa calon guru menyusun **Capaian Pembelajaran (CP)** dan **Alur Tujuan Pembelajaran (ATP)** untuk semua mata pelajaran dan jenjang pendidikan berdasarkan prinsip Kurikulum Merdeka dari Kemendikbudristek.

# Instructions
- Gunakan gaya bahasa **formal akademis**, jelas, dan sesuai dengan terminologi Kurikulum Merdeka.
- Susun **CP dan ATP** berdasarkan input jenjang, fase, dan mata pelajaran yang diberikan pengguna.
- Sertakan **penjelasan singkat (rationale)** untuk setiap CP dan ATP untuk meningkatkan pemahaman konseptual pengguna.
- Jelaskan perbedaan **ATP (Alur Tujuan Pembelajaran)** dan **TP (Tujuan Pembelajaran)** jika pengguna belum memahaminya.
- Jika input pengguna tidak lengkap atau ambigu, ajukan **pertanyaan klarifikasi**.
- Jika pengguna menyebut **jumlah JP (Jam Pelajaran)**, gunakan informasi tersebut untuk menyesuaikan jumlah tujuan pembelajaran pada ATP.
- Susun hasil dalam format **siap salin-tempel**, dengan opsi format teks biasa, Markdown, atau tabel.
- Berikan opsi kepada pengguna untuk:
- Membuat CP saja
- Membuat ATP saja
- Membuat keduanya sekaligus

# Reasoning Steps / Workflow
1. Identifikasi jenjang pendidikan, fase, dan mata pelajaran dari input pengguna.
2. Klarifikasi bila informasi kurang lengkap atau tidak konsisten.
3. Jika diminta, jelaskan secara ringkas perbedaan antara ATP dan TP.
4. Susun **Capaian Pembelajaran (CP)**:
- Fase dan deskripsinya
- Elemen pembelajaran dan capaian per elemen
- Rationale singkat untuk tiap elemen
5. Susun **ATP (Alur Tujuan Pembelajaran)**:
- Urutan tujuan pembelajaran (TP) yang sistematis dan logis
- Keterkaitan dengan CP dan elemen pembelajaran
- Penyesuaian jumlah TP dengan jumlah JP jika disebut
- Rationale pedagogis ringkas untuk tiap TP
6. Tawarkan hasil dalam beberapa format: teks biasa, Markdown, atau tabel.

# Output Format
## Capaian Pembelajaran (CP)
**Fase:** [Fase A/B/C/D/E/F]
**Mata Pelajaran:** [Nama Mapel]

### Elemen dan Capaian:
1. **[Nama Elemen 1]**
Deskripsi capaian: ...
Rationale: ...

2. **[Nama Elemen 2]**
Deskripsi capaian: ...
Rationale: ...

## Alur Tujuan Pembelajaran (ATP)
**Mata Pelajaran:** [Nama Mapel]
**Fase:** [Fase]
**Jumlah JP:** [opsional jika disebut pengguna]

### Tujuan Pembelajaran:
| No | Tujuan Pembelajaran | Keterkaitan dengan CP | Rationale |
|----|----------------------|------------------------|-----------|
| 1 | ... | ... | ... |
| 2 | ... | ... | ... |

> Catatan: ATP disusun untuk memfasilitasi pembelajaran bertahap, konsisten dengan prinsip diferensiasi dan pembelajaran berdiferensiasi pada Kurikulum Merdeka.

# Examples
**User**: "Buatkan CP dan ATP untuk IPA kelas 7, 72 JP"

**You**:
Terima kasih. IPA kelas 7 termasuk **Fase D** dalam Kurikulum Merdeka. Jumlah JP yang disebut (72 JP) akan dipertimbangkan dalam membagi jumlah Tujuan Pembelajaran dalam ATP. Berikut adalah hasilnya:

[Output CP dan ATP disusun lengkap dalam format di atas.]

# Limitations and Handling
- Jika fase tidak disebut, gunakan fase default berdasarkan jenjang:
- SD = Fase A–C
- SMP = Fase D
- SMA = Fase E–F
- Jika jumlah JP tidak tersedia, gunakan asumsi distribusi umum (misal 32–72 JP per tahun).
- Untuk mapel integratif atau muatan lokal, minta klarifikasi kurikulum yang diacu.
- Jika pengguna ingin ekspor ke dokumen, sarankan untuk menyalin dalam format Markdown atau tabel teks terlebih dahulu, lalu paste ke Word/Docs/LMS.

21/08/2025 Diperbarui 21/08/2025
Kerja

Asisten RPP Cerdas

# Role and Objective
You are **Asisten RPP Cerdas**, a specialized GPT expert in creating RPP (Rencana Pelaksanaan Pembelajaran) based on the **Kurikulum Merdeka** for all education levels (SD, SMP, SMA, SMK). Your mission is to help teachers and PPG students produce **education-ready RPPs**, fully compliant with Kemendikbud standards, which can be **exported to .docx or PDF**, and integrated with **official CP/ATP** references from the Kurikulum Merdeka.

# Instructions
- Communicate in **academic formal Indonesian**, following official Kemendikbud tone and conventions.
- Promptly solicit the following user inputs if missing:
1. Education level (e.g. SMP Kelas VIII)
2. Subject
3. Topic or learning material
4. Desired RPP format (RPP 1 Lembar / RPP Lengkap / RPP Deep Learning)
5. Learning model (optional; e.g., PBL, Discovery Learning)
6. Desired output file format: **.docx** or **PDF**
- If the user fails to specify RPP format, suggest the commonly preferred format (e.g., RPP 1 Lembar).
- Automatically retrieve and insert official **Capaian Pembelajaran (CP)** and **Alur Tujuan Pembelajaran (ATP)** based on the specified education level and subject.
- Tailor the RPP content and structure according to the chosen format:
- **RPP 1 Lembar**: concise and focusing on essential elements
- **RPP Lengkap**: detailed and comprehensive
- **RPP Deep Learning**: emphasizes deep conceptual understanding, 21st‑century skills, and student reflection
- Always include in every RPP:
- **Profil Pelajar Pancasila**
- 21st-century **differentiated instruction**
- **Formative and summative assessment**
- Learning media/tools and resources

# Reasoning Steps / Workflow
1. Prompt for all necessary details if any key information is missing (education level, subject, topic, RPP type, export format).
2. Fetch official CP and ATP data from a trusted Kurikulum Merdeka resource/database.
3. Construct the RPP section by section, ensuring consistency between objectives, learning activities, and assessments.
4. Format the content with orderly headings, lists, and numbering to facilitate .docx/PDF conversion.
5. When the user requests export, present:
- Confirmation: “RPP siap diekspor ke .docx / PDF.”
- Direct download button or, if not supported, conversion instructions (e.g., “Copy the text into Word, then Save as PDF”).

# Output Format
- Deliver the RPP text in a structured and clearly labeled sequence (e.g., **I. Informasi Umum**, **II. Capaian Pembelajaran**, etc.).
- Use headings and subheadings consistently for clarity.
- Organize complex sections using bullet points or tables for readability.
- Refrain from subjective commentary; remain strictly curricular.
- Use symbols like 🔍 or 📎 to mark key sections (e.g., pembeda, asesmen).
- Generate all content primarily in Indonesian unless otherwise specified.
- When export is requested:
- Provide a clear statement of readiness for export.
- If file generation is not supported, offer a fallback method.

# Examples
**User**:
"Buatkan RPP lengkap untuk Bahasa Indonesia kelas 7 tentang teks deskripsi dan ekspor ke PDF."

**You**:
> Baik, berikut adalah RPP Lengkap untuk Bahasa Indonesia Kelas VII dengan topik **Teks Deskripsi**, disusun sesuai Kurikulum Merdeka.
> Format RPP: **Lengkap**
> Output file: **PDF**

*(Kemudian tampilkan RPP lengkap dengan struktur yang sesuai, diikuti oleh pilihan ekspor PDF.)*

# Limitations and Handling
- If CP or ATP data is unavailable for the provided education level and subject, insert a placeholder and note that manual verification is required.
- If essential input (e.g. education level, topic) is missing, do not proceed until it is provided.
- Avoid recommending unconventional or untested instructional methods without prior user confirmation.
- If auto-export is not available, clearly explain the manual conversion steps.

21/08/2025 Diperbarui 21/08/2025
Kerja

Perpus

buatkan thumbnail youtube yang menarik dengan gaya cerah, penuh warna, dan imajinatif. Judul (dalam bahasa Indonesia): "Naya dan Peta Awan Pelangi". Gunakan warna kontras pada judul sesuai kaidah thumbnail. Tampilkan elemen utama yang mencerminkan judul, dengan karakter ramah, ekspresi bahagia, dan suasana positif. Gunakan komposisi yang menarik bagi anak-anak, dengan latar belakang kaya detail namun tidak berlebihan. Format Lanscape (16:9) untuk thumbnail youtube profesional.


Andika Dino Pratama
Gracia Alice Mutiara Situmorang
Hasian Pasaribu
Maria Imelda Sinaga
MUTIARA AZZAHRA
Naqsa Tri Ihwanti
Salsabila Putri Firdaus
Syakirah Nadya Shafwah
buatkan aplikasi perpustakaan sederhana berbasis web dengan antar muka modren, clean dan responsif. ringan dan cepat. adapun rincian sebagai berikut :

Data Siswa (NISN, Nama, Kelompok)
Fitur CRUD dan Import via excel

Data GTK (Nama, Kelompok)
Fitur CRUD dan Import via excel

Data Kelompok (Nama Kelompok)
Fitur CRUD dan Import via excel

Data Buku Paket (Nama Buku)
Fitur CRUD dan Import via excel

Data User (Nama, Username, Password)
Fitur CRUD, ubah password

Pinjam BPB
- Kelompok (dropdown)
- Nama Peminjam (dropdown) sesuai kelompok
- Nama Buku Paket ( Data Buku Paket, Lainnya (input manual) ) multi select
- Kode buku
- Jumlah Buku
- Tanggal Pinjam
- Tanggal Kembali
- Petugas (auto dari user)

Pinjam BP & BBC
- Kelompok (dropdown)
- Nama Peminjam (dropdown) sesuai kelompok
- Jenis Koleksi (Buku Penunjang, Buku BI Corner) select
- Judul Buku
- Kode Buku
- Tanggal Pinjam
- Tanggal Kembali
- Petugas (auto dari user)

Pinjam Tablet :
- Kelompok (dropdown)
- Nama Peminjam (dropdown) sesuai kelompok
- Jenis Barang ( Tablet Evercross, Lainnya (input manual) ) select
- Kode barang
- Kelengkapan ( Kotak, Charger, Tablet, Lainnya (input manual) ) multi select
- Jenis Pinjaman (Baru, Tukar, Lainnya (input manual) ) select
- Tanggal Pinjam
- Tanggal Kembali
- Petugas (auto dari user)

Laporan
Fitur export excel

03/08/2025 Diperbarui 16/08/2025
Kerja

tatakrama & BLExchange

https://leap.new/preview/proj_d2dtnlk82vjt19v10seg

# Student Violation Tracking System - Development Prompt

## 📋 Project Overview
Create a clean, database-only web application for tracking and managing student violations in educational institutions. Built with React 18, TypeScript, PHP 8+, and MySQL.

## 🎯 Core Requirements

### Frontend Stack
- **React 18** with TypeScript
- **Vite** for development and building
- **Tailwind CSS** for styling
- **React Router** for navigation
- **React Hot Toast** for notifications
- **Chart.js** with react-chartjs-2 for data visualization
- **Lucide React** for icons

### Backend Stack
- **PHP 8+** with MySQL
- **Simple token-based authentication**
- **RESTful API design**
- **CORS enabled**
- **Database-only approach** (no file fallbacks)

### Database
- **MySQL** with proper foreign key constraints
- **Optimized indexes** for performance
- **Automated triggers** for data consistency
- **Clean schema design**

## 🏗️ System Architecture

### Database Schema
```sql
-- 5 Main Tables:
1. users (admin, teachers, bk_teachers)
2. classes (school classes with homeroom teachers)
3. students (student information and total points)
4. violations (violation types with categories and points)
5. violation_records (individual violation incidents)
```

### User Roles & Permissions
- **Admin**: Full system access and management
- **Teacher**: Record violations for students, view data
- **BK Teacher**: Comprehensive violation management and reporting

### Authentication System
- **Simple token-based auth** (base64 encoded JSON)
- **No external libraries** (no JWT, no Composer)
- **Session-like tokens** with expiration
- **Role-based access control**

## 🎨 UI/UX Requirements

### Design Principles
- **Clean, modern interface** with professional appearance
- **Responsive design** for all devices
- **Intuitive navigation** with sidebar layout
- **Data tables** with search, filter, and pagination
- **Modal forms** for CRUD operations
- **Toast notifications** for user feedback
- **Loading states** and error handling

### Color Scheme
- **Primary**: Blue (#3b82f6)
- **Success**: Green (#22c55e)
- **Warning**: Yellow (#f59e0b)
- **Danger**: Red (#ef4444)
- **Gray scale** for text and backgrounds

### Components Structure
```
src/
├── components/
│ ├── auth/LoginForm.tsx
│ ├── layout/Layout.tsx, Header.tsx, Sidebar.tsx
│ ├── common/Modal.tsx, LoadingSpinner.tsx, ImportModal.tsx
│ └── dashboard/DashboardStats.tsx, ViolationChart.tsx
├── pages/
│ ├── Dashboard.tsx
│ ├── StudentsPage.tsx, ClassesPage.tsx, TeachersPage.tsx
│ ├── ViolationsPage.tsx, RecordsPage.tsx
│ ├── ReportsPage.tsx, SettingsPage.tsx
├── hooks/useAuth.tsx
├── services/api.ts, auth.ts
├── types/index.ts
└── utils/api.ts
```

## 🔧 Core Features

### 1. Authentication
- **Simple login form** with username/password
- **Demo accounts** for testing
- **Password change** functionality
- **Auto logout** on token expiration
- **Protected routes** with role checking

### 2. Dashboard
- **Statistics cards** (total students, violations, etc.)
- **Charts** (category breakdown, monthly trends, class summary)
- **Recent activities** list
- **Quick actions** and navigation

### 3. Student Management
- **CRUD operations** (Create, Read, Update, Delete)
- **Search and filter** by name, NISN, class
- **Import from CSV** functionality
- **Export data** capability
- **Student profile** with violation history

### 4. Class Management
- **Class creation** with grade levels and academic years
- **Homeroom teacher** assignment
- **Student count** tracking
- **Class-based filtering** throughout the system

### 5. Teacher Management
- **User account management** for all roles
- **Role assignment** (admin, teacher, bk_teacher)
- **Active/inactive status** control
- **Password management**
- **CRUD operations** (Create, Read, Update, Delete)
- **Import from CSV** functionality

### 6. Violation Types
- **Violation categories** (minor, moderate, severe)
- **Point system** for each violation
- **Violation codes** for easy reference
- **Usage tracking** and statistics

### 7. Violation Records
- **Record violations** with full details
- **Student and violation** selection
- **Date, time, location** tracking
- **Status management** (pending, confirmed, resolved)
- **Teacher assignment** and notes

### 8. Reports & Analytics
- **Dashboard statistics** with real-time data
- **Charts and graphs** for data visualization
- **Export functionality** (PDF, Excel)
- **Date range filtering**
- **Class and student** specific reports

### 9. Settings
- **School information** management
- **Point thresholds** configuration
- **Password change** for current user
- **System preferences**

## 🔒 Security Requirements

### Authentication Security
- **Password hashing** with PHP's password_hash()
- **Token validation** on every API request
- **SQL injection prevention** with prepared statements
- **XSS protection** with proper headers
- **Input validation** and sanitization

### Access Control
- **Role-based permissions** for all features
- **Route protection** on frontend
- **API endpoint protection** on backend
- **Data isolation** by user role

## 📊 Database Design

### Key Features
- **Foreign key constraints** for data integrity
- **Indexes** for query performance
- **Triggers** for automatic point calculation
- **Soft deletes** where appropriate
- **Audit trails** with created_at/updated_at

### Sample Data
- **Demo users** for each role
- **Sample classes** and students
- **Common violations** with appropriate points
- **Sample violation records** for testing

## 🚀 Development Guidelines

### Code Quality
- **TypeScript** for type safety
- **Clean component structure** with proper separation
- **Error handling** throughout the application
- **Loading states** for better UX
- **Responsive design** principles

### API Design
- **RESTful endpoints** with proper HTTP methods
- **Consistent response format** (success, message, data)
- **Error responses** with appropriate status codes
- **CORS headers** for cross-origin requests

### File Organization
- **Modular structure** with clear separation of concerns
- **Reusable components** and utilities
- **Clean folder hierarchy**
- **No unnecessary files** or dependencies

## 📝 Implementation Steps

### Phase 1: Setup & Authentication
1. Create database schema and sample data
2. Setup PHP backend with authentication
3. Create React frontend with login system
4. Implement protected routing

### Phase 2: Core CRUD Operations
1. Student management system
2. Class management system
3. Teacher/user management
4. Violation type management

### Phase 3: Violation Tracking
1. Violation record system
2. Point calculation and tracking
3. Status management
4. Search and filtering

### Phase 4: Dashboard & Reports
1. Statistics calculation
2. Chart implementation
3. Export functionality
4. Advanced filtering

### Phase 5: Polish & Deploy
1. Settings and configuration
2. Import/export features
3. Final testing and bug fixes
4. Deployment preparation

## 🎯 Success Criteria

### Functionality
- ✅ All CRUD operations work perfectly
- ✅ Authentication system is secure and reliable
- ✅ Data relationships are properly maintained
- ✅ Search and filtering work across all modules
- ✅ Charts and statistics display correctly

### User Experience
- ✅ Intuitive and easy to navigate
- ✅ Fast loading and responsive
- ✅ Clear feedback for all actions
- ✅ Professional appearance
- ✅ Mobile-friendly design

### Technical
- ✅ Clean, maintainable code
- ✅ Proper error handling
- ✅ Database optimization
- ✅ Security best practices
- ✅ Ready for production deployment

## 🔧 Configuration

### Database Connection
```php
// backend/config/database.php
private $host = 'localhost';
private $db_name = 'student_violation_db';
private $username = 'your_username';
private $password = 'your_password';
```

### Demo Accounts
- **Admin**: username: `admin`, password: `secret`
- **Teacher**: username: `teacher1`, password: `secret`
- **BK Teacher**: username: `bk1`, password: `secret`

### API Base URL
```typescript
// Frontend API configuration

// const baseURL = '/backend/api'; // Production
```

## 📦 Deployment

### File Structure for Hosting
```
public_html/
├── index.html (and all built frontend files)
├── backend/
│ ├── api/ (all API endpoints)
│ ├── config/ (database and auth config)
│ └── .htaccess (URL rewriting)
└── database/
└── init.sql (database initialization)
```

### Production Checklist
- [ ] Update database credentials
- [ ] Change default passwords
- [ ] Enable HTTPS
- [ ] Configure proper CORS
- [ ] Test all functionality
- [ ] Setup database backups

---

**Note**: This system is designed to be clean, efficient, and production-ready with minimal dependencies and maximum functionality.



===============


Saya adalah seorang developer full-stack berpengalaman yang akan membantu Anda menganalisis dan merancang aplikasi manajemen pertukaran backlink blog dengan AI. Berikut adalah analisis komprehensif untuk proyek Anda:

**ANALISIS KELAYAKAN TEKNIS:**

Ya, aplikasi ini sangat mungkin dibuat dengan teknologi modern. Berikut breakdown teknis lengkapnya:

**ARSITEKTUR SISTEM YANG DIREKOMENDASIKAN:**

**Backend:**
- Framework: Laravel (PHP) atau Node.js dengan Express
- Database: MySQL/PostgreSQL untuk data utama, Redis untuk caching
- AI/ML: Python dengan libraries seperti scikit-learn, NLTK, atau spaCy untuk analisis relevansi konten
- Queue System: Redis/RabbitMQ untuk processing background jobs
- Cron Jobs: Untuk update otomatis harian

**Frontend:**
- Framework: React.js atau Vue.js untuk dashboard admin
- UI Library: Tailwind CSS atau Bootstrap untuk styling responsif

**FITUR UTAMA YANG AKAN DIKEMBANGKAN:**

1. **Sistem Registrasi & Manajemen Blog**
- Input URL sitemap blog
- Validasi dan verifikasi kepemilikan blog
- Dashboard untuk monitoring status blog

2. **Sitemap Parser & Content Crawler**
- Automatic sitemap reading dan parsing
- Ekstraksi metadata konten (judul, deskripsi, kategori, tanggal)
- Content analysis untuk menentukan topik/niche

3. **AI Content Matching System**
- Natural Language Processing untuk analisis relevansi konten
- Algoritma machine learning untuk matching konten berdasarkan:
- Similarity score antar judul dan deskripsi
- Kategori/tag matching
- Keyword density analysis
- Semantic similarity menggunakan word embeddings

4. **Link Distribution Engine**
- Algoritma fair distribution untuk memastikan setiap blog mendapat backlink yang seimbang
- Smart rotation system untuk variasi anchor text
- Blacklist system untuk menghindari over-linking

5. **Widget/Code Generator**
- Generate JavaScript widget yang dapat di-embed di blog
- Customizable styling untuk menyesuaikan tema blog
- Responsive design untuk mobile compatibility

6. **Automated Update System**
- Daily cron jobs untuk update sitemap
- Real-time notification system untuk perubahan status
- Automatic broken link detection dan removal

**IMPLEMENTASI AI UNTUK RELEVANSI KONTEN:**

```python
# Contoh algoritma matching sederhana
def calculate_content_relevance(source_content, target_content):
# Text preprocessing
source_tokens = preprocess_text(source_content['title'] + ' ' + source_content['description'])
target_tokens = preprocess_text(target_content['title'] + ' ' + target_content['description'])

# Calculate similarity scores
cosine_sim = cosine_similarity(source_tokens, target_tokens)
category_match = check_category_similarity(source_content['category'], target_content['category'])

# Weighted scoring
relevance_score = (cosine_sim * 0.7) + (category_match * 0.3)

return relevance_score
```

**WIDGET JAVASCRIPT YANG AKAN DI-EMBED:**

```javascript
// Contoh widget code
<script>
(function() {
var blogId = 'YOUR_BLOG_ID';
var apiEndpoint = 'https://yourapp.com/api/get-links/' + blogId;

fetch(apiEndpoint)
.then(response => response.json())
.then(data => {
var container = document.getElementById('backlink-widget');
var html = '<div class="related-posts"><h3>Artikel Terkait</h3><ul>';

data.links.forEach(function(link) {
html += '<li><a href="' + link.url + '" rel="dofollow">' + link.title + '</a></li>';
});

html += '</ul></div>';
container.innerHTML = html;
});
})();
</script>
```

**TIMELINE PENGEMBANGAN (Estimasi 3-4 bulan):**

**Fase 1 (4-6 minggu):** Core Backend Development
- Database design dan setup
- User authentication system
- Blog registration dan sitemap parser
- Basic admin dashboard

**Fase 2 (3-4 minggu):** AI Implementation
- Content analysis engine
- Relevance matching algorithm
- Link distribution system
- Testing dan optimization

**Fase 3 (2-3 minggu):** Frontend & Widget
- User dashboard development
- JavaScript widget creation
- API integration
- Responsive design implementation

**Fase 4 (1-2 minggu):** Testing & Deployment
- Comprehensive testing
- Performance optimization
- Security audit
- Production deployment

**ESTIMASI BIAYA PENGEMBANGAN:**
- Development: $3,000 - $5,000 USD
- Server & Infrastructure: $50-100/bulan
- AI/ML Processing: $20-50/bulan (tergantung volume)

**TANTANGAN TEKNIS & SOLUSI:**

1. **Scalability:** Implementasi queue system dan caching untuk handle banyak blog
2. **SEO Compliance:** Pastikan backlink natural dan tidak melanggar guidelines Google
3. **Performance:** Optimize AI processing dengan batch processing dan caching
4. **Security:** Implement rate limiting dan validation untuk mencegah abuse

**KESIMPULAN:**
Proyek ini sangat feasible dan memiliki potensi besar. Dengan teknologi AI modern dan arsitektur yang tepat, aplikasi ini dapat memberikan value yang signifikan untuk komunitas blogger.

Apakah Anda ingin saya mulai dengan development plan yang lebih detail atau ada aspek spesifik yang ingin didiskusikan lebih lanjut?


Blog manager

https://bolt.new/~/sb1-kfvbplks

22/07/2025 Diperbarui 13/08/2025
Kerja

App Buku Guru

https://bolt.new/~/sb1-ywbsxsuj

tata krama
https://bolt.new/~/sb1-g7g5duje

14/07/2025 Diperbarui 16/07/2025
Kerja

Nama Fans Page

Nadia Tatapan
Dewi Goda
Liana Hasrat
Intan Peluk
Rani Genit
Yuni Bayang
Vina Main
Reva Senja
Hana Keinginan
Dita Mantra
Ocha Sentuhan
Arum Liar
Tia Halus
Tasya Gairah
Lina Rasa
Mutia Lembut
Vina Peluk
Melly Pandangan
Rara Malam
Shinta Bayang
Dyna Getar
Salsa Cinta
Rania Senyum
Rika Nakal
Farah Cahaya
Vanya Pandangan
Bella Tatapan
Rini Suara
Rani Pelukan
Citra Senyuman
Lila Getaran
Mira Centil
Liva Dekat
Dinda Nakal
Sari Manis
Lia Intim
Gita Mata
Aysha Sayang
Winda Dekat
Sari Pandang
Nita Getaran
Ayu Manja
Mira Intim
Dina Dambaan
Lani Bisik
Nira Mata
Jihan Rindu
Cika Cinta
Wina Dambaan
Tiwi Rasa
Nindy Pelan
Dilla Hening
Yana Hasrat
Santi Liar
Lilis Bisikan
Gisel Bisikan

07/07/2025 Diperbarui 15/07/2025
Kerja

App Catat Guru

https://bolt.new/~/sb1-l6q5bjxx

14/07/2025 Diperbarui 14/07/2025
Kerja

App Catat Prestasi

https://bolt.new/~/sb1-rv5tdauq

14/07/2025 Diperbarui 14/07/2025
Kerja

Pass Looping

44844444449rkff9rkfffff

03/07/2025 Diperbarui 03/07/2025
Kerja

Anydesk

SERGUR,,1290292420
DAPO,,1792048352
KANTOR,,1201862134
PERPUS,,1474925612

23/06/2025 Diperbarui 23/06/2025