Giter VIP home page Giter VIP logo

fusuma's Introduction

📝 Makes slides with Markdown easily.

npm Azure Codecov

Just write Markdown and create cool slides.😎

Please see Website for more details!

Features

  • Zero Config
  • Slide syntax are Markdown and MDX
  • Supports Code syntax Highlight, MathJax, Diagrams, and Flowcharts
  • Slide UI is WebSlides
  • Supports SEO and OGP
    • Generates ogp image automatically
  • Customizes JavaScript and CSS freely
  • Adds a Sidebar on Slides
    • share buttons
    • ToC

Modes

  • Development Mode
  • Build Mode
  • Presentation Mode
    • Speaker Note
    • Timer
    • Recording your page actions and voice
    • Using a Fluorescent Marker on the slides
  • Live Mode
    • Streaming tweets and comments
  • Deploying to GitHub Pages
  • Exporting slides as PDF

Demos

You can also try Fusuma in Gitpod, a one-click online IDE for GitHub:

Open in Gitpod

Getting Started

Getting Started/Preparation

Node versions > v12

Just execute the following two lines for executing, generating and deploying slides!

$ npm i fusuma -D
$ mkdir slides && echo '# Hello😄' > slides/title.md

# --- Tree ---
$ tree -a
.
└── slides
    └── title.md

# -------- init ---------
# [not mandatory] you can use `init` command to create .fusumarc.yml, slides dir, and style.css

$ npx fusuma init
$ tree -a

# --- Tree ---
.
├── .fusumarc.yml
├── slides
│   └── 0-title.md
└── style.css

# --- executable tasks---
$ npx fusuma init     # create scaffold
$ npx fusuma start    # run server for development
$ npx fusuma build    # build slides as NODE_ENV=production
$ npx fusuma live     # start live mode
$ npx fusuma deploy   # deploy to github pages
$ npx fusuma pdf      # export as PDF from HTML

# --- help
$ npx fusuma --help
$ npx fusuma build --help # see help for a specific command

When npx fusuma start is executed, fusuma will create a slide as follows and serve localhost:8080.

And fusuma adds a Sidebar like below.

Markdown and MDX

## Hello

This is the first slide.

---

## 🤭

This is the second slide.

Also, you can use React components!

<!-- 0-title.mdx -->

import { Sample } from './scripts/Sample';

<Sample />

---

## 🤭

This is the second slide.
// Sample.js

import React from 'react';

export const Sample = () => <p>Hello from jsx!!</p>;

Presenter Mode

Modes/Presenter

This feature uses experimental APIs so please use Chrome or Firefox.

You can see your Note for each slide and the next slide on the Host screen.

Features

  • Shows your slide note
  • Sets a timer
  • Records your actions and voice, and do time-travel
  • Draws lines on the slide

Recording Your Actions

Video -> Recording Your Voice

Drawing Lines

When you write characters on the host side, it will be reflected on the client side in real time.

Live Mode

Modes/Live

Fusuma can fetch tweets from Twitter. In addition, fusuma have an api endpoint.
If you specify a keyword and authentication keys, fetching from twitter will be enabled.
Since comments can be sent to fusuma itself, you can use in the private case.
Also, this mode can run with Presenter Mode.

Audits

This slide is very simple, so this is a measure of the maximum performance fusuma can deliver.

The values of Accessibility and Best Practices depend on the user because the user writes HTML(Markdown).
If you want to make SEO score 100%, you should fill in the .fusumarc.yml.

Development

Setup

$ git clone [email protected]:hiroppy/fusuma.git
$ cd fusuma
$ npm i
$ npm run setup

Link local packages

$ npx lerna add @fusuma/xxx --scope=@fusuma/yyy

see https://github.com/lerna/lerna/tree/master/commands/add

fusuma's People

Contributors

hiroppy avatar renovate-bot avatar dependabot[bot] avatar karszawa avatar quramy avatar hbish avatar craigharley avatar jankeromnes avatar fengzilong avatar ohbarye avatar johntitor avatar euxn23 avatar saadq avatar yamatatsu 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.