GithubHelp home page GithubHelp logo

hhy5277 / devfreebooks.github.io Goto Github PK

View Code? Open in Web Editor NEW

This project forked from devfreebooks/devfreebooks.github.io

0.0 3.0 0.0 2.17 MB

A huge collection of free books for developers

Home Page: https://devfreebooks.github.io

JavaScript 2.93% HTML 11.34% CSS 85.73%

devfreebooks.github.io's Introduction

DevFreeBooks

This is the repository of the site https://devfreebooks.github.io to submit ebook links.

How to add books?

Before start it, all books you add must be freeware and for web developers

Via Google docs

You can submit a book via our Google Docs Form.

Via Pull Request

First of all you need to fork this repository.

With this project in your hands, edit the /public/[platform-folder]/_data.json and add your books respecting these parameters:

"index": {
  "name": "platform_name", // lower case and underscored
  "subtitle": "Platform name",
  "about": "Platform description",
  "site": "url of the official platform site",
  "image": "platform-logo.jpg", // Platform image is required
  "books": [
    {
      "title": "Book title",
      "description": "Book description",
      "author": "Author name or Publisher name",
      "pages": 100, // Number of pages
      "year": 2014, // Publish year
      "image": "cover.jpg", // Book cover image (optional)
      "lang": "EN", // book language. Ex.: EN, PT-BR, ES
      "publish": true, // Publish to devfreebooks site
      "url": "book's url to download",
      "published_at": "20150202" // Current publish date in format YYYYMMDD
    }
  ]
},

Obs.: All image must be an jpeg/jpg with 350x195 size. If you don't add an books.image attribute the default category image will replace it.

Look this example (public/nodejs/_data.json):

{
  "index": {
    "name": "nodejs",
    "subtitle": "Node.js",
    "about": "Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.",
    "site": "http://nodejs.org",
    "image": "nodejs.png",
    "books": [
      {
        "title": "Node.js Succinctly",
        "description": "Use Node.js to create faster network and server-side applications on any scale, improve your existing database applications, or create web apps with JSON data.",
        "author": "Agus Kurniawan",
        "pages": 201,
        "year": 2014,
        "image": "nodejs-succinctly.jpg",
        "lang": "EN",
        "publish": true,
        "url": "http://www.syncfusion.com/resources/techportal/ebooks/nodejs",
        "published_at": "20150202"
      }
    ]
  }
}

If you wanna add a new platform (programming language or framework), first you need to add it into global.platforms attribute in the file harp.json:

{
  "globals": {
    "title": "DevFreeBooks",
    "description": "A huge collection of free books for devs",
    "name": "Caio Ribeiro Pereira",
    "email": "[email protected]",
    "platforms": ["nodejs", "meteor", "go", "ruby"] // Just add here a new platform
  }
}

Development mode

To run this project in development mode, you need have Node.js and Grunt installed.

To install Node.js, just follow this wiki rules

To install Grunt, just run the command below:

npm install grunt-cli -g

To get and run this project:

git clone [email protected]:devfreebooks/devfreebooks.github.io.git
cd devfreebooks
npm install
npm start

And access in your browser the url: http://localhost:3000.

Author

Caio Ribeiro Pereira - @crp_underground

License

MIT - http://caio-ribeiro-pereira.mit-license.org

devfreebooks.github.io's People

Contributors

alexpana avatar caio-ribeiro-pereira avatar danielkehoe avatar keune avatar lennonjesus avatar linck avatar mattoates avatar thomaswunderlich avatar xovotuple avatar

Watchers

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