MCPcopy Index your code
hub / github.com/meowtec/Imagine

github.com/meowtec/Imagine @v0.7.5 sqlite

repository ↗ · DeepWiki ↗ · release v0.7.5 ↗
294 symbols 560 edges 89 files 0 documented · 0%
README

Imagine

build

Imagine is a desktop app for compression of PNG and JPEG, with a modern and friendly UI.

Save for web.

Install

For Windows, macOS and Linux, download binaries from:

https://github.com/meowtec/Imagine/releases

  • Imagine-Setup-x.y.z.exe - Windows
  • Imagine-x.y.z.dmg - macOS
  • Imagine-0.4.1-x.y.z.AppImage - Linux

国内用户从 GitHub 下载可能比较慢,可以使用国内加速

Install on linux

App for linux is distributed in AppImage format. Install it with command line:

chmod a+x Imagine-x.y.z-x86_64.AppImage # make executable
./Imagine-x.y.z-x86_64.AppImage # install and run

Screenshot

Screenshot

Features

  • Multi format (JPEG, PNG, WebP)
  • Format conversion
  • Cross platform
  • GUI
  • Batch optimization
  • i18n (English, 简体中文, Nederlands, Español, Français, Italiano, Deutsch)

Build and Contribute

git clone https://github.com/meowtec/Imagine.git
npm install
npm run dev

A PR with all checks passed is welcome.

Before submit a PR, please run npm run test and make sure it success on your machine.

Up to now, there are only 5 locales. To add a new locale, you can either submit a PR, or create an issue, or just send me an email(found in my profile).

Built on

  • pngquant: Lossy PNG compressor
  • mozjpeg: Improved JPEG encoder
  • WebP: A new image format for the Web
  • Electron: Build cross platform desktop apps with JavaScript, HTML, and CSS

Extension points exported contracts — how you extend this code

IModalProps (Interface)
(no doc)
modules/renderer/components/Modal.tsx
ImagineAPI (Interface)
(no doc)
modules/bridge/interface.ts
MenuEventMap (Interface)
(no doc)
modules/backend/menu.ts
ILocaleTextsMap (Interface)
(no doc)
modules/common/i18n.ts
Window (Interface)
(no doc)
typings/global.d.ts
ChildProcessPromise (Interface)
(no doc)
typings/child-process-promise.d.ts
ICollapseProps (Interface)
(no doc)
modules/renderer/components/Collapse.tsx
AppMenu (Interface)
(no doc)
modules/backend/menu.ts

Core symbols most depended-on inside this repo

on
called by 17
modules/backend/menu.ts
createStore
called by 11
modules/renderer/store/store.ts
handleSave
called by 7
modules/backend/menu.ts
updateTaskList
called by 6
modules/renderer/store/reducer.ts
sleep
called by 6
modules/common/utils.ts
getFilePath
called by 6
modules/common/file-utils.ts
updateTaskItem
called by 5
modules/renderer/store/reducer.ts
ipcSend
called by 5
modules/bridge/interface.ts

Shape

Function 114
Method 88
Interface 50
Class 36
Enum 6

Languages

TypeScript100%

Modules by API surface

modules/renderer/store/reducer.ts20 symbols
modules/renderer/containers/Alone.tsx17 symbols
modules/renderer/containers/ActionBar.tsx16 symbols
modules/renderer/containers/OptionsPanel.tsx15 symbols
modules/common/types.ts15 symbols
modules/renderer/components/ImageViewer.tsx13 symbols
modules/renderer/components/Messager.tsx12 symbols
modules/common/file-utils.ts12 symbols
modules/renderer/components/TaskView.tsx11 symbols
modules/common/utils.ts11 symbols
modules/backend/menu.ts10 symbols
modules/renderer/components/Ranger.tsx9 symbols

Dependencies from manifests, versioned

@types/electron-devtools-installer2.2.0 · 1×
@types/fs-extra9.0.7 · 1×
@types/jest27.4.0 · 1×
@types/lodash4.14.168 · 1×
@types/pixelmatch5.2.2 · 1×
@types/react17.0.2 · 1×
@types/react-dom17.0.1 · 1×
@types/react-redux7.1.16 · 1×
@types/semver7.3.4 · 1×

For agents

$ claude mcp add Imagine \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact