No description
  • PHP 91%
  • JavaScript 6.2%
  • CSS 2.1%
  • Shell 0.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-12-15 01:05:31 +00:00
lang Merge remote-tracking branch 'upstream/main' 2025-06-25 20:13:33 +02:00
lib restructure project and fix issue #12 2025-03-16 12:29:14 -07:00
public img: add revuo monero thumbnail banner 2025-12-14 19:00:49 +00:00
src Merge branch 'main' into rottenwheel 2025-07-19 12:29:21 +02:00
storage restructure project and fix issue #12 2025-03-16 12:29:14 -07:00
templates fix images again 2025-12-14 17:02:57 -08:00
.gitignore Merge branch 'main' into rottenwheel 2025-07-19 12:29:21 +02:00
config.dist.php Update config.dist.php 2024-09-06 19:37:44 +00:00
install-timers.sh make timers only run every 5 minutes. 2025-11-11 13:57:57 -08:00
LICENSE Create LICENSE 2024-11-24 13:59:57 +01:00
package-lock.json Merge branch 'main' into rottenwheel 2025-07-19 12:29:21 +02:00
package.json fix(deps): update dependency webpack-cli to v6 2025-03-04 18:01:29 +00:00
README.md Move ticker updates to systemd timer 2025-11-01 08:12:30 +05:00
secrets.dist.php restructure project and fix issue #12 2025-03-16 12:29:14 -07:00
webpack.config.js Merge remote-tracking branch 'upstream/main' 2025-06-25 20:13:33 +02:00

Favicon - moner.ooo

Revuo Monero Calc

Revuo Monero Calc is a web application for converting Monero (XMR) to various fiat currencies and vice versa. It provides almost real-time exchange rates and supports multiple languages based on the user's browser settings.

This is a fork of the original project by nice42q with some modifications, including:

  • Improved webpack configuration.
  • Support for JS-less operation.
  • Improved translations and translation handling.
  • Automatic exchange rate updates.
  • Automatic update of available currencies.
  • Configuration file for customizing the application.

Table of Contents

Features

  • Conversion between Monero (XMR) and multiple fiat currencies.
  • Multi-language support.
  • User-friendly interface.
  • Fetches currencies and exchange rates from CoinGecko API.
  • Fully functional without JavaScript. Even better with JavaScript enabled.
  • Customizable configuration.

Usage

Convert XMR to Fiat

To convert XMR to a fiat currency, simply visit:

https://calc.revuo-xmr.com/?in=USD

Replace USD with your preferred currency code. You can also specify the amount of XMR to convert:

https://calc.revuo-xmr.com/?in=USD&xmr=1

The xmr parameter specifies the amount of XMR to convert.

Convert Fiat to XMR

To convert a fiat currency to XMR, visit:

https://calc.revuo-xmr.com/?in=USD&fiat=1&direction=1

The fiat parameter specifies the amount of fiat currency to convert. The direction parameter is set to 1 to indicate conversion from fiat to XMR.

Use XMR Prices Data in Office Applications

  1. Select field A1.
  2. Go to Data → Link to external data....
  3. Input the URL calc.revuo-xmr.com and confirm.
  4. Confirm the import options and select HTML_1.

For an example, see kuno.anne.media.

Installation

Prerequisites

  • PHP
  • Node.js and npm
  • PHP-enabled web server (e.g. Caddy, Nginx, Apache)

Steps

  1. Clone the repository:

    git clone https://github.com/rottenwheel/moner.ooo.git
    cd moner.ooo
    
  2. Install JavaScript dependencies:

    npm install
    
  3. Build the project:

    npm run build
    
  4. Point your web server to the public directory inside this repository, and run the install-timers.sh script as root.

Configuration

Create a config.php file in the root directory to customize the application. Example:

<?php
return [
    'servers_guru' => false,
    'attribution' => 'Powered by Moner.ooo',
    'preferred_currencies' => ['USD', 'EUR', 'GBP'],
    'github_url' => 'https://git.private.coffee/kumi/moner.ooo/',
    'footer_links' => [
        ['url' => 'https://example.com', 'text' => 'Example Link']
    ],
];

Create a secrets.php file in the root directory to store CoinGecko API keys. use_api_key can be set to false for testing locally. Example:

<?php
return [
	'coingecko_api_key' => 'CG-xxxx',
	'coingecko_key_is_demo' => true,
	'use_api_key' => true,
];

Fetching Exchange Rates

Exchange rates are fetched from the CoinGecko API. The coingecko.php file handles the API requests and attempts to update exchange rates every 5 seconds. Due to the rate limits of the CoinGecko API, actual update intervals may vary and are closer to 60 seconds.

Contributing

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

  1. Fork the repository.

  2. Create a new branch for your feature or bugfix:

    git checkout -b my-feature-branch
    
  3. Make your changes.

  4. Commit your changes:

    git commit -m "Description of my changes"
    
  5. Push to the branch:

    git push origin my-feature-branch
    
  6. Create a pull request.

Acknowledgements

License

Revuo Monero Calc is released under GNU General Public License v3.0. See LICENSE for more information.