Skip to content

ARRRmada/ARRRmada.com

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

181 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

ARRR Accepted Here

ARRRmada.com

Community-maintained directory of merchants accepting Pirate Chain (ARRR)

License: MIT Jekyll PRs Welcome

🌐 Live Site Β· πŸ“ Report Bug Β· ✨ Request Feature


πŸ“– About

ARRRmada.com is an open-source, community-maintained directory of merchants and service providers accepting Pirate Chain (ARRR) cryptocurrency. Built as a static site with Jekyll, it provides transparency, community control, and zero hosting costs through GitHub Pages.

✨ Key Features

  • ⭐ Featured Merchants - Showcase system with Captain's Pick, Crew Favorite (random rotation), and New Arrivals
  • πŸ” Live Search - Real-time merchant search by name, description, or services
  • 🏷️ Category Filtering - Filter merchants by service categories
  • πŸ”— Automated URL Checking - Weekly validation of merchant links via GitHub Actions
  • βœ… Status Badges - Visual indicators for active, warning, or inactive merchant sites
  • 🎨 Listing Tool - Interactive merchant listing builder with live preview
  • πŸ“± Fully Responsive - Mobile-optimized design with adaptive layouts
  • πŸ”’ Anonymous Submissions - Submit listings without GitHub account
  • πŸ“Š Community Governance - Open-source with version control and full transparency
  • πŸš€ Zero Server Costs - Hosted on GitHub Pages, no database required
  • 🎯 SEO Optimized - Structured data (JSON-LD), enhanced meta tags

🎯 Featured Merchants

The Featured Merchants section highlights exceptional merchants through three tiers:

πŸ΄β€β˜ οΈ Captain's Pick (Gold Tier)

  • Manually selected by maintainers
  • Reserved for merchants with exceptional service and reliability
  • Configure in _data/featured.yml by setting merchant_id

βš“ Crew Favorite (Silver Tier)

  • Automatically rotates among active merchants
  • Randomly selected on each site build
  • Only shows merchants with url_status: 'active'

β›΅ New Arrival (Bronze Tier)

  • Automatically shows the newest merchant
  • Displays the first merchant in _data/merchants.yml
  • Important: Add new merchants at the top of the file

Configuration

Edit _data/featured.yml:

featured:
  - type: "captains_pick"
    merchant_id: "your-merchant-id"  # Change this to feature a merchant
    auto: false
    tier: "gold"
    
  - type: "crew_favorite"
    auto: true
    rotation: "random"  # Random active merchant
    tier: "silver"
    
  - type: "new_arrival"
    auto: true
    rotation: "newest"  # First merchant in merchants.yml
    tier: "bronze"

config:
  max_featured: 3
  enabled: true  # Set to false to disable featured section

πŸ› οΈ Tech Stack

  • Static Site Generator: Jekyll 4.3
  • Frontend: HTML5, CSS3, Vanilla JavaScript
  • Data Storage: YAML files (_data/)
  • Automation: GitHub Actions (URL checking, automated builds)
  • Deployment: GitHub Pages
  • CI/CD: Python 3.11 (URL validation scripts)
  • SEO: JSON-LD structured data, Open Graph, Twitter Cards

πŸš€ Quick Start

Prerequisites

  • Ruby 3.0+
  • Bundler
  • Git

Installation

  1. Clone the repository
   git clone https://github.com/ARRRmada/ARRRmada.com.git
   cd ARRRmada.com
  1. Install dependencies
   bundle install
  1. Run local development server
   bundle exec jekyll serve --baseurl ""
  1. Open in browser
   http://localhost:4000

Configuration

  • Local development: baseurl: ""
  • GitHub Pages (fork): baseurl: "/ARRRmada.com"
  • Production: baseurl: ""

Edit _config.yml accordingly.


πŸ“ Project Structure

