codeimage

A tool to beautify your code screenshots. Built with SolidJS and Fastify.

MIT License

Stars
1.4K
Committers
17

Bot releases are visible (Hide)

codeimage - v1.8.0 - Infrastructure update

Published by riccardoperra about 1 month ago

Infrastructure update

This release doesn't add any ui feature to CodeImage app. Instead, project dependencies has been updated in most of packages to vite 5, latest version of typescript, solid and newest version of Kobalte and @codeui/kit

What's Changed

Full Changelog: https://github.com/riccardoperra/codeimage/compare/v1.7.2...v1.8.0

codeimage - v1.7.2

Published by riccardoperra about 2 months ago

What's Changed

Full Changelog: https://github.com/riccardoperra/codeimage/compare/v1.7.1...v1.7.2

codeimage - v1.7.1

Published by riccardoperra about 2 months ago

What's Changed

Full Changelog: https://github.com/riccardoperra/codeimage/compare/v1.7.0...v1.7.1

codeimage - v1.7.0 Latest Release

Published by riccardoperra 4 months ago

What's Changed

Full Changelog: https://github.com/riccardoperra/codeimage/compare/v1.6.2...v1.7.0

codeimage - v1.6.2

Published by riccardoperra 5 months ago

What's Changed

Full Changelog: https://github.com/riccardoperra/codeimage/compare/v1.6.1...v1.6.2

codeimage - v1.6.1

Published by riccardoperra 6 months ago

What's Changed

Full Changelog: https://github.com/riccardoperra/codeimage/compare/v1.6.0...v1.6.1

codeimage - v1.6.0 - April update

Published by riccardoperra 6 months ago

CodeImage new update is here!

This update was released very late due to lack of time, and introduces several things to the editor options.

Here's a table of content of the 1.6.0 update:

Editor has been updated allowing to update the window border options. With this update,
a new macOS-like border is now available for everyone.

You'll be able to update the border type through the new border option.

https://github.com/riccardoperra/codeimage/assets/37072694/fa3d8d05-9f9f-4dc5-9a48-62457df11b54

Thanks to @alexandercerutti, the editor
will now let you decide the starting line number of your code.

https://github.com/riccardoperra/codeimage/assets/37072694/4cdc07f6-26c6-4974-981f-723e86726a88

Thanks to @SarjuHansaliya, the editor will now include a new 0 padding option

What's Changed

New Contributors

Full Changelog: https://github.com/riccardoperra/codeimage/compare/v1.5.0...v1.6.0

codeimage - v1.5.1

Published by riccardoperra 10 months ago

What's Changed

Full Changelog: https://github.com/riccardoperra/codeimage/compare/v1.5.0...v1.5.1

codeimage - v1.5.0 - 🍷🍾 December update

Published by riccardoperra 10 months ago

A new CodeImage update is here!

It has been several months since the last major update. During last months we've been working on app fixes, new languages support, themes...and today we'll release a bunch of new features as one of the last update of 2023 year.

Here's a table of content of the 1.5.0 update:

Editor has been updated introducing a new experimental font support with Local Font Access API.
Prior browser authorisation, this allows you to access yours locally installed fonts to display the code as you prefer.

https://github.com/riccardoperra/codeimage/assets/37072694/bc24e0c9-8792-4749-be7a-76d40d0a9a21

CodeImage always had two types of terminal-like themes: Windows and MacOS. We are planning to add during next months new special themes that can beautify your screenshots more and more.

Today, the window select has been updated introducing two new terminal themes:

  • MacOS Outline
  • MacOS Gray

We've also moved the old "accent mode" toggle in the sidebar to the window selection as a checkbox.

https://github.com/riccardoperra/codeimage/assets/37072694/23825c5b-adea-48f4-ba0b-0a6d36d09dea

The themes collection has been updated introducing two new themes inspired from Xcode:

  • Xcode Dark
  • Xcode light

https://github.com/riccardoperra/codeimage/assets/37072694/7d09728c-677e-41c0-9ae4-142956b4bc46

Since today, while opening CodeImage you may see sometimes a new dialog that will notify you of a new update.

You'll be able to recognise new features through a new badge indicating that it is a new feature.Once you use the feature a couple of times, the badge will automatically disappear.

As with all updates, we set aside some time to fix issues on both the application side and the internal side.

We fixed a tab name font rendering issue thanks to @KunalTanwar feedbacks, but we also made several optimization and improvements to the repository structure, particularly on unit and integration test of our backend.

We've also update the tab extension combobox replacing the Lion UI component with Kobalte

What's Changed

Full Changelog: https://github.com/riccardoperra/codeimage/compare/v1.4.4...v1.5.0

codeimage - v1.4.4

Published by riccardoperra 11 months ago

What's Changed

  • feat: add code ui segmented control support by @riccardoperra in #572

Full Changelog: https://github.com/riccardoperra/codeimage/compare/v1.4.3...v1.4.4

codeimage - v1.4.3

Published by riccardoperra 12 months ago

This new version introduce the JetBrains Fleet Dark Theme in the CodeImage editor!

Snippet using jetbrains fleet theme

What's Changed

Full Changelog: https://github.com/riccardoperra/codeimage/compare/v1.4.2...v1.4.3

codeimage - v1.4.2

Published by riccardoperra about 1 year ago

What's Changed

Full Changelog: https://github.com/riccardoperra/codeimage/compare/v1.4.1...v1.4.2

codeimage - v1.4.1

Published by riccardoperra about 1 year ago

What's Changed

Full Changelog: https://github.com/riccardoperra/codeimage/compare/v1.4.0...v1.4.1

codeimage - v1.4.0 - New UI, Presets, Custom background, Aspect ratio and more 💡

Published by riccardoperra over 1 year ago

After 3 months, we are thrilled to announce the latest CodeImage update. First of all me and @hackpirodev would like to thank all the users who have given feedback, recommended features and helped during the development.

This new update introduce several fixes and improvements like core changes to the UI, tech stack updates, export flow improvements and new features that have been requested over the last few months.

☁️ Presets - #472

We are introducing Presets, a powerful new feature that allows to save and manage presets configuration of the frame style. With this update, you can reuse your preferred styles on your snippets, ensuring a consistent and visually appealing presentation of the code.

Presets will available for both guest and logged-in users with some limits:

  • Guest users are now able to create a maximum of 3 presets, stored locally.
  • Logged in users are able to create a maximum of 10 presets.

Limit may change during the time after an analysis of the usage and the feedback we’ll receive.

Note Guest users presets are saved only locally through the browser. This means that by changing browsers, browsing incognito or clearing the cache you will lose all saved presets. If you have presets saved locally, once logged in you can persist them remotely automatically.

869shots_so

🖼️ Custom background - #503

Requested in #503, now you can also add a custom background on your snippet by using an image URL or by importing a file from your system.

At the moment we are not planning to save images on our backend, so the background image can't be persisted if you upload an image through your file system.

You can still add an image URL that we can save as string to reuse and save it. Obviously the image url must point to a valid URL and reachable from the browser. (e.g. https://assets.shots.so/preview/holo-gradients/01.jpg)

image

🖌️ New UI

CodeImage's UI have been revamped.

We are now officially using Kobalte through a self-made UI kit (repository).

This was definitely the longest update, involving the refactor of colors and components like buttons, dropdowns, inputs, modals and also the animations.

image

💾 Export settings - #509

You can now customize the export settings to match your preferences while using the Copy to clipboard and the Open in new tab feature. Also, you will be able to see the output resolution of the image with the associated pixel ratio, which will include also a 6x option to export the image in a bigger quality.

image

📐 Aspect ratio - #503 (Experimental)

This new release introduce an experimental support for Aspect ratio option.

You now have the flexibility to modify the aspect ratio to perfectly fit your desired dimensions, ensuring your images are not cropped when shared on social media platforms.

image

📦 API source code refactor to latest ESM and TypeScript >5.0 - #530

The backend api has been refactored to work with latest version of Node, TypeScript 5.1 and ES Modules 😄

We've adjusted our development workflow using tsup as bundler without losing the convenience of fastify-autoload

This update also removed node-tap in favor of vitest due to better DX and integration with ESM. We were able to refactor all of the tests without too much trouble.

📏 No more fixed width - #503

From this version, CodeImage snippet will have a dynamic min-width based on the content which can no longer be wrapped in multiple lines. This allows you to change the size as you like, even if the code is small and you don't need to have a minimum size of 600px.

image

image

🎴 Exported image improvements

We've updates some core behavior of DomExport package, which is a fork of html-to-image to add several fixes and improvements to the image export flow:

  • Snippets that overflows to the screen viewport are not cropped anymore
  • Partially fixes an issue where Safari from iOS and MacOS are not always able to generate the image including the custom background or the font (https://bugs.webkit.org/show_bug.cgi?id=219770)
  • Faster image generation by removing unused styles, fonts and duplicate cloned nodes

⚛️ State management

CodeImage never used a specific state manager to handle the application state. Solid allows you to manage everything very simply but the application is getting heavier, and it doesn't seem like it's easy to organize the code when it gets long and verbose.

For this reason we've done a refactor using my personal state manager statebuilder which allows you to manage the state in a modular way through plugins on an as-needed basis.

What's Changed

New Contributors

Full Changelog: https://github.com/riccardoperra/codeimage/compare/v1.3.1...v1.4.0

codeimage - v1.3.1

Published by riccardoperra over 1 year ago

What's Changed

Full Changelog: https://github.com/riccardoperra/codeimage/compare/v1.3.0...v1.3.1

codeimage - v1.3.0

Published by riccardoperra over 1 year ago

This new version of CodeImage add a new editor options: font ligatures.

Ligatures are glyphs that combines some sequences of characters into a new form that makes for a more harmonious. They were already present in some CodeImage fonts, but not everyone likes it and in some cases make snippets more difficult to read.

For this reason it has now become an option that can be configured and deactivated directly from the editor.

image

image

What's Changed

Full Changelog: https://github.com/riccardoperra/codeimage/compare/v1.2.0...v1.3.0

codeimage - v1.2.0

Published by riccardoperra over 1 year ago

image

What's Changed

Full Changelog: https://github.com/riccardoperra/codeimage/compare/v1.1.8...v1.2.0

codeimage - v1.1.8

Published by riccardoperra over 1 year ago

What's Changed

Full Changelog: https://github.com/riccardoperra/codeimage/compare/v1.1.7...v1.1.8

codeimage - v1.1.7

Published by riccardoperra over 1 year ago

What's Changed

Full Changelog: https://github.com/riccardoperra/codeimage/compare/v1.1.6...v1.1.7

codeimage - v1.1.6

Published by riccardoperra over 1 year ago

What's Changed

Full Changelog: https://github.com/riccardoperra/codeimage/compare/v1.1.5...v1.1.6