Code Monkey home page Code Monkey logo

521ssy's Introduction

Use eLuvLetter

license Netlify Status

Important links

Name URL
Git https://git-scm.com/downloads
GitHub https://github.com
eLuvLetter https://github.com/george-chou/eLuvLetter
Netlify https://app.netlify.com
2D Demo https://eluvletter.netlify.app
3D Demo https://eluvletter.netlify.app/index-3d.html

Customize

  1. Download and install Git;

  2. Register a GitHub account, set SSH, and fork a copy of this repository to your own account;

  3. Clone the repository to local:

git clone https://github.com/%Your_GitHub_Account%/eLuvLetter.git
  1. Go to the ./eLuvLetter/font/ directory, open content.json, and customize the configuration as follows:
{
    "to"        : "envelope recipient",
    "from"      : "sign",
    "recipient" : "letter recipient",
    "title"     : "Web page tab title",
    "stamp"     : "Stamp URL",
    "bgm"       : "BGM URL",
    "text"      : "letter ^n content"
}

The symbol ^n in the demo means that the typewriter pauses for n milliseconds,

BGM URL is the default mp3 directory or mp3 direct link in the demo code(Note: It is best not to use the API to get mp3, it may be blocked by cross-domain)

If you use the default directory, you can rename your mp3 to bgm.mp3 and overwrite bgm.mp3 under ./eLuvLetter/bgm to achieve custom modification of BGM

Deploy to Netlify

  1. Sync the modified local code to your GitHub account:
cd eLuvLetter
git add .
git commit -a
# i
# input description
# :wq!
git push
  1. Enter Netlify official website;
  2. Use your GitHub account to login by authorization, click Add new site - Import an existing project;
  3. Click GitHub, enter the keyword eLuvLetter in the search box to find the previously forked repo, and select it;
  4. Click Deploy site to jump into Site overview page automatically, click Site settings;
  5. Click Change site name under Site information, modify second-level domain name not conflict to others, and click Save;
  6. After the deployment, we can visit https://%PROJECT_NAME%.netlify.app to broswe your page(The %PROJECT_NAME% is the second-level domain name customized just now)

Good luck!

521ssy's People

Contributors

2639305701 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.