GithubHelp home page GithubHelp logo

dodiku / presskit.js Goto Github PK

View Code? Open in Web Editor NEW
26.0 4.0 7.0 17.24 MB

✨A JS script that generates a well-designed press kit page 📰for your creative project ✨

License: MIT License

HTML 14.01% CSS 8.95% JavaScript 77.03%
media javascript press communication news

presskit.js's Introduction

PressKit.js

GitHub license PRs Welcome

About

PressKit.js generates a fancy press kit for your project! If you want to put your project out there and to expose it to more people like yourself, creating good documentation -- photos, gifs, videos -- is the best way to communicate your ideas.

This is where PressKit.js comes handy 🙌! Collect all your media and textual information, and create a nice project press kit page to make it easier for the popular media to cover your work in a more appealing way!

PressKit.js

Example

See example page on -

https://dodiku.github.io/PressKit.js/

Usage

It's extremely simple:

  1. In press.html, find the projectDetails object (see example below). using your favorite text editor.
  2. Replace the placeholders with text about your project and with URLs to media files.
  3. Add a link to press.html on your project home page.
var projectDetails = {

  'title': 'project name', // the title of the project

  'subTitle': 'project subtitle', // the subtitle of the project

  'link': 'http://www.url.com', // link to the project landig page

  'creators': [ // supports multiple creators. just add more objects to the array

    {
      'name': 'name',
      'portfolio': 'http://www.url.com',
      'email': '[email protected]',
      'twitter': 'http://www.twitter.com/name'
    },

    {
      'name': 'name',
      'portfolio': 'http://www.url.com',
      'email': '[email protected]',
      'twitter': 'http://www.twitter.com/name'
    },

  ],

  'about': [

    'paragraph 01',

    'paragraph 02',
  ],

  'videos': [ // supports multiple videos. just add more objects to the array

    {
      'embedUrl': 'http://www.url.com', // e.g. https://www.youtube.com/embed/GjYENsrLLf4
      'videoPage': 'http://www.url.com', // e.g. https://www.youtube.com/watch?v=GjYENsrLLf4
    },
    {
      'embedUrl': 'http://www.url.com', // e.g. https://player.vimeo.com/video/250989990
		' videoPage': 'http://www.url.com', // e.g. https://vimeo.com/250989990
    },
  ],

  'gifs': [ // supports multiple gifs. just add more objects to the array

    {
      'gifUrl': 'http://www.url.com', // direct url to the gif file
    },

    {
      'gifUrl': 'http://www.url.com', // direct url to the gif file
    },

  ],

  'photos': [ // supports multiple photos. just add more objects to the array

    {
      'photoUrl': 'http://www.url.com', // direct url to the image file
    },

    {
      'photoUrl': 'http://www.url.com', // direct url to the image file
    },

    {
      'photoUrl': 'http://www.url.com', // direct url to the image file
    },

  ],
  
  'footer': [{
       'footerText': "PressKit.js",
       'footerLink': "https://github.com/dodiku/PressKit.js"
     }, 
   ],

}

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.