Generate your own front for your selfmade word clock.
- Variants - Many pre-configured fronts for the appropriate DIY kits
- Export - Export your generated front in the formats of SVG, DXF, PDF and PNG. Furthermore the additional options of a mirror inverted and / or outline version are also possible.
- Matrix
- Placement - Free placement and size of the grid while maintaining the consistent positioning of each letter.
- Languages - Many predefined language packs to choose from, which can easily be changed to your own wishes / slang.
- Fonts - Simple, Modern, Shrill, Gothic, Classic or Klingon there is something for everyone. If not you can simply add your own font. (Hint: Only "Stencil" - fonts are also useful for a DXF export).
- Branding - Give the front a personal signature or name.
- Minutes - Free placement and size of the minutes while keeping the symmetrical distances.
- Alarm - Selection of different alarm symbols for free placement, if the front ist for a word clock with an alarm clock function.
- Color - Just type in the HEX color values and get a preview of how it might look like later.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Please make sure latest Node 6 LTS and NPM 3+ are installed and install the Ionic CLI globally.
$ npm install -g ionic@latest
For more information and assistance, see: Ionic Framework - Getting Started
Clone or download the latest version of the project:
$ git clone https://github.com/SimonGolms/QLOCKGENERATOR
$ cd QLOCKGENERATOR
Install all the local dependencies:
$ npm install
Start a local dev server for app dev/testing:
$ ionic serve
- Add your font e.g.
MyOwnFont.ttf
in TrueType format to the foldersrc/app/assets/fonts/
. - To ensure that the font can be used later during the generation, a new entry with the following structure must be added to the file
src/app/services/fonts.service.ts
in the variable_fonts
:{ id: "30000", label: "MyOwnFont", category: FontCategory.REGULAR, filename: "MyOwnFont.ttf", path: this.DIRECTORY, }
- To see the font already as a preview in the font selection, a new font-family entry has to be added to the
fonts.css
file undersrc/app/assets/fonts/
.
- Ionic - The used web framework
- maker.js - Javascript library for creating modular line drawings
- opentype.js - OpenType and TrueType font parser and writer
- PDFKit - A JavaScript PDF generation library for Node and the browser.
If you want to contribute to a project and make it better, your help is very welcome. Contributing is also a great way to learn more about social coding on Github, new technologies and and their ecosystems and how to make constructive, helpful bug reports, feature requests and the noblest of all contributions: a good, clean pull request.
- Create a personal fork of the project.
- Create a new branch to work on! Branch from develop if it exists, else from master.
- Implement/fix your feature, comment your code.
- Add or change the documentation as needed.
- From your fork open a pull request in the correct branch
This project is licensed under the MIT License - see the LICENSE.md file for details