fungo

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

README

     ____                                
    / __/  __  __   ____    ____ _  ____ 
   / /_   / / / /  / __ \  / __  / / __ \
  / __/  / /_/ /  / / / / / /_/ / / /_/ /
 /_/     \__,_/  /_/ /_/  \__, /  \____/ 
                        /____/ v1.0.0   

Overview

fungo is a simple and fast open-source static site generators base on golang.

install

go get

go get github.com/fundipper/fungo

tree

.
├── config.toml
├── content
│   ├── document 
│   ├── page 
│   ├── media
│   ├── post 
├── source
└── theme
    └── fungo
        ├── assets
        ├── i18n
        ├── package-lock.json
        ├── package.json
        ├── tailwind.config.js
        ├── templates
        ├── theme.toml
        └── watch.sh

command

fungo is easy to use, only have 5 commands.

site

create a new site

fungo site your-site-name

theme

create a new theme (if you need your own template)

fungo theme your-theme-name

file

create a new file

fungo file your-file-model your-file-name

serve

run serve mode

fungo serve

build

run build mode

fungo build

Thanks

  • cmd

https://github.com/spf13/cobra

  • config

https://github.com/spf13/viper

  • router

https://github.com/julienschmidt/httprouter

  • markdown

https://github.com/yuin/goldmark

  • cache

https://github.com/dgraph-io/ristretto

  • render

go/template

  • copy

https://github.com/otiai10/copy

  • git

https://github.com/go-git/go-git

  • watch file

https://github.com/fsnotify/fsnotify

  • sitemap

https://github.com/beevik/etree

  • feeds

Documentation

Overview

Copyright © 2021 NAME HERE <EMAIL ADDRESS>

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis
internal
cli
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL