Create beautiful images of your source code.

Overview

Code Image

Build & Deploy Docker Image Version (latest by date) Docker Image Size (latest by date) Docker Pulls

Create beautiful images of your source code.

Code Image

Using

import React from "react";
import CodeImage from '@wcj/code-image';

export default function App() {
  return (
    <CodeImage />
  );
}

Docker

docker pull wcjiang/code-image
# Or
docker pull ghcr.io/jaywcjlove/code-image:latest
docker run --name code-image --rm -d -p 9612:3000 wcjiang/code-image:latest
# Or
docker run --name code-image -itd -p 9612:3000 wcjiang/code-image:latest
# Or
docker run --name wxmp -itd -p 9612:3000 ghcr.io/jaywcjlove/code-image:latest

Visit the following URL in your browser

http://localhost:9612/

Development

  1. Install
npm install
  1. To develop, run the self-reloading build:
npm run build  # Compile packages      📦 @wcj/code-image
npm run watch  # Real-time compilation 📦 @wcj/code-image
  1. Run Document Website Environment:
npm run start

Contributors

As always, thanks to our amazing contributors!

Made with action-contributors.

License

Licensed under the MIT License.

You might also like...

Create beautiful quotes that capture your attention.

Create beautiful quotes that capture your attention.

Features Easy text highlights via normal rich text formatting Yellow = Bold, Blue = Italic Export to png, jpeg, svg, or copy png to clipboard Supports

Dec 15, 2022

Create beautiful and simple HTML pages from your Readme.md files

Create beautiful and simple HTML pages from your Readme.md files

🐠 Oranda Create beautiful and simple HTML pages from your Readme.md files 🛠 No config 👩‍💻 Code Highlighting 💯 Emoji Support ✨ Creates Static file

Oct 13, 2022

A VS Code extension to practice and improve your typing speed right inside your code editor. Practice with simple words or code snippets.

A VS Code extension to practice and improve your typing speed right inside your code editor. Practice with simple words or code snippets.

Warm Up 🔥 👨‍💻 A VS Code extension to practice and improve your typing speed right inside your code editor. Practice with simple words or code snipp

Dec 12, 2022

Snippets4Dummies is an easy to use Visual Code Extension which is used for building beautiful layouts as fast as your crush rejects you!

Why Snippets4Dummies? Snippets4Dummies is an easy to use Visual Code Extension which is used for building beautiful layouts as fast as your crush reje

Oct 11, 2022

PaperFreeForm is a Free Form Builder to save trees and create beautiful forms

PaperFreeForm PaperFreeForm is a Free Form Builder to save trees and create beautiful forms. Easy online form builder that works like a doc. Just add

Feb 24, 2022

An opinionated tool to create beautiful, lightweight, static HTML/CSS practice quizzes

Taoquiz An opinionated tool to create beautiful, lightweight, static HTML/CSS practice quizzes "Perfection is achieved, not when there is nothing more

Mar 28, 2022

Create beautiful interactive stories using Sutori formtted XML.

Create beautiful interactive stories using Sutori formtted XML.

Sutori Studio An IDE for creating beautiful interactive stories powered by sutori-js. This project is still in an early state, and has a number of kno

Jul 4, 2022

Create 💎 beautiful video mockups from templates withing ⏳ seconds

Create 💎 beautiful video mockups from templates withing ⏳ seconds

📱 Mockoops Create animated mockups from boring screen recordings in seconds, powered by React. ⚡️ Superfast rendering powered by Serverless Functions

Jan 6, 2023

Create beautiful interactive web application with Recative System.

Recative is a comprehensive system to help creators to build interactive media for the modern web platform. The Recative System aims to allow creators

