fungo

command module
v0.4.1 Latest Latest
Warning

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

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

README

     ____
    / __/  __  __   ____    ____ _  ____
   / /_   / / / /  / __ \  / __  / / __ \
  / __/  / /_/ /  / / / / / /_/ / / /_/ /
 /_/     \__,_/  /_/ /_/  \__, /  \____/
                        /____/ v0.4.1

Overview

fungo is another static blog engine base on golang.

install

go get

go get github.com/fundipper/fungo

docker

docker pull fundipper/fungo

command

fungo is easy to use, only have 5 commands.

site

create a new site

fungo site your-site-name

docker

docker run -it --rm -v $PWD:/fungo fundipper/fungo site your-site-name

file

create a new file

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

docker

docker run -it --rm -v $PWD:/fungo -w /fungo/my-fungo-site fundipper/fungo file your-file-model your-file-name

ps:

default file model include [article , page, document, collection]

you can define your own file model with yaml in source

theme

create a new theme

fungo theme your-theme-name

docker

docker run -it --rm -v $PWD:/fungo -w /fungo/my-fungo-site fundipper/fungo theme your-theme-name

ps:

usually, you can get theme from fungo theme store or some open source repository

if you need your own one, use this command to create it

it's not too complicated, only needs tailwindcss

serve

run serve mode

fungo serve

docker

docker run -it --rm -v $PWD:/fungo -w /fungo/my-fungo-site -p 3000:3000 fundipper/fungo serve

build

run build mode

fungo build

docker

docker run -it --rm -v $PWD:/fungo -w /fungo/my-fungo-site fundipper/fungo build

document

ours official website, document, theme, blog are all generate based on fungo

how to use fungo ? see https://fungo.dev/doc/overview/

feature

Thanks

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