https://github.com/techgaun/postr
Generate source code poster for fun
https://github.com/techgaun/postr
elixir phoenix-framework poster
Last synced: 6 months ago
JSON representation
Generate source code poster for fun
- Host: GitHub
- URL: https://github.com/techgaun/postr
- Owner: techgaun
- Created: 2017-02-21T21:04:09.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-15T20:13:00.000Z (about 7 years ago)
- Last Synced: 2025-03-26T06:34:36.678Z (6 months ago)
- Topics: elixir, phoenix-framework, poster
- Language: Elixir
- Homepage: http://postr.techgaun.com/
- Size: 343 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Postr
[Postr](http://postr.techgaun.com/) is a very simple phoenix app based on the information from [Pete Corey's ElixirPoster](http://www.east5th.co/blog/2017/02/13/build-your-own-code-poster-with-elixir).
All thanks to Pete Corey as he did the hard job of determining ratios and scaling that I used here.- Postr uses Imagineer under the hood but I avoided use of xml_builder and instead built the SVG manually so as to make it little faster.
- If imagemagick is installed, it will automatically rescale image to 1.667x1
### Up and Running
- `git clone git@github.com:techgaun/postr.git`
- `cd postr`
- `mix deps.get`
- `mix phoenix.server`
- Go to http://localhost:4000
- Enter the URL of image (PNG) and put source code you want in the poster.
- A file `postr.svg` will be downloaded once the SVG is generated.