A single file Analytics Tool to find Post-Payouts from a List of Users

in voilk •  3 months ago

    At the end of October 2024, I became aware of a large-scale spam attack targeting Hive. Since then, I have been working consistently, together with @hivewatchers, to address the situation. This effort has been highly effective. Over the months, I’ve been analyzing over 18,000 accounts daily through various API endpoints to detect and highlight potential payouts linked to stolen content. With the essential collaboration of @themarkymark and @buildawhale, nearly, if not, all of these fraudulent payouts have been successfully intercepted and downvoted before they could be reaching the 7-days payout window.

    This journey has been both challenging and deeply fulfilling, and it inspired me to enhance the tools I’ve been using. I decided to reimagine my analysis tool, which was previously a Python application running in Visual Studio Code. I rebuilt it as a more versatile single-file HTML document, integrating HTML, JavaScript, and CSS. Thanks to GitHub Copilot, I was able to convert from python to javascript and refine the tool into a more efficient and user-friendly version.

    The updated tool is now uploaded and ready for anyone to use. You can simply input a list of usernames and initiate an analysis. Beyond our collective efforts to combat spam on Hive, this tool could also serve as a helpful resource in other analytical scenarios.

    This initiative represents my commitment to preserving Hive as a trustworthy and vibrant platform. I’m confident this tool will further strengthen our ability to maintain a high standard for our community. Thank you all for your ongoing support and dedication!

    Live-Version: https://raw.githack.com/louis-88/hive-account-postcheck/main/index.html
    Github: https://github.com/louis-88/hive-account-postcheck

    Hive Analytics Dashboard

    A real-time analytics dashboard for monitoring Hive blockchain accounts and their post payouts.

    Live Version

    https://raw.githack.com/louis-88/hive-account-postcheck/main/index.html

    Screenshots

    blank screen

    detailed screenshot


    Features

    • Real-time monitoring of multiple Hive accounts
    • Batch processing with configurable size
    • Multiple API endpoint support with load balancing
    • Post filtering by date and payout value
    • Sortable results table with live updates
    • Live progress tracking
    • Enhanced activity logging with search and clear functionality
    • Pause/Resume functionality
    • Reblog filtering (shows only original content)
    • Configurable frontend selection for post links

    Activity Log Features

    • Real-time log updates
    • Search functionality for filtering log entries
    • Clear logs button
    • Color-coded log entries by type:
      • Info (blue)
      • Success (green)
      • Error (red)
      • Warning (yellow)
      • API (purple)
      • Fetch (light blue)
      • Process (light green)

    Usage

    1. Open index.html in a modern web browser
    2. Enter Hive accounts (one per line) or load from a text file
    3. Adjust settings as needed
    4. Click "Start Monitoring"
    5. View results in real-time as they're found

    Results Table

    The results table shows:

    • Username
    • Post Date
    • Link to Post (opens in selected frontend)
    • HBD Value
    • Post Title (truncated with full title on hover)

    Click column headers to sort by that column.

    image.png

    Settings

    • Days to Look Back: Number of days to check for posts (1-365)
    • Min HBD Threshold: Minimum payout value to include (in HBD)
    • Retry Limit: Number of API retry attempts
    • Timeout: API call timeout in seconds
    • Processes: Number of concurrent processes
    • API Call Delay: Delay between API calls in seconds
    • Batch Size: Number of accounts to process in each batch
    • Frontend: Choose preferred frontend for post links
      • PeakD (default)
      • Hive.blog
      • Ecency
      • Inleo

    API Endpoints

    Default endpoints included:

    • api.hive.blog (enabled)
    • api.deathwing.me (enabled)
    • api.openhive.network (enabled)
    • techcoderx.com (disabled)
    • api.c0ff33a.uk (disabled)
    • rpc.mahdiyari.info (disabled)

    You can add/remove endpoints and enable/disable them as needed. The system automatically checks endpoint status and uses only online endpoints.

    Technical Details

    • Pure HTML/CSS/JavaScript implementation
    • No external dependencies
    • Supports large account lists through batch processing
    • Automatic API failover and load distribution
    • Real-time updates with sort preservation

    Requirements

    • Modern web browser with JavaScript enabled
    • Internet connection to access Hive APIs

    File Structure

    /
    ├── index.html      # Main application
    ├── README.md       # Documentation
    

    License

    MIT License - Feel free to use and modify as needed.


    I’m always open to feedback, questions, or suggestions... feel free to give the tool a try! If you have any ideas for improvements or additional features, don’t hesitate to share them in the comments. I’d love to hear your thoughts and explore ways to make this tool even better.

      Authors get paid when people like you upvote their post.
      If you enjoyed what you read here, create your account today and start earning FREE VOILK!