Skip to content

Translate terms, search for icons and download them formated and colored

Notifications You must be signed in to change notification settings

digidem/mapeo-icons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CoMapeo Icons

A Nuxt 4 application for discovering and generating colour-adjusted icon assets that can be dropped straight into CoMapeo or Mapeo configurations. The app wraps The Noun Project API, provides on-the-fly translations, and exports ready-to-use SVG data URIs.

Getting Started

  1. Duplicate the example environment file and add your credentials for The Noun Project API:

    cp .env.example .env
  2. Install dependencies and launch the development server:

    npm install
    npm run dev
  3. Visit http://localhost:3000 and start searching.

Available Scripts

  • npm run dev – start the Vite-powered Nuxt dev server
  • npm run build – compile the production bundle
  • npm run preview – serve the built Nitro output locally
  • npm run lint – run ESLint, Stylelint and Prettier checks
  • npm run lintfix – autofix supported lint issues and format files
  • npm run test – execute the Playwright end-to-end suite (headless); it starts the dev server on port 4173, so keep that port free
  • npm run test:headed / npm run test:ui – run Playwright locally in headed or UI mode

Environment

The application expects the following variables in .env:

  • NOUN_KEY – The Noun Project consumer key
  • NOUN_SECRET – The Noun Project consumer secret
  • ICONS_TO_DOWNLOAD (optional) – number of icons to fetch per request

Restart the dev server whenever you update these values.

Project Structure

  • pages/ – route-driven screens backed by the Nuxt router
  • components/ – shared Vue components used across pages
  • server/ – Nitro API endpoints and supporting utilities
  • libs/ – browser-side utilities (e.g. colour filter generator)
  • locales/ – JSON translation bundles consumed by @nuxtjs/i18n
  • public/ – static assets served directly without processing
  • tests/e2e/ – Playwright scenarios covering key user journeys
  • types/ – TypeScript shims for external libraries without typings

The project relies on Tailwind CSS for styling and Playwright for UI verification. See package.json for additional scripts and tooling.

About

Translate terms, search for icons and download them formated and colored

Resources

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •