Skip to content

geekskai/decimaltools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DecimalTools — Free Online Decimal & Measurement Utilities

Site preview

GitHub stars Deploy with Vercel License: MIT TypeScript Tailwind CSS

Live site · 中文说明

Built from the GeeksKai blog stack — refocused on decimal tools, converters, and SEO-friendly docs.


About this project

DecimalTools (decimaltools.com) is a Next.js web app that ships free, client-side utilities for decimal math, fractional inches, and related measurement workflows, plus MDX articles and guides. The codebase was migrated and adapted from the open-source blog template geekskai/blog (same App Router, Contentlayer2, Tailwind, and content pipeline), then rebranded and trimmed for this product.

If the original blog template helped you, consider starring geekskai/blog as well as this repo.

Features

  • Tools — Interactive calculators and converters (e.g. Inches to Decimal), with UX tuned for quick copy-paste and reference.
  • Content — Blog-style MDX posts under data/blog (math via KaTeX, SEO metadata, optional FAQ front matter).
  • i18nnext-intl–based locale routing under app/[locale].
  • Performance & SEO — Next.js 14 App Router, static generation where configured, sitemap/IndexNow scripts as in repo.

Tech stack

Area Stack
Framework Next.js 14 (App Router), React 18, TypeScript
Content contentlayer2 + MDX
Styling Tailwind CSS 3
i18n next-intl
Analytics / extras Pliny (optional integrations)

Quick start

git clone https://github.com/geekskai/decimaltools.git
cd decimaltools
yarn
yarn dev

Windows (PowerShell) — if your environment needs it:

$env:PWD = (Get-Location).Path
yarn dev

Open http://localhost:3000 (exact port may vary).

Project layout (high level)

  • app/[locale]/ — Pages, layouts, and tool routes.
  • data/blog/ — MDX posts and front matter.
  • contentlayer.config.ts — Content models and MDX pipeline.
  • messages/ — Locale strings for next-intl.
  • scripts/ — Build helpers (e.g. post-build, IndexNow).

Deployment

Vercel

Deploy with Vercel

Set environment variables in the Vercel project dashboard as needed (analytics, Giscus, API keys for optional features). Copy from .env.example if present in the repo, or add only what you enable.

Static / other hosts

Some setups use:

EXPORT=1 UNOPTIMIZED=1 yarn build

Confirm with your hosting docs and next.config.js for this project.

Contributing

Issues and PRs are welcome: bug fixes, docs, accessibility, and new tools that fit the DecimalTools scope.

License

MIT © geeks kai

Upstream & attribution

  • Blog foundation: geekskai/blog — original Next.js + Contentlayer blog template this project grew from.
  • Third-party components: Some tools may bundle or adapt other MIT-licensed projects; see per-tool ATTRIBUTION.md or license files where applicable.

Made with care for DecimalTools

About

A highly customizable Next.js project template.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors