Git Product home page Git Product logo

notes's Introduction

Logo

Table of Contents

About The Project

Product Name Screen Shot

Notes is a static site generator created using Jupyter Notebook. The projects aimed to provide an easy way to digitalize my notes and to make it easily accessible.

The main starting point of the project is main.ipynb file. The file is explanatory and after running the file it creates a ready to host independent website in the dist/ folder and an index.html file in the root folder.

Built With

Following Frameworks, Libraries and tools are used in building this website.

Project Structure

  • dist - Auto generated folder, contains the final HTML version of notes.
  • notes - All the notes must be stored in this folder.
  • static - Static assets of the project like images, stylesheet, javascripts etc.
  • template - HTML template for index and notes page as well has template for HTML converter must be stored here.
  • index.html - Auto generate index page of the website.

Creating Notes

Notes must be created under notes directory. Under notes directory any folder structure can be followed. The final HTML file to be generate will be created with same parents folder. So the folder structure must match the URL pattern that is expected for the note. The code below will find any .ipynb file and use it as a candidate to convert to HTML.

Each note must contain the following metadata which will be used in the final conversion process.

{
    "notes_info": {
        "title": "Title of the note",
        "description": "Description of the note",
        "image": "Image of the note to shown",
        "slug": "(Optional) Slug of the note to be used as HTML filename"
    }
}

Getting Started

Conda is needed to be installed before setting up this project.

Installation

  1. Clone the repo
git clone [email protected]:sunitdev/notes.git
  1. Create environment and install dependencies
conda create --name <some_name> --file=environment.yml
  1. Start jupyter notebook
jupyter notebook

Building Static site.

To build the static site run every cell in main.ipynb.

Contact

Project Link: https://github.com/sunitdev/notes

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.