Description:
"Don't Click Me" is a mysterious Python project with an intriguing name. This project is written in Python, leveraging modules like tkinter
for GUI and pyarmor
for obfuscation. It is packaged into standalone executables for macOS, Windows, and Linux using pyinstaller
.
- Builds
- Requirements
- Setting Up a Virtual Environment
- Installation Guide
- Dependency Management
- Included Modules
- Obfuscation with PyArmor
- File Arrangement
- Contributing
- License
Install the ELF for Linux:
From Here:- Linux ELF
Install the EXE for Windows:
From Here:- Windows EXE
Install the .App for MacOs:
From Here:- macOS .App
Before you begin, ensure you have the following installed:
- Python 3.7 or higher
- pip (Python's package manager)
- pyinstaller (for creating standalone executable files)
- pyarmor (for obfuscating the Python code, optional)
Install pyinstaller
and pyarmor
using pip:
pip install pyinstaller pyarmor
It is recommended to use a virtual environment to isolate your dependencies and avoid conflicts with global Python installations.
-
Create a virtual environment:
python -m venv venv
-
Activate the virtual environment:
- On macOS/Linux:
source venv/bin/activate
- On Windows:
venv\Scripts\activate
- On macOS/Linux:
-
Once activated, you will see
(venv)
in your terminal prompt. -
Install the required dependencies:
pip install -r requirements.txt
-
To deactivate the virtual environment when done:
deactivate
Follow the steps below to create a standalone executable for your platform using pyinstaller
.
-
Activate the virtual environment (if you havenβt already):
source venv/bin/activate
-
Navigate to the directory containing your Python script:
cd src
-
Create a standalone executable:
pyinstaller --onefile --name YourAppName --icon=youricon.icns --add-data "path_to_data" --hidden-import=PIL._tkinter_finder path_to_script.py
Use .icns for icon on macos,
like
pyinstaller --onefile --name Clicks --icon=icons/noClick.icns --add-data "animation.gif:." --hidden-import=PIL._tkinter_finder process.py
use: and the end of the path to your additional data, refer to the installation for Linux to know more.
-
The standalone executable will be located in the
dist
folder. -
Run the executable:
./dist/your_script
-
Activate the virtual environment (if you havenβt already):
venv\Scripts\activate
-
Navigate to the directory containing your Python script:
cd src
-
Create a standalone executable:
pyinstaller --onefile --name YourAppName --icon=youricon.ico --add-data "path_to_data" --hidden-import=PIL._tkinter_finder path_to_script.py
For Windows use, instead of : and add the location of your images, GIFS, vids here.
like
pyinstaller --onefile --name clicks --icon=icons/noClick.ico --add-data "animation.gif;." --hidden-import=PIL._tkinter_finder process.py
-
The standalone executable will be located in the
dist
folder. -
Run the executable:
dist\your_script.exe
-
Activate the virtual environment (if you havenβt already):
source venv/bin/activate
-
Navigate to the directory containing your Python script:
cd src
-
Create a standalone executable:
pyinstaller --onefile --name YourAppName --add-data "path_to_data" --hidden-import=PIL._tkinter_finder path_to_script.py
For Windows use, instead of : and add the location of your images, GIFS, vids here.
like
pyinstaller --onefile --name clicks --add-data "animation.gif:." --hidden-import=PIL._tkinter_finder process.py
-
The standalone executable will be located in the
dist
folder. -
Run the executable:
./dist/your_script
To manage dependencies:
-
After installing or updating any modules in your virtual environment, update your
requirements.txt
file:pip freeze > requirements.txt
-
Other developers can install the same dependencies using:
pip install -r requirements.txt
- Purpose: Provides a graphical user interface (GUI) for the application.
- Details:
tkinter
comes pre-installed with Python, so no additional installation is required.
- Purpose: Used for obfuscating Python scripts for added security, ensuring the source code is harder to reverse-engineer.
- Installation:
pip install pyarmor
To obfuscate your Python code with pyarmor
:
-
Install
pyarmor
if you havenβt already:pip install pyarmor
-
Obfuscate your Python script:
pyarmor pack -e " --onefile" -x " --exclude dist" src/your_script.py
-
The obfuscated and packaged executable will be in the
dist
folder.
To keep the repository organized and maintainable, the following directory structure is recommended:
Don-t-Click-Me/
βββ README.md # Project description and instructions
βββ requirements.txt # List of dependencies (if any)
βββ venv/ # Virtual environment directory
βββ src/ # Source code files
β βββ your_script.py # Main Python script
βββ dist/ # Output directory for pyinstaller executables
βββ build/ # Build directory created by pyinstaller
βββ .gitignore # Files to ignore in Git
βββ .github/
βββ workflows/ # GitHub Actions workflows
βββ ISSUE_TEMPLATE/ # GitHub issue templates
README.md
: Provides project details and setup instructions.requirements.txt
: Specifies dependencies that can be installed withpip install -r requirements.txt
.venv/
: Contains the virtual environment files. Add this directory to.gitignore
to avoid committing it to Git.src/
: Contains the main Python script and any additional source files.dist/
: Stores standalone executables generated bypyinstaller
.build/
: Temporary directory created during the build process..gitignore
: Ensures unnecessary files (e.g.,build/
,dist/
,.pyc
files) are not tracked by Git.
Contributions are welcome! If you'd like to contribute, please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature-name
). - Make your changes.
- Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature-name
). - Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
Let me know if you'd like further adjustments or additions!
Keep coding, peeps!
And don't be a Scrpit kiddie