Code Monkey home page Code Monkey logo

css-text-portrait-builder's Introduction

CSS Text Portrait Builder author/maintainer nominate Mentioned in Awesome CSS Text Portrait

made in sponsors release star license

repo banner

A trending pure CSS text portrait builder for your loved ones. πŸ₯° You don't need to waste your time just to create it from scratch and spend time working on its CSS sorcery. Here's the builder just for you! ✨

Like this project? Leave a star! ⭐⭐⭐⭐⭐

😎 Demo

This Nayeon CSS Text Portrait below is created using CSS Text Portrait Builder. I use colored high-resolution image with lyrics from Nayeon's Santa Tell Me for the text. With the help of this builder it is responsive like crazy. πŸ˜…

demo image

✨Community Showcase

⚑ Features

  • Auto-fill screen with text.
  • Responsive build output.
  • Optimized builds.
  • Easy to use, no-code/low-code friendly.
  • Filter settings.
    • brightness
    • grayscale
    • invert
  • Gitpod support.
  • Generate build preview.
  • Upload exported build.

Have suggestions in mind? Let me know!

πŸ“– Documentation

The complete documentation can be found here:

docs

πŸŽ“ Tutorial

πŸ› οΈ Instant Setup

Let's get started with the instant setup and build. Proceed to the requirements below.

πŸ“‹ Requirements

Meet the requirements? Click the Gitpod button below to get started!

open in gitpod

πŸ”¨ Build Steps (Gitpod)

  1. Rename your image into bg.jpg and make sure it is in JPG/JPEG format.
  2. Navigate to src/img and upload your image, just replace the existing image.
  3. Next, open config.json file by just clicking it, an editor will open.
  4. Edit the contents of config.json file to match your needs.
    • For the object name, this is the name of your portrait, it can be a name of your subject.
    • For the object text, this is the text you want to see in the portrait. It can be a lyrics, a passage from a book, or a sweet message to your subject or loved one.
  5. Navigate to src/scss and open the file _vars.scss to edit the settings.
  6. Lastly, look in the command-line interface and hover your mouse to the https://localhost:1234 and press ctrl + left click to open it to a new tab. You'll see your builds in real-time.

For the complete documentation please visit https://docs.warengonzaga.com/css-text-portrait-builder. 😎

πŸ“‘ Hosting

To learn more about hosting your builds check out the community discussion.

βš™οΈ Project Activity

activity

🎯 Contributing

Contributions are welcome, create a pull request to this repo and I will review your code. Please consider to submit your pull request to the dev branch. Thank you!

Read the project's contributing guide for more info.

πŸ’¬ Discussions

For any questions, suggestions, ideas, or simply you want to share your experience in using this project, feel free to share and discuss it to the community!

πŸ› Issues

If you're facing a problem in using CSS Text Portrait Builder please check the community FAQs first, if your issue is a potential bug I would suggest to create an issue here. I'm here to help you! πŸ˜‡

πŸ™ Sponsor

Like this project? Leave a star! ⭐⭐⭐⭐⭐

Want to support my work and get some perks? Become a sponsor! πŸ’–

Or, you just love what I do? Buy me a coffee! β˜•

Recognized my open-source contributions? Nominate me as GitHub Star! πŸ’«

πŸ“‹ Code of Conduct

Read the project's code of conduct.

πŸ“ƒ License

This project is licensed under The MIT License.

πŸ“ Author

This project is created by Waren Gonzaga, with the help of awesome contributors.

contributors


πŸ’» with ❀️ by Waren Gonzaga and Him πŸ™

css-text-portrait-builder's People

Contributors

decantyme avatar warengonzaga avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

css-text-portrait-builder's Issues

replace license to GPL-3.0

The reason is that my project is not a library or framework. It is a builder a TOOL which means not fit for MIT license. I'm gonna change this to GPL-3.0 to match the purpose of the project. πŸ‘Œ

shareable previews

As mentioned here: #34 (comment)

This is a separate feature request for enabling shareable previews for what you build with the builder.
Currently, have no idea what to use and how to do this... maybe you have an idea how to deliver it. Let me know! πŸ˜…

build issues

Discussed in #4

Originally posted by Chaw11 November 20, 2021
Hello whenever I try to do yarn install in cmd this is the message that im getting.
cmd

After doing tests, this is a confirmed issue when building the project locally. πŸ˜…
Working on a hot fix right now. β˜•πŸ˜

yarn have problem

'yarn' is not recognized as an internal or external command,
operable program or batch file.

resize settings for image

This is a good question (#12) and an addition to the project. Ability to control the image in the config file without editing the actual code inside. πŸ‘ŠπŸ˜‡

add CI/CD workflow

It is nice to have a reliable CI/CD for the project. If you can work on it then let me know so I can assign it to you!

shareable links

A user suggested it to me to add a way to share their builds with a shareable link.
For me, it's a brilliant idea, and considering adding this to my roadmap. πŸ₯°

export builds

It is nice to have an output package that can be shared with your friends.

dynamically update max chars

Is your feature request related to a problem? Please describe.
Max characters needed to fill the screen had to be calculated through trial and error. This also had to be recalculated when changing font families or sizes, for example. On orientation/page zoom/window resize, recalculate. More on #43 (comment).

Describe the solution you'd like
There should be a function to dynamically calculate maxChar based on at least these contexts: font-family, font-size, and screen dimensions/magnification. Something like this:

2021-11-28 22-45-00_Trim

2021-11-29-02-50-08

I worked some initial code and set it to 50% fill to better see it dynamically update. While it does not perfectly fill at 50%, at 100% it should eliminate any whitespaces and effectively fill the screen.

Might PR this if everyone also agrees or wants this feature.

add filters to the image

Originally, planning to add an image filter so you can instantly filter your image without actually editing it.

Filters to add:

  • grayscale
  • brightness
  • invert

yarn issue

Hey, I couldn't install yarn using the command hehe.
Thanks.
image

yarn install issue

yarn install
'yarn' is not recognized as an internal or external command,
operable program or batch file.

animation effects

An option to add animation effects to the text and image. 🀯
Amazing right? 😎 I will work on it once I fully polished the building process.

  • Animation for Text
  • Animation for Image

official documentation

I'm currently working on documentation so please be patient at the moment.
You can check the readme steps for now. If you need further help please use our Q&A section. πŸ™πŸ˜‡

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.