ARRRmada.com/
β”œβ”€β”€ _data/
β”‚   β”œβ”€β”€ merchants.yml      # Merchant listings database
β”‚   β”œβ”€β”€ featured.yml       # Featured merchants configuration
β”‚   β”œβ”€β”€ tags.yml          # Category tags
β”‚   β”œβ”€β”€ gateways.yml      # Payment gateway listings
β”‚   └── buttons.yml       # Donation button images
β”œβ”€β”€ _layouts/
β”‚   └── page.html         # Main page template
β”œβ”€β”€ _includes/
β”‚   β”œβ”€β”€ head.html         # HTML head section (SEO meta tags)
β”‚   └── footer.html       # Site footer
β”œβ”€β”€ assets/
β”‚   β”œβ”€β”€ css/              # Stylesheets
β”‚   β”‚   β”œβ”€β”€ global.css    # Global styles
β”‚   β”‚   β”œβ”€β”€ index.css     # Homepage & featured merchants styles
β”‚   β”‚   β”œβ”€β”€ merchant.css  # Listing tool styles
β”‚   β”‚   └── footer.css    # Footer styles
β”‚   β”œβ”€β”€ js/               # JavaScript files
β”‚   β”‚   β”œβ”€β”€ index.js      # Search & filter logic
β”‚   β”‚   └── merchant.js   # Listing tool logic
β”‚   └── img/
β”‚       β”œβ”€β”€ merchants/    # Merchant logo images
β”‚       └── gateways/     # Gateway logo images
β”œβ”€β”€ .github/
β”‚   β”œβ”€β”€ workflows/
β”‚   β”‚   └── check-merchant-urls.yml  # URL checker workflow
β”‚   └── scripts/
β”‚       β”œβ”€β”€ check_urls.py            # URL validation script
β”‚       └── prepare_merchants.py     # Data preparation script
β”œβ”€β”€ index.html            # Homepage with featured merchants
β”œβ”€β”€ listing_tool.html     # Merchant listing builder
β”œβ”€β”€ listing_decoder.html  # Listing code decoder
└── _config.yml          # Jekyll configuration

🀝 Contributing

We welcome contributions! Here's how you can help:

Adding a Merchant Listing

Option 1: Via Listing Tool (Recommended)

  1. Visit ARRRmada.com/listing_tool
  2. Design your listing with live preview
  3. Generate listing code
  4. Submit via GitHub Issue Form

Option 2: Direct PR

  1. Fork the repository
  2. Add listing at the top of _data/merchants.yml:
   - id: unique_id
     name: Your Business Name
     description: Brief description (max 160 chars)
     url: https://yourstore.com
     image: your-logo.png
     tags: [20, 33, 45]  # Category IDs from tags.yml
     url_status: active
     url_last_checked: 2024-12-07
  1. Upload logo (400x240px) to assets/img/merchants/
  2. Submit Pull Request

⚠️ Important: Add new merchants at the top of merchants.yml so they appear in the "New Arrival" featured section.

Adding Payment Gateways

Edit _data/gateways.yml and upload logo to assets/img/gateways/

Adding Donation Buttons

Edit _data/buttons.yml and upload image to /button/

Code Contributions

  1. Fork the repo
  2. Create feature branch (git checkout -b feature/AmazingFeature)
  3. Commit changes (git commit -m 'Add AmazingFeature')
  4. Push to branch (git push origin feature/AmazingFeature)
  5. Open Pull Request

πŸ€– Automated URL Checking

A GitHub Action runs every Monday at 2 AM UTC to validate all merchant URLs:

  • βœ… Active - URL responds successfully
  • ⚠️ Warning - SSL issues or timeouts
  • ❌ Inactive - Connection failed

Status is stored in merchants.yml and displayed via badges on merchant cards.

Manual Trigger

Navigate to Actions β†’ Check Merchant URLs β†’ Run workflow


🏷️ Tag Management

Adding a New Tag

Edit _data/tags.yml:

- id: 50  # Unique ID
  name: Your Tag Name  # Max 20 chars

⚠️ Warning: Never change existing tag IDs - this breaks merchant listings!

Editing Tag Names

You can rename tags, but DO NOT change the ID.


πŸ“ Listing Code Format

Merchants generate a base64-encoded listing code containing:

  • Business name
  • Description
  • URL
  • Image filename
  • Selected category tags

Use the Listing Decoder to decode submissions.


🚒 Deployment

Production (arrrmada.com)

Automatic deployment via GitHub Pages on push to main branch.

Fork Deployment

  1. Enable GitHub Pages in repo settings
  2. Set baseurl: "/ARRRmada.com" in _config.yml
  3. Push changes
  4. Access at https://yourusername.github.io/ARRRmada.com

πŸ›‘οΈ Security

  • Automated URL validation prevents malicious links
  • YAML safe loading prevents code injection
  • Community review process for all submissions
  • Version control provides full audit trail

πŸ“œ License

This project is licensed under the MIT License - see the LICENSE file for details.


πŸ™ Acknowledgments


πŸ“ž Support


Made with βš“ by the Pirate Chain Community

Website β€’ Pirate Chain β€’ GitHub

About

An open source version of the ARRRmada directory.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 6