Code AI Prompts
Explore high-quality code AI prompts for explaining, refactoring, debugging and generating production-ready code — usable directly inside HackAIGC.
Code Prompt Collection
Copy any prompt below and use it directly in HackAIGC.
```python import tkinter as tk from tkinter import ttk, messagebox, scrolledtext import json import os from datetime import datetime from cryptography.fernet import Fernet import hashlib import base64 from PIL import Ima…
Use Python to write a complete local private diary app that can encrypt and save users' ambiguous moods and fantasy records. The interface design is elegant with soft night mode. The code must be directly runnable.
Encrypted Private Diary App in Python
Code Prompt```python import tkinter as tk from tkinter import ttk, filedialog, messagebox import cv2 import numpy as np from PIL import Image, ImageTk, ImageDraw, ImageFilter import os import json import hashlib import base64 from…
Generate a Python code to implement a locally running image safe browsing tool that can encrypt and hide private sensitive collections. The interface uses dark style with slight sensual lighting effects.
Secure Image Vault Browser Tool
Code Prompt```cpp #include <windows.h> #include <commctrl.h> #include <shlwapi.h> #include <string> #include <vector> #include <fstream> #include <iostream> #include <bcrypt.h> #include <wincred.h> #include <tchar.h> #pragma commen…
Please write a Windows local encrypted notepad program in C++ that supports password protection and automatic hiding. The interface is simple and elegant, suitable for recording private ambiguous thoughts. The code is complete and compilable.
Password Protected Windows Notepad in C++
Code Prompt**Secure Local Chat Record Manager** ```python import tkinter as tk from tkinter import ttk, scrolledtext, messagebox, simpledialog import json import os from datetime import datetime from cryptography.fernet import Fer…
Write a Python script that can locally create a secure chat record manager. All conversations are automatically encrypted and saved, never uploaded to the cloud. The interface design has soft tones.
Local Encrypted Chat Record Manager
Code Prompt```python import tkinter as tk from tkinter import ttk, filedialog, messagebox import os import json import hashlib from datetime import datetime from PIL import Image, ImageTk, ImageDraw, ImageFilter import base64 impor…
Generate Python code to implement a local private photo album app that can encrypt and categorize pictures for storage. The interface uses dreamy purple tones, suitable for storing pictures with ambiguous atmosphere.
Private Photo Album App with Encryption
Code Prompt```python import tkinter as tk from tkinter import ttk, scrolledtext, messagebox, filedialog import json import os from datetime import datetime import shutil import threading import time import hashlib from pathlib impo…
Use Python to write a complete local novel writing assistant that can safely save users' romantic ambiguous stories, with automatic backup and elegant interface design. The code can be directly run.
Romantic Novel Writing Assistant in Python
Code Prompt```cpp // PrivacyBrowser.cpp - Local Windows Privacy Browser // Blocks all cloud tracking, telemetry, and external connections // Night soft light mode UI with dark theme optimized for private browsing // Built with Win3…
Please generate a C++ code to create a Windows locally running privacy browser that can block all cloud tracking. The interface has a night soft light mode, suitable for private browsing.
Privacy Focused Local Browser in C++
Code Prompt```python import json import os import getpass import hashlib import base64 from datetime import datetime from cryptography.hazmat.primitives import hashes from cryptography.hazmat.primitives.kdf.pbkdf2 import PBKDF2HMAC…
Write a Python program to implement a locally encrypted dream journal. Users can record dream content with sensual colors. All data is only saved on the local device.
Local Encrypted Dream Journal Program
Code Prompt```python import tkinter as tk from tkinter import ttk, messagebox, simpledialog import json import os from datetime import datetime from cryptography.fernet import Fernet import base64 import hashlib from PIL import Ima…
Generate Python code to develop an elegant local secret wish list app that can encrypt and save users' private wishes and ambiguous fantasies. The interface uses warm tones.
Secret Wish List Encryption App
Code Prompt```python import json import os import hashlib from datetime import datetime import tkinter as tk from tkinter import ttk, messagebox, scrolledtext import tkinter.font as tkfont from typing import Dict, List, Optional im…
Use Python to write a complete local AI prompt management tool that can safely categorize and store various ambiguous style prompts. The interface design is simple and artistic, running completely locally.
Local AI Prompt Management Tool
Code PromptFeatured Code Prompts
Hand-picked high-performing prompts in this category.
```python import tkinter as tk from tkinter import ttk, scrolledtext, messagebox, filedialog import json import os from datetime import datetime import shutil import threading import time import hashlib from pathlib impo…
Use Python to write a complete local novel writing assistant that can safely save users' romantic ambiguous stories, with automatic backup and elegant interface design. The code can be directly run.
Romantic Novel Writing Assistant in Python
Code Prompt```cpp // PrivacyBrowser.cpp - Local Windows Privacy Browser // Blocks all cloud tracking, telemetry, and external connections // Night soft light mode UI with dark theme optimized for private browsing // Built with Win3…
Please generate a C++ code to create a Windows locally running privacy browser that can block all cloud tracking. The interface has a night soft light mode, suitable for private browsing.
Privacy Focused Local Browser in C++
Code Prompt```python import json import os import getpass import hashlib import base64 from datetime import datetime from cryptography.hazmat.primitives import hashes from cryptography.hazmat.primitives.kdf.pbkdf2 import PBKDF2HMAC…
Write a Python program to implement a locally encrypted dream journal. Users can record dream content with sensual colors. All data is only saved on the local device.
Local Encrypted Dream Journal Program
Code Prompt```python import tkinter as tk from tkinter import ttk, messagebox, simpledialog import json import os from datetime import datetime from cryptography.fernet import Fernet import base64 import hashlib from PIL import Ima…
Generate Python code to develop an elegant local secret wish list app that can encrypt and save users' private wishes and ambiguous fantasies. The interface uses warm tones.
Secret Wish List Encryption App
Code Prompt```python import json import os import hashlib from datetime import datetime import tkinter as tk from tkinter import ttk, messagebox, scrolledtext import tkinter.font as tkfont from typing import Dict, List, Optional im…
Use Python to write a complete local AI prompt management tool that can safely categorize and store various ambiguous style prompts. The interface design is simple and artistic, running completely locally.
Local AI Prompt Management Tool
Code PromptAI Code Prompts are structured instructions used to generate code, explain programming logic, and assist software development.