Jan 2, 2023
Comments
  • chore(deps): update dependency lerna to v6

    chore(deps): update dependency lerna to v6

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | lerna (source) | ^5.4.3 -> ^6.0.0 | age | adoption | passing | confidence |


    Release Notes

    lerna/lerna

    v6.0.3

    Compare Source

    Note: Version bump only for package lerna

    v6.0.2

    Compare Source

    Note: Version bump only for package lerna

    v6.0.1

    Compare Source

    Bug Fixes

    v6.0.0

    Compare Source

    Note: Version bump only for package lerna


    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
  • Dependency Dashboard

    Dependency Dashboard

    This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

    Open

    These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

    Detected dependencies

    dockerfile
    Dockerfile
    github-actions
    .github/workflows/ci.yml
    • actions/checkout v3
    • actions/setup-node v3
    • actions/checkout v3
    • actions/setup-node v3
    • actions/upload-artifact v3
    • peaceiris/actions-gh-pages v3
    • ncipollo/release-action v1
    • JS-DevTools/npm-publish v1
    • actions/checkout v3
    • actions/download-artifact v3
    npm
    core/package.json
    • @uiw/codemirror-extensions-langs ^4.12.2
    • @uiw/codemirror-themes-all ^4.12.1
    • @uiw/react-codemirror ^4.12.1
    • dom-to-image-more ^2.6.0
    • react-keywords ^0.0.5
    • styled-components ^5.3.5
    • @babel/runtime ^7.18.9
    • @types/react ^18.0.17
    • @types/react-dom ^18.0.6
    • @types/styled-components ^5.1.26
    • react ^18.2.0
    • react-dom ^18.2.0
    • react >=16.9.0
    • react-dom >=16.9.0
    package.json
    • @kkt/ncc ^1.0.14
    • compile-less-cli ^1.8.13
    • husky ^8.0.1
    • lerna ^5.4.3
    • lint-staged ^13.0.3
    • prettier ^2.7.1
    • pretty-quick ^3.1.3
    • tsbb ^3.7.7
    website/package.json
    • @babel/runtime ^7.18.9
    • @uiw/react-back-to-top ^1.2.1
    • @uiw/react-github-corners ^1.5.15
    • @uiw/react-markdown-preview ^4.1.0
    • @wcj/dark-mode ^1.0.15
    • react ^18.2.0
    • react-dom ^18.2.0
    • styled-components ^5.3.5
    • @kkt/less-modules ^7.2.0
    • @kkt/scope-plugin-options ^7.2.0
    • @types/react ^18.0.17
    • @types/react-dom ^18.0.6
    • @types/styled-components ^5.1.25
    • kkt ^7.2.0
    • markdown-react-code-preview-loader ^2.1.2

    • [ ] Check this box to trigger a request for Renovate to run again on this repository
    opened by renovate[bot] 0
Releases(v1.0.6)
  • v1.0.6(Sep 10, 2022)

    Documentation v1.0.6: https://raw.githack.com/uiwjs/react-monorepo-template/30f2916/index.html
    Comparing Changes: https://github.com/jaywcjlove/code-image/compare/v1.0.5...v1.0.6

    • 📖 doc: Update README.md dd7e52b @jaywcjlove
    • 🎨 style: update window style. c1ae8cf @jaywcjlove
    Source code(tar.gz)
    Source code(zip)
  • v1.0.5(Sep 10, 2022)

    Documentation v1.0.5: https://raw.githack.com/uiwjs/react-monorepo-template/0275689/index.html
    Comparing Changes: https://github.com/jaywcjlove/code-image/compare/v1.0.4...v1.0.5

    • 🌟 feat: setting download image name. 0ed3ee6 @jaywcjlove
    • 🌟 feat: add line hightlight setting. 814571a @jaywcjlove
    • 🎨 style: add box shadow style setting. 47c0915 @jaywcjlove
    • 🌟 feat: Support docker. c6592c2 @jaywcjlove
    • 💄 chore: update workflows config. ec5d1ee @jaywcjlove
    • 🌟 feat: add window style. 9087dbb @jaywcjlove
    • 🌟 feat: add title option. f558d97 @jaywcjlove
    • 💄 chore: update workflows config. 45b4cf2 @jaywcjlove
    • 📖 doc: Update README.md 8044fdc @jaywcjlove
    Source code(tar.gz)
    Source code(zip)
  • v1.0.4(Sep 9, 2022)

    Documentation v1.0.4: https://raw.githack.com/uiwjs/react-monorepo-template/ed4b64e/index.html
    Comparing Changes: https://github.com/jaywcjlove/code-image/compare/v1.0.3...v1.0.4

    • 📖 doc: Update README.md 40a01fd @jaywcjlove
    • 🎨 style: update toolbar style. 3b38cee @jaywcjlove
    Source code(tar.gz)
    Source code(zip)
  • v1.0.3(Sep 9, 2022)

    Documentation v1.0.3: https://raw.githack.com/uiwjs/react-monorepo-template/fc3af14/index.html
    Comparing Changes: https://github.com/jaywcjlove/code-image/compare/v1.0.2...v1.0.3

    • 🎨 style: modify dark/light theme. afeba3e @jaywcjlove
    • 🎨 style: modify toolbar color style. e4c93e0 @jaywcjlove
    Source code(tar.gz)
    Source code(zip)
  • v1.0.2(Sep 9, 2022)

    Documentation v1.0.2: https://raw.githack.com/uiwjs/react-monorepo-template/af68a3d/index.html
    Comparing Changes: https://github.com/jaywcjlove/code-image/compare/v1.0.1...v1.0.2

    • 🌟 feat: add setting panel. 5cd23f3 @jaywcjlove
    • 🎨 style: update toolbar button background style. 0e45d5e @jaywcjlove
    • 📖 doc: Update core/README.md 3fcbce8 @jaywcjlove
    • 🎨 style: modify warpper style. c397e40 @jaywcjlove
    • 💄 chore: update workflows config. 403e79c @jaywcjlove
    Source code(tar.gz)
    Source code(zip)
  • v1.0.1(Sep 8, 2022)

    Documentation v1.0.1: https://raw.githack.com/uiwjs/react-monorepo-template/8983e04/index.html
    Comparing Changes: https://github.com/jaywcjlove/code-image/compare/v0.0.1...v1.0.1

    • 🌟 feat: init project. 7959f2f @jaywcjlove
    • 🐞 fix: fix editor line warpping. 1367deb @jaywcjlove
    • 💄 chore: update workflows config. 108fc4f @jaywcjlove
    Source code(tar.gz)
    Source code(zip)
