GithubHelp home page GithubHelp logo

xransum / fonts-sampler Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 8 KB

A py3 package that allows for you to be able to generate a localized environment to be able to view your entire system font library.

License: MIT License

Python 100.00%

fonts-sampler's Introduction

fonts-sampler

A py3 package that allows for you to be able to generate a localized environment to be able to view your entire system font library.

# clone repo
git clone [email protected]:ProRansum/fonts-sampler.git
cd fonts-sampler/
# install dependencies, if needed
python -m pip install -r requirements.txt
# build environmnet and resources 
python manage.py --build 
# run local webserver to resources
# open "http:localhost:8000" in browser if it doesnt open for you.
python manage.py --run
# clean all generations
python manage.py --clean
  1. Change to the repository cd fonts-sampler/.
  2. Install the dependencies python -m pip install -r requirements.txt.
  3. manage.py is the package manager that handles how to execute the package.
  • --build: Generates a cache of system fonts to be served by the webserver, and automatically generates an index.html that contains all of the cached fonts.
  • --run: Launches a local webserver on port 8000, all font files can be access under /fonts/* under the dist/ directory.
  • --clean: Cleans all files generated during the build process.
  1. Enjoy!

Licence

Copyright (c) 2021, Kevin Haas. All rights reserved.

Support

If you like my work(s), don't be shy to buy me a coffee!

Drink coffee and hack the planet!

fonts-sampler's People

Contributors

xransum avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.