• Stars
    star
    146
  • Rank 252,769 (Top 5 %)
  • Language
    Elixir
  • Created almost 8 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

ElixirPoster

For a detailed rundown of why this project exists, please ready Build Your Own Code Poster with Elixir. The general idea was to create a commits.io style poster for a client of mine.

During that processes, I decided to make an Elixir poster as well, to celebrate the language I wrote to build the tool.

Warning

Take this tool for what it is. It's a utility I hacked together to generate a one-off poster specifically for my needs. It's not a general purpose poster making tool, and may not work for your use case.

I've published this repo as a learning tool and as a supplement to this article. It is not intended to be a quality piece of standlone software.

Read below if you're still intent on giving it a spin:

Instructions

This is an Elixir project. You'll need Elixir installed before running this application. Check out the Elixir Introduction for help getting up to speed. Once you've got Elixir up and running, and cloned this project locally, proceed to the following steps.

  1. Scale an image of your choosing to 1.667x1 and resize to approximately 398px by 300px. As an example, hereโ€™s the image I used to generate the Elixir poster.
  2. Gather the source code you want to use in the poster into a single file.
  3. From the project root, start an interactive shell (iex -S mix)
  4. Call the ElixirPoster.go function. By default, this assumes that your image is called image.png, and your source file is called code in the root of the project. These options can be overridden, if desired. See the ElixirPoster.go definition.
  5. On my machine, with the given source image, it takes approximately 3 seconds to generate the final poster. The final result is an SVG saved to out.svg.
  6. Open out.svg in Inkscape, export to PNG, print!

Simpler Instructions

  1. Put any code you want used in a file code
  2. Put the logo of your choosing in a file, image.png
  3. mix deps.get
  4. iex -S mix
  5. ElixirPoster.go

More Repositories

1

chord

*slaps roof of Chord* this bad boy can fit so many chords.
Elixir
91
star
2

live_canvas

Elixir
31
star
3

hello_bitcoin

Elixir
26
star
4

julia-templeos

Julia set generator written for TempleOS
C++
22
star
5

bitcoin_network

Elixir
19
star
6

serverless-mongodb

JavaScript
16
star
7

hello_crawler

Elixir
13
star
8

hello_blockchain

Elixir
12
star
9

hello_absinthe

Elixir
11
star
10

minimum_viable_phoenix

Elixir
11
star
11

.emacs.d

Emacs Lisp
10
star
12

inject_detect

JavaScript
10
star
13

chord-chart

JavaScript
9
star
14

life

Elixir
8
star
15

affiliate_crawler

Elixir
7
star
16

advent_of_code_2017

Elixir
5
star
17

bip39

Elixir
4
star
18

unit-testing-with-testdouble

Unit testing with Meteor 1.3 and testdouble.js
JavaScript
4
star
19

hello-meteor-modules

JavaScript
4
star
20

glorious_voice_leader

JavaScript
4
star
21

suffixer

Find words with a given suffix
CSS
3
star
22

sublime-hide-menu

Hides the Sublime Text 3 menu on startup.
Python
3
star
23

chord_namer

JavaScript
3
star
24

JuliaSass

Julia set written with Sass and Haml
CSS
3
star
25

phoenix_react

An example of how to work with Create React App, Apollo client, Absinthe, and Phoenix.
JavaScript
3
star
26

phoenix_todos

JavaScript
3
star
27

hello_lissajous

JavaScript
2
star
28

thisurlshortenertotallyandcompletely.rocks

CSS
2
star
29

delete-occurrences-of-an-element-if-it-occurs-more-than-n-times

JavaScript
2
star
30

molecule-to-atoms

JavaScript
2
star
31

pcorey.github.io

pcorey.github.io
JavaScript
2
star
32

phoenix_leaderboard

JavaScript
1
star
33

brainfuck.js

Simple Javascript brainfuck interpreter
JavaScript
1
star
34

meteor_auth

Elixir
1
star
35

commander

JavaScript
1
star
36

mock-meteor

Playing with the idea of mocking Meteor completely and running server-side unit & integration tests using Mocha
JavaScript
1
star
37

hello_substitutions

JavaScript
1
star
38

SpeedReader

BabelExt is a cross browser boilerplate/library for extension development
JavaScript
1
star
39

Markovich

Playing with basic Markov chains
JavaScript
1
star
40

git-quine

JavaScript
1
star