MADE USING CURSOR AI IDE
An advanced Python application for automating LinkedIn interactions. Post content effortlessly to your LinkedIn profile with scheduled posts, media attachments, and more.
- π Post Creation: Create text posts with media attachments (images, videos)
- π History Tracking: View and manage your posting history
- π Automatic Retry: Smart retry mechanisms for failed posts
Thank you for downloading Auto-LinkedIn! This guide will help you install and run the application.
- Extract the ZIP file to a location of your choice
- Run the browser setup:
- Double-click on
install_browser.bat - Wait for the Playwright browser installation to complete
- Double-click on
- Launch the application:
- Double-click on
Auto-LinkedIn.exe - If Windows SmartScreen shows a warning, click "More info" and then "Run anyway"
- Double-click on
- Extract the ZIP file to your Applications folder or another location
- Run the browser setup:
- Open Terminal
- Drag and drop
install_browser.shinto the Terminal window - Press Enter to run the script
- Enter your password if prompted
- Wait for the Playwright browser installation to complete
- Launch the application:
- Control-click on
Auto-LinkedInand select "Open" - At the security warning, click "Open"
- The first time you run the app, macOS may require additional permissions
- Control-click on
- When you first run Auto-LinkedIn, you'll need to log in to your LinkedIn account
- The application will open a browser window automatically
- Log in to your LinkedIn account in the browser
- Once logged in, the application will show "Connected to LinkedIn"
A sample data file (sample_data.csv) is included in the resources folder. You can use this to test posting with the application.
If the browser installation script fails:
- Ensure you have Python 3.9 or higher installed
- Open a command prompt (Windows) or Terminal (Mac)
- Navigate to the application folder
- Run:
python -m playwright install chromium
This might be due to missing browser files:
- Run the browser installation script again
- Ensure you have an active internet connection
- Check if your antivirus is blocking the application
If you're having trouble logging in to LinkedIn:
- Try logging in manually in a normal browser first
- Check if your account has two-factor authentication enabled
- The application will wait for you to complete any security challenges
- Python 3.9 or higher
- pip (Python package installer)
-
Clone the repository
git clone https://github.com/main-salman/auto-linkedin.git cd auto-linkedin -
Install the package and dependencies
pip install -e .Or directly install requirements:
pip install -r requirements.txt
-
Install Playwright browsers
python -m playwright install chromium
python run.pyOr if installed as a package:
auto-linkedin- Launch the application using the command above
- The application will automatically open a browser window for LinkedIn login
- Log in to your LinkedIn account in the opened browser
- Once logged in successfully, the status in the application will update
- You can now create and schedule posts
- In the application, go to the "Create Post" tab
- Enter your post text in the text editor
- To add media, click "Add Media" and select files from your computer
- Set a publication date and time if you want to schedule the post
- Click "Post Now" to publish immediately or "Schedule" to add it to the queue
- Go to the "Scheduled Posts" tab to view upcoming posts
- You can edit, delete, or manually trigger scheduled posts
- The application will automatically publish scheduled posts at the designated time
The application stores its configuration in ~/.auto_linkedin_config.json. This includes:
- Browser user data directory path (for persisting login sessions)
- User interface settings
- Scheduling preferences
You can modify settings through the application's Settings tab.
pip install -e ".[dev]"pytestauto-linkedin/
βββ auto_linkedin/ # Main package
β βββ browser/ # Browser automation components
β βββ ui/ # User interface components
β βββ utils/ # Utility functions and helpers
β βββ app.py # Application core
β βββ scheduler.py # Post scheduling system
βββ docs/ # Documentation
βββ tests/ # Test suite
βββ run.py # Entry point script
βββ setup.py # Package setup
βββ requirements.txt # Dependencies
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Playwright for browser automation
- PyQt6 for the GUI framework
- LinkedIn for their platform