Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jaredpetersen/codeprinter
🖨️ Print out code easily
https://github.com/jaredpetersen/codeprinter
code print printer printing programming-tools
Last synced: about 3 hours ago
JSON representation
🖨️ Print out code easily
- Host: GitHub
- URL: https://github.com/jaredpetersen/codeprinter
- Owner: jaredpetersen
- License: mit
- Created: 2015-05-10T04:49:26.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-05-01T14:57:14.000Z (7 months ago)
- Last Synced: 2024-05-03T00:58:11.898Z (7 months ago)
- Topics: code, print, printer, printing, programming-tools
- Language: JavaScript
- Homepage: https://jaredpetersen.github.io/codeprinter/
- Size: 7.2 MB
- Stars: 289
- Watchers: 7
- Forks: 40
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# codeprinter
[![Build Status](https://travis-ci.org/jaredpetersen/codeprinter.svg?branch=master)](https://travis-ci.org/jaredpetersen/codeprinter) [![Donate](https://img.shields.io/badge/donate-%E2%9D%A4-F33452.svg)](https://paypal.me/jaredtpetersen)
codeprinter's goal is pretty self-explanatory: to make it easier to print out code on paper. Many IDE's either don't allow you to print or have some weird quirks like adding unnecessary headers and footers, not allowing you to change your font size, or not providing syntax highlighting on your printout.
codeprinter makes it easy. Simply copy your code into the text box, select your desired font, font size, syntax highlighting theme, and whether or not you would like line numbers and then hit print.
## Usage
codeprinter is currently hosted by GitHub Pages at http://jaredpetersen.github.io/codeprinter/.
If you're concerned about pasting code into some website, you can use it locally as well. codeprinter is a React project that uses NPM and Node.js, so [you'll need both installed](https://nodejs.org/en/download/) in order to do so. Right now, codeprinter supports Node 8.x or higher, but the latest LTS version is always recommended.
Once that's out of the way, run the following commands to install the dependencies, build the application, and run it:
```
npm install
npm run build
npm start
```## Screenshots
![Paste your code](https://i.imgur.com/adhS1Cz.png)
![Change your font size](https://i.imgur.com/TlgIxpi.png)
![Print your code](https://i.imgur.com/IYHqP0z.png)## How to Contribute
Find a bug? Want to request a new feature? Awesome! Create an [issue](https://github.com/jaredpetersen/codeprinter/issues) and/or submit a [pull request](https://github.com/jaredpetersen/codeprinter/pulls). Just want to show your support for the project? [Buy me a cup of coffee](https://paypal.me/jaredtpetersen).