Owner
小弟调调™
(͡·̮̃·̃) 如今撸码,像是早上起来需要刷牙一样的习惯。
小弟调调™
MidJourney is an AI text-to-image service that generates images based on textual prompts. It is often used to create artistic or imaginative images, and is available on Discord and through a web interface here.

Midjourney MidJourney is an AI text-to-image service that generates images based on textual prompts. It is often used to create artistic or imaginativ

Andrew Tsegaye 8 May 1, 2023
Create beautiful code snippets from your VSCode environment.

Snippets Photo Shoot Create beautiful code snippets from your VSCode environment. How it works Select the code snippet you want to use, then right cli

Renato Pozzi 24 Aug 3, 2022
Easiest 1-click way to install and use Stable Diffusion on your own computer. Provides a browser UI for generating images from text prompts and images. Just enter your text prompt, and see the generated image.

Stable Diffusion UI Easiest way to install and use Stable Diffusion on your own computer. No dependencies or technical knowledge required. 1-click ins

null 3.5k Dec 30, 2022
📸 A command-line tool to generate code images of your local code right away from the terminal

?? rayli ?? A command-line tool to generate code images of your local code right away from the terminal Usage Commands Usage $ npm install -g rayli $

buidler's hub 45 Nov 4, 2022
Simple jQuery plugin that will allow users to zoom in your images, perfect for product images and galleries.

Image Zoom (jQuery) Plugin Simple jQuery plugin that will allow users to zoom in your images, perfect for product images and galleries that is less th

Mario Duarte 8 Aug 3, 2022
Deno module to generate images from source code using Aloxaf/silicon.

deno-silicon Deno module to generate images from source code using Aloxaf/silicon. Dependencies Please refer silicon's dependencies Support Version de

skanehira 8 Dec 13, 2022
Responsive no-jQuery pure JS/CSS Lightbox for images, no dependencies, 10kb unminified source code, with demo

img-lightbox Responsive no-jQuery pure JS/CSS Lightbox for images, no dependencies, 10kb unminified source code, with demo Demo codepen jsfiddle jsbin

englishextra 12 Jun 13, 2022
Quickly create an interactive HTML mock-up by auto sourcing lorem ipsum/images generators, with minimal html markup, and no server side code

RoughDraft.js v0.1.5 Quickly mockup / prototype HTML pages with auto-generated content, without additional JavaScript or server side code. <section>

Nick Dreckshage 464 Dec 21, 2022
Compare James Webb Space Telescope images to older images.

How much more powerful is the James Webb Space Telescope when compared to Hubble? Find out! More info Want to help out? CONTRIBUTING.md Blog post with

John Christensen 399 Jan 3, 2023