Code Monkey home page Code Monkey logo

blowfish-tools's Introduction

Hi there ๐Ÿ‘‹

Twitter badge Twitter badge

  • ๐Ÿณ Principal Product Manager @ Docker
  • ๐Ÿก Creator and maintainer of Blowfish @ Blowfish page
  • ๐Ÿš€ Personal blog - n9o.xyz
  • ๐Ÿ“š mentoring @ mentorcruise

Buy Me A Coffee

Nuno's GitHub stats

blowfish-tools's People

Contributors

deining avatar nunocoracao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

deining tdgiertz

blowfish-tools's Issues

v0.9.0

add support for menu configuration

Add option for initializing a project with exampleSite content

Maybe I overlooked it but an option for copying the exampleSite's content into a freshly created hugo-blowfish-project would be nice. So something like: Create a new site? -> Yes -> Would you like to add example content? -> Yes would lead to copy and paste of the exampleSite folder from the blowfish repository into my created local hugo project.

This would make it easier to just install the blowfish-tools, run the project init process and then get a working instance of the example-site locally. Right now it is a manual two step process (create the initial site template and then copy-paste the content).

By the way: Great tool for a nice hugo theme!

Review loop cycle to run and edit at the same time

Review options show to users when they first start interactive mode

  • hide/show - current
  • order option - most likely
    Review what happens after creation - take user into the folder and start editting
    Review the cycle between creating editting
  • make sure to open a separate process with hugo server so that user can see changes in real time

Pressing ESC during configuration crashes the tool

โœ– What do you want to configure? Start typing to search for options or scroll down to see all options ยท Show/Hide prev and next article in each article page

node:internal/process/promises:289
            triggerUncaughtException(err, true /* fromPromise */);
            ^

[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "".] {
  code: 'ERR_UNHANDLED_REJECTION'
}

Running with npx blowfish-tools, if I press ESC (sometimes if I hit it twice) it will crash with this message.

Installation of blowfish-tools: ERR_MODULE_NOT_FOUND

After installing blowfish-toools via

npm install -g blowfish-tools

I'm getting

blowfish-tools new test-blowfish
node:internal/modules/esm/resolve:853
  throw new ERR_MODULE_NOT_FOUND(packageName, fileURLToPath(base), null);
        ^

Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'commander' imported from /usr/lib/node_modules/blowfish-tools/cli.js
    at packageResolve (node:internal/modules/esm/resolve:853:9)
    at moduleResolve (node:internal/modules/esm/resolve:910:20)
    at defaultResolve (node:internal/modules/esm/resolve:1130:11)
    at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:396:12)
    at ModuleLoader.resolve (node:internal/modules/esm/loader:365:25)
    at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:240:38)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:85:39)
    at link (node:internal/modules/esm/module_job:84:36) {
  code: 'ERR_MODULE_NOT_FOUND'
}

Node.js v20.11.0

Only after running

npm install -g blowfish-tools

I could run blowfish-tools successfully.

Running blowfish-tools to create new site modifying results in ./config/_default/languages.en.toml does not exist

I'm new with Hugo and blowfish, but it seems when using 'npx blowfish-tools' to create a new site, when you try to modify it, the modification fails saying the ./config/_defaults/ related file does not exist.

I'm using 'npx blowfish-tools' in a new directory and the install solely comes from blowfish-tools. I have tried on PowerShell (not Windows PowerShell) and WSL with similar results.

Is there something I'm missing?

v1.0.0

add support for content generation article etc

v0.8.0

Add support for configuring a basic Blowfish site

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.