Giter VIP home page Giter VIP logo

baku's Introduction

baku's People

Contributors

vladris avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

baku's Issues

SyntaxError: invalid syntax when running baku --init

first of all thank you for developing this!

on my ubuntu machine with python 3.8.10 and baku installed by pip.

pip show baku

Name: Baku
Version: 1.0.1
Summary: Simple, Markdown-based blogging engine
Home-page: http://github.com/vladris/baku/
Author: Vlad Riscutia
Author-email: [email protected]
License: MIT
Location: /home/beisel/.local/lib/python3.8/site-packages
Requires: misaka, Pygments, pyquery
Required-by:

when i try to init a blog:

baku --init

Traceback (most recent call last):
File "/home/beisel/.local/bin/baku", line 5, in
from baku.cmdline import main
File "/home/beisel/.local/lib/python3.8/site-packages/baku/cmdline.py", line 4, in
from baku import build, document, environment, upgrade, utils
File "/home/beisel/.local/lib/python3.8/site-packages/baku/build.py", line 4, in
from baku import consts, index, environment, markdown, post, rss, templating, utils
File "/home/beisel/.local/lib/python3.8/site-packages/baku/index.py", line 3, in
from baku import consts, post, templating, utils
File "/home/beisel/.local/lib/python3.8/site-packages/baku/post.py", line 4, in
from baku import templating, utils
File "/home/beisel/.local/lib/python3.8/site-packages/baku/templating.py", line 90
match node.type:
^
SyntaxError: invalid syntax

Support for Google Analytics

Consider adding built-in support for Google Analytics. This should be easily achievable by customizing templates but might be useful to provide it out-of-the-box.

Improve update mechanism

Currently after running baku --init in a directory, templates are copied under templates and remain the same even after a package upgrade.

Running baku --init again in the blog root will update templates but nuke any changes to blog.cfg and template customizations.

Need a better upgrade mechanism, at the very least prompt the user whether they want to overwrite existing files or keep them.

Refactor document.py

document.py is originally copy/pasted from Tinkerer but the code is pretty messy. Should refactor to something a bit more sensical.

Add dark theme

Alternative CSS for dark mode and config option to set CSS file

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.