GithubHelp home page GithubHelp logo

ks1717 / dmca-generator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yuyandev/dmca-generator

0.0 1.0 0.0 20 KB

Generate standard DMCA requests based on templates

License: MIT License

JavaScript 100.00%

dmca-generator's Introduction

DMCA-Generator

Generate standard DMCA requests based on templates


DMCA生成器

一个用于生成DMCA请求的生成器 中文说明


1.Install and Use

git clone https://github.com/YuYanDev/DMCA-Generator.git
cd DMCA-Generator
npm install
node index.js -t default -o DMCA

Arguments:

  • -t or --template Set the template. All templates are stored in the 'templates' folder.
  • -o or --output Set the name of the exported PDF file.
  • -p or --outputpath Set the exported directory.

2.Custom template

The template consists of two parts. It consists of a Markdown file with variables and a JSON file that records variable information (both file name prefixes must be the same, such as aaa.md and aaa.json).

The variables in the Markdown file are in the following format

{{ example }} //Please note the space.

The JSON file is in the following format

[
    {
        "name":"example", //Variable name
        "message":"Please input example", //Input tips
        "type":"string", //Variable type
        "default":"" //Variable default
    },
    {
        "name":"example2",
        "message":"Please input example2",
        "type":"editor", // If the variable is multiple lines, it is recommended to use the editor to call the system editor.
        "default":""
    }
]

Looking forward to your more rigorous DMCA template, welcome to PR and issue.

This generator is not limited to standard DMCA requests generation and can be used as a simple document generator.

License MIT

dmca-generator's People

Contributors

yuyandev avatar

Watchers

James Cloos 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.