A PowerShell script that can help you delete a site's web history without manually deleting it using Chrome and without deleting the whole thing using CCleaner.
This script:
- Works on Windows with Google Chrome profile
- Allows you to select 1 profile if you have multiple profiles
- Allows you to enter a link or keyword, it'll show the site's web history, then ask for confirmation
- Delete all related histories (
urls,visits,keyword_search_terms) and runsVACUUMto shrink the History file size immediately - Helps prevent the deletion of web history by an unwanted website like CCleaner
- Profile selection: Choose Chrome profile to clean the site's web history
- Delete site's web history: Delete only by link or keyword the user wrote
- Space recovery: Run with SQLite
VACUUMto free up disk space - Safe confirmation: Always asks before deleting
- No third-party tools required: Use
sqlite3.exeonly
- Windows 10 or later
- SQLite command-line tools (
sqlite3.exe) must be installed. How to install: Download the ZIP package namedsqlite-tools-win64-x64-<version>.zip(or 32-bit if required), extract it, and make suresqlite3.exeis accessible (either add to PATH or specify full path in the script). - Google Chrome must be completely closed before running this script. You can use Task Manager to completely close
- Turn off sync. If not, Chrome will be still showing history
- Download or clone this repository (Use Green
Codebutton) - Open PowerShell
- Running the command:
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass- Then running the script:
{Path_to_script}\Delete-SiteHistory.ps1- Select Chrome profile by write a number (
0is default) - Enter a URL or keyword (URL is recommended)
- Confirm deletion with Y to proceed or N to cancel
- Once the script has cleared a site's web history, it can't be undone. Make sure you really want to clear the web history before entering the command
- If Chrome is still open or closed without using Task Manager, the script will report an error saying it can't be executed
- This script only works with Chrome. If you want to use it with Edge or any browser, you have to modify the declaration inside the script
Python tool to decode and extract conversations from ChatGPT and DeepSeek exported files. Supports 4 versions:
ConversationsDecodeExtractor.py: Combines all ChatGPT's conversations into a single TXT fileConversationsDecodeExtractor2.py: Splits ChatGPT's onversations into separate TXT filesConversationsDecodeExtractor3.py: Combines all DeepSeek's conversations into a single TXT fileConversationsDecodeExtractor4.py: Splits DeepSeek's conversations into separate TXT files
- Python: any version that supports it
- JSON files from ChatGPT and DeepSeek (
conversations.jsonis the required file, included in the ZIP file, which was exported from theExport Databutton)
Run the script with the command:
python ConversationsDecodeExtractor.py "input_json.json" -o "output_txt.txt"Result: a file output_txt.txt (or whatever name you give it) is exported containing the entire ChatGPT's conversation
Run the script with the command:
python ConversationsDecodeExtractor2.py "input_json.json" -o "output_folder"Result: A bunch of TXT files containing ChatGPT's conversations appear in the folder.
The TXT files' names are in the form: [number]_[name].txt
Run the script with the command:
python ConversationsDecodeExtractor3.py "input_json.json" -o "output_txt.txt"Result: a file output_txt.txt (or whatever name you give it) is exported containing the entire DeepSeek's conversation
Run the script with the command:
python ConversationsDecodeExtractor4.py "input_json.json" -o "output_folder"Result: A bunch of TXT files containing DeepSeek's conversations appear in the folder.
The TXT files' names are in the form: [number]_[name].txt
- The scripts only extracts
content_type="text"and"role", i.e. messages, roles and replies - Other content like
user_editable_contextwill be ignored - If the conversation is too long, I recommend using
ConversationsDecodeExtractor2.pyso you can find it easier without having to open a huge file and experiencing lag
- The scripts only extract user's and assistant's replies + role
- If the conversation is too long, I recommend using
ConversationsDecodeExtractor4.pyso you can find it easier without having to open a huge file and experiencing lag
A python tool can show changes with "−" and "+"
- Export results from Modified Folder with extension:
.cfc - Add
−and+to show changes
- 2 folders:
- Original folder
- Modified folder
- Extension: comparing-changes
- Download CompareFolder.py and comparing-changes extension
- Run command on Command Prompt:
python CompareFolder.py "{input_folder}" -mo "{modified_folder}" -o "{output_folder_result}"- Go to
output_folder_resultand click any files with.cfcextension - You can see
−and+are coloring red and green
- Python will skip media files, unreadable files
- If you run script and show
Python wasn't found, you can run this command instead:
py CompareFolder.py "{input_folder}" -mo "{modified_folder}" -o "{output_folder_result}"Second versions of the old scripts. They have similar functionality, but have been significantly improved. 2 versions are supported:
ConversationsExtractor.py: Exports DeepSeek'sconversations.jsonto multiple TXT filesConversationsExtractor2.py: Another variant, exports ChatGPT'sconversations.jsonto multiple TXT files
- Python: any version that supports it
- JSON files from ChatGPT and DeepSeek (
conversations.jsonis the required file, included in the ZIP file, which was exported from theExport Databutton)
python ConversationsExtractor.py "input_json.json" -o "output_folder_result"Result: A bunch of TXT files containing DeepSeek's conversations appear in the folder. Same as V1 scripts, but it has many changes
python ConversationsExtractor2.py "input_json.json" -o "output_folder_result"Result: A bunch of TXT files containing ChatGPT's conversations appear in the folder. Same as V1 scripts, but it has many changes
- New message counter: Now you can know how many main messages and how many full messages in the conversation
- Ignore system messages and empty messages
- Context counter: This is the biggest update. Now you can know how many main contexts and how many full contexts
These scripts are calculate characters of your chat histories. To know your real context counts, use this mathematical formulas: Context ÷ 4
This is a website that helps you apply Glitch shaders to your images.
- Glitch HTML: Main HTML web script to generate frame
ClearBlackBackground.py: It helps you clear the black background if you don't wantAnimationFolder2GIF.py: It helps you merge your animation folder to GIF image
You need install Pillow:
pip install pillowor:
python -m pip install pillow- First, go to
Glitch.htmlby right clicking it and clickingOpen with/Google Chromeor any browser - Then, choose your image. I recommend choosing PNG image. Change amount of Glitch Speed and Glitch Amount as you want
- Next, click
Export ZIP (60 Frames). Extract ZIP to a folder - Finally, use these Python scripts:
python ClearBlackBackground.py "input_folder" -o "output_folder" -t thresholdpython AnimationFolder2GIF.py "input_folder_result" -o "Glitch.gif"- Web will generate all frames that were colored background with black
ClearBlackBackground.pymight remove too much/little. Adjustthreshold(0-255, default: 30)- If you don't want the 10s and 30 FPS limits, you can change this:
const totalFrames = 60;
const fps = 30;If you don't know how to set duration of the frames, use this formula: Frames = Duration × FPS
Frames:totalFramesDuration: How many seconds you want for your animationFPS:fps
If you want to improve this script:
- Fork the repository and create a pull request
- Open an issue for bug reports or feature requests