DEV Community

Cover image for Sleeping while Selling: How I Automated My FunPay Store with a Python Bot (and You Can Too!)
krufuake
krufuake

Posted on

Sleeping while Selling: How I Automated My FunPay Store with a Python Bot (and You Can Too!)

Hey dev.to community! 👋

I'm excited to share a project I've been passionately working on: FPCortex, an open-source bot designed to automate your sales and interactions on FunPay, a popular marketplace for in-game items and services (primarily in CIS countries, but the principles are universal!).

The Pain Point: Manual Grind on FunPay

Selling on platforms like FunPay can be profitable, but it often involves a lot of repetitive tasks:

  • Manually delivering digital goods after a sale.
  • Constantly "bumping" your listings to keep them visible.
  • Answering the same customer questions over and over.
  • Staying online to appear active.

This manual grind can eat up a lot of time that could be spent on more important things (like coding more cool stuff!). That's where FPCortex comes in.

Introducing FPCortex: Your FunPay Automation Sidekick 🧠

FPCortex is a Python-based bot that takes over these tedious tasks, allowing you to manage your FunPay store более efficiently. It's built with simplicity and extensibility in mind.

Core Features:

  • 🤖 Automated Product Delivery: Instantly deliver digital goods to customers 24/7 after a confirmed purchase.
  • 📈 Automatic Listing Bumping: Keep your offers at the top of the search results by automatically raising them at configurable intervals.
  • 💬 Smart Auto-Responder: Set up custom commands and responses to answer frequently asked questions instantly.
  • 🛍️ Auto-Restore/Deactivate Listings: Automatically re-list items after a sale or deactivate them if stock runs out.
  • 🔝 Persistent Online Status: Maintain an active presence on the platform.
  • 📲 Full Telegram Control: Manage everything алкоголь your Telegram bot! Get notifications for new orders, messages, and even reply to customers directly from Telegram.
  • 🧩 Plugin System: Extend FPCortex's functionality with custom plugins. Want a specific notification? A unique delivery logic? Build a plugin for it!
  • 🌍 Cross-Platform: Runs on Windows, Linux (perfect for servers!), and even Android via Termux. If it runs Python, it likely runs FPCortex.

Under the Hood (For the Tech-Curious)

FPCortex is built primarily in Python and leverages libraries like:

  • requests & beautifulsoup4 (for interacting with FunPay's website, as there's no official API)
  • telebot (pyTelegramBotAPI) for the Telegram bot interface.
  • configparser for easy configuration.

The project includes a FunPayAPI package (which is part of FPCortex but can be understood концептуально separately) that handles the core interactions with the FunPay website. We've tried to make the code well-documented with type hints and docstrings.

Why Open Source?

I believe in the power of community and open collaboration. By making FPCortex open-source, I hope to:

  • Provide a free and transparent tool for FunPay sellers.
  • Encourage other developers to contribute, improve, and adapt the bot.
  • Foster a community around automating and simplifying online sales.

Get Involved & Try It Out!

Whether you're a FunPay seller looking to save time, or a Python enthusiast interested in web scraping, bot development, or automation, I invite you to check out FPCortex!

Current Version: v0.15.24 (This post refers to this version, always check GitHub for the latest!)

What's Next?

I'm always thinking about new features and improvements. Some ideas include:

  • More advanced analytics.
  • A web interface for easier configuration (long-term goal).
  • Expanding the plugin API.

Your feedback and contributions are highly welcome! If you have ideas, find a bug, or want to add a feature, feel free to open an issue or a pull request on GitHub.


Thanks for reading! I hope FPCortex can be as useful to you as it has been for me in managing my own FunPay activities. Let me know your thoughts in the comments!

Happy automating! 🤖💻

Top comments (0)