Quickly prototype a text using random settings. Use it to find a font/color/size combination for a text in a single place, with a little help from... fate.
Just:
- enter the text
- use the buttons in the header to change colors, size and typeface
- copy font and color params from the footer
- send the link and share changes in realtime
Supported fonts sources:
- Google Fonts (downloaded locally to avoid sharing API-KEY)
- Typekit
- other sources? Issue please!
Made with hyperapp, V2 branch.
Here are some idea on how to improve the project:
- increase/decrease font size instead of random size
- use hyperapp subscriptions for saving on Firebase
- mobile-friendly (more or less)
- share your work (url) and collaborate with a unique link (Firebase backed)
- notify page viewers
- Work without firebase backend in case of quota expiration -- Let's see if it works
- error management on effects (firebase quota, font load failure) -- Let's see if it works
- tune firestore settings
- upvote combination
- bookmarks, w/ local storage persistence
- combinations history
- copy css
-
use hyperapp subscriptions for media-change in JS - PWA
- couchdb backend?
Clone the repo:
git clone https://github.com/ddmng/fontah.git
cd fontah/
File src/fbconfig.js
contains the Firebase API key, in order to save the application state. You can find yours in your Firebase console.
If you can't setup Firebase, use the nobackend
tag that does not have the "share" feature.
Build it:
npm run build
Then serve it:
npm start