---
title: "Indonesia Gold Price Tracker"
url: "https://ridwaanhall.com/projects/indonesia-gold-price-vibe"
markdown: "https://ridwaanhall.com/projects/indonesia-gold-price-vibe.md"
summary: "A Django gold price tracker for Indonesia: the live IDR price, a history API, charts and an RSS feed."
---

# Indonesia Gold Price Tracker

> A Django gold price tracker for Indonesia: the live IDR price, a history API, charts and an RSS feed.

- Category: finance
- Status: Maintenance Support
- Started: April 26, 2025
- Built with: Django, Python, Chart.js, Whitenoise, Vercel
- Live: https://harga-emas.rone.dev
- Source: https://github.com/ridwaanhall/HargaEmas

## About

### The problem

Gold is a common way to save in Indonesia, but most price sites show only today's number, which says nothing about whether it is a good time to buy or sell.

### The approach

HargaEmas is a small Django app that shows the latest buy and sell price in IDR per 0.01 gram beside the history of those prices, as an interactive Chart.js page. Responses from the upstream price source are cached.

- A history API endpoint with configurable periods in days, months or years.
- A latest-price RSS feed, robots.txt and a sitemap.
- SEO metadata with Open Graph, Twitter cards and JSON-LD.

### The result

Live at harga-emas.rone.dev and deployed on Vercel through Django's WSGI entrypoint. Configuration is read with python-decouple and static files are served with Whitenoise.

## Features

- **Live Price**: The latest buy and sell price in IDR per 0.01 gram.
- **History API**: Historical prices for a configurable period of days, months or years.
- **Interactive Charts**: A Chart.js page for reading the trend.
- **RSS and SEO**: A latest-price feed, a sitemap, Open Graph and JSON-LD.

## Tags

gold, Harga Emas

## Elsewhere

- This page for people: https://ridwaanhall.com/projects/indonesia-gold-price-vibe
- Index of every page as Markdown: [llms.txt](https://ridwaanhall.com/llms.txt)
