Giter Club home page Giter Club logo

moonwalk's Introduction

a body of clay, a mind full of play,
a moment's life - that is me

👋 I am an engineer based out of India. In my past life, I have been an entrepreneur, growth hacker, VP-engineering, and architect. I have built systems in diverse domains like large-scale data processing, messaging, payments, social games, and logistics.

Current Projects

  • annexr - search documents and websites using generative AI
  • ping - monitor your website's uptime and performance
  • soopr - a new kind of website analytics tool
  • apicagent - a FREE API that extracts device details from user-agent string
  • humangous - create public and private 'working with you' guides
  • cookie - a free landing website boilerplate using Jekyll and Tailwind CSS
  • moonwalk - a fast and minimal blog theme with clean dark mode
  • scoop - a Sinatra boilerplate project using Corneal, ActiveRecord, Capistrano, Puma & Nginx
  • pincodr - a FREE set of JSON APIs for Indian pincodes
  • blockr - a CLI tool to help you easily block and unblock websites
  • microrequests - a Python library to help you consume microservice efficiently
  • chhoti si kahani (writing) - short stories in Hindi

Old Projects

✨⚡You can read more about me on my blog or follow me on Twitter - @abhinav

moonwalk's People

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

moonwalk's Issues

[Feature Request] Support Tags

Dear @abhinavs,

I love this template and applied it on my site here
I am only missing one feature really, and that is the categories for the posts you make on the blog.
Could you please implement this?

`.w` class conflicts with code whitespace

When formatting some languages, rouge will insert explicit whitespace spans, which use the exact same class as that on the main page body. This gives them a bunch of weird extra padding.

```json
no space
 1 space
  2 space
   3 space
    4 space
```

Becomes

<pre><span class="err">no</span><span class="w"> </span><span class="err">space</span><span class="w">
 </span><span class="mi">1</span><span class="w"> </span><span class="err">space</span><span class="w">
  </span><span class="mi">2</span><span class="w"> </span><span class="err">space</span><span class="w">
   </span><span class="mi">3</span><span class="w"> </span><span class="err">space</span><span class="w">
    </span><span class="mi">4</span><span class="w"> </span><span class="err">space</span><span class="w">
</span></pre>

 
The workaround I've got for now is:

.highlighter-rouge .w {
    max-width: unset;
    margin: unset;
    padding: unset;
}

Disabling Soopr?

First of all, huge fan here; this is such a great theme! The dark/light button is what pulled me in, but the UI looks stunning too, and I instantly recommend it whenever someone asks for a static-site solution.

Just a quick question: is there any way to disable the Soopr share buttons for blog posts? Soopr is a great product too, but it seems very out-of-place for this portfolio-type project I'm working on, since it's not exactly a blog website. The buttons don't seem to appear when deployed in GH Pages (unless the publish token is added), but they're there by default when working locally, and I can't seem to uninstall the Soopr plugin either, since it's a dependency for the theme.

Some help would appreciated. Thanks!

[Issue] Dark theme fails on tall aspect ratio displays with wide content

Issue

As pictured below, dark theme fails to render on pages containing wide content,
such as a table in this case:

Tall aspect ratio example

Such an issue isn't persistent on local serves, but on public deployments as well, as pictured below:

Tall aspect ratio example

Source

The theme defaults to dark as is already present in the source.

  theme_config:
  appearance: "dark"
  appearance_toggle: true

Comments

Is this something that can be fixed within _config.yml? If yes, could the solution be pushed to the source?

Liquid Exception: undefined method `tainted?' for "/" in _layouts/post.html

bin/start
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
Configuration file: /workspaces/Wybert.github.io/_config.yml
            Source: /workspaces/Wybert.github.io
       Destination: /workspaces/Wybert.github.io/_site
 Incremental build: enabled
      Generating... 
       Jekyll Feed: Generating feed for posts
  Liquid Exception: undefined method `tainted?' for "/":String in /workspaces/Wybert.github.io/_layouts/post.html
                    ------------------------------------------------
      Jekyll 4.2.2   Please append `--trace` to the `serve` command 
                     for any additional information or backtrace. 
                    ------------------------------------------------
/usr/local/rvm/gems/ruby-3.2.2/gems/liquid-4.0.3/lib/liquid/variable.rb:124:in `taint_check': undefined method `tainted?' for "/":String (NoMethodError)

      return unless obj.tainted?
                       ^^^^^^^^^
        from /usr/local/rvm/gems/ruby-3.2.2/gems/liquid-4.0.3/lib/liquid/variable.rb:89:in `render'
        from /usr/local/rvm/gems/ruby-3.2.2/gems/liquid-4.0.3/lib/liquid/block_body.rb:103:in `render_node_to_output'
        from /usr/local/rvm/gems/ruby-3.2.2/gems/liquid-4.0.3/lib/liquid/block_body.rb:80:in `render'
        from /usr/local/rvm/gems/ruby-3.2.2/gems/liquid-4.0.3/lib/liquid/template.rb:208:in `block in render'
        from /usr/local/rvm/gems/ruby-3.2.2/gems/liquid-4.0.3/lib/liquid/template.rb:242:in `with_profiling'
        from /usr/local/rvm/gems/ruby-3.2.2/gems/liquid-4.0.3/lib/liquid/template.rb:207:in `render'
        from /usr/local/rvm/gems/ruby-3.2.2/gems/liquid-4.0.3/lib/liquid/template.rb:220:in `render!'
        from /usr/local/rvm/gems/ruby-3.2.2/gems/jekyll-4.2.2/lib/jekyll/liquid_renderer/file.rb:39:in `block (3 levels) in render!'
        from /usr/local/rvm/gems/ruby-3.2.2/gems/jekyll-4.2.2/lib/jekyll/liquid_renderer/file.rb:59:in `measure_counts'
        from /usr/local/rvm/gems/ruby-3.2.2/gems/jekyll-4.2.2/lib/jekyll/liquid_renderer/file.rb:38:in `block (2 levels) in render!'
        from /usr/local/rvm/gems/ruby-3.2.2/gems/jekyll-4.2.2/lib/jekyll/liquid_renderer/file.rb:63:in `measure_bytes'
        from /usr/local/rvm/gems/ruby-3.2.2/gems/jekyll-4.2.2/lib/jekyll/liquid_renderer/file.rb:37:in `block in render!'
        from /usr/local/rvm/gems/ruby-3.2.2/gems/jekyll-4.2.2/lib/jekyll/liquid_renderer/file.rb:70:in `measure_time'
        from /usr/local/rvm/gems/ruby-3.2.2/gems/jekyll-4.2.2/lib/jekyll/liquid_renderer/file.rb:36:in `render!'
        from /usr/local/rvm/gems/ruby-3.2.2/gems/jekyll-4.2.2/lib/jekyll/renderer.rb:131:in `render_liquid'
        from /usr/local/rvm/gems/ruby-3.2.2/gems/jekyll-4.2.2/lib/jekyll/renderer.rb:194:in `render_layout'
        from /usr/local/rvm/gems/ruby-3.2.2/gems/jekyll-4.2.2/lib/jekyll/renderer.rb:163:in `place_in_layouts'
        from /usr/local/rvm/gems/ruby-3.2.2/gems/jekyll-4.2.2/lib/jekyll/renderer.rb:93:in `render_document'
        from /usr/local/rvm/gems/ruby-3.2.2/gems/jekyll-4.2.2/lib/jekyll/renderer.rb:63:in `run'
        from /usr/local/rvm/gems/ruby-3.2.2/gems/jekyll-4.2.2/lib/jekyll/site.rb:547:in `render_regenerated'
        from /usr/local/rvm/gems/ruby-3.2.2/gems/jekyll-4.2.2/lib/jekyll/site.rb:532:in `block (2 levels) in render_docs'
        from /usr/local/rvm/gems/ruby-3.2.2/gems/jekyll-4.2.2/lib/jekyll/site.rb:531:in `each'
        from /usr/local/rvm/gems/ruby-3.2.2/gems/jekyll-4.2.2/lib/jekyll/site.rb:531:in `block in render_docs'
        from /usr/local/rvm/gems/ruby-3.2.2/gems/jekyll-4.2.2/lib/jekyll/site.rb:530:in `each_value'
        from /usr/local/rvm/gems/ruby-3.2.2/gems/jekyll-4.2.2/lib/jekyll/site.rb:530:in `render_docs'
        from /usr/local/rvm/gems/ruby-3.2.2/gems/jekyll-4.2.2/lib/jekyll/site.rb:210:in `render'
        from /usr/local/rvm/gems/ruby-3.2.2/gems/jekyll-4.2.2/lib/jekyll/site.rb:80:in `process'
        from /usr/local/rvm/gems/ruby-3.2.2/gems/jekyll-4.2.2/lib/jekyll/command.rb:28:in `process_site'
        from /usr/local/rvm/gems/ruby-3.2.2/gems/jekyll-4.2.2/lib/jekyll/commands/build.rb:65:in `build'
        from /usr/local/rvm/gems/ruby-3.2.2/gems/jekyll-4.2.2/lib/jekyll/commands/build.rb:36:in `process'
        from /usr/local/rvm/gems/ruby-3.2.2/gems/jekyll-4.2.2/lib/jekyll/command.rb:91:in `block in process_with_graceful_fail'
        from /usr/local/rvm/gems/ruby-3.2.2/gems/jekyll-4.2.2/lib/jekyll/command.rb:91:in `each'
        from /usr/local/rvm/gems/ruby-3.2.2/gems/jekyll-4.2.2/lib/jekyll/command.rb:91:in `process_with_graceful_fail'
        from /usr/local/rvm/gems/ruby-3.2.2/gems/jekyll-4.2.2/lib/jekyll/commands/serve.rb:86:in `block (2 levels) in init_with_program'
        from /usr/local/rvm/gems/ruby-3.2.2/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `block in execute'
        from /usr/local/rvm/gems/ruby-3.2.2/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `each'
        from /usr/local/rvm/gems/ruby-3.2.2/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `execute'
        from /usr/local/rvm/gems/ruby-3.2.2/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in `go'
        from /usr/local/rvm/gems/ruby-3.2.2/gems/mercenary-0.4.0/lib/mercenary.rb:21:in `program'
        from /usr/local/rvm/gems/ruby-3.2.2/gems/jekyll-4.2.2/exe/jekyll:15:in `<top (required)>'
        from /usr/local/rvm/gems/ruby-3.2.2/bin/jekyll:25:in `load'
        from /usr/local/rvm/gems/ruby-3.2.2/bin/jekyll:25:in `<main>'
        from /usr/local/rvm/gems/ruby-3.2.2/bin/ruby_executable_hooks:22:in `eval'
        from /usr/local/rvm/gems/ruby-3.2.2/bin/ruby_executable_hooks:22:in `<main>'

[Bug]: Soopr Image Previews Not Working

Hi,
The Soopr Image Previews don't seem to be working for my website. When I investigated further, I realized that it isn't working for the demo site either. The screenshot below has a DevTo link to show how image previews are supposed to show up.

image

Any idea what could be the issue? Soopr doesn't have any documentation for Jekyll, so help would really be appreciated. Thanks!

Docker image?

It would be great if it had a docker image. I am new to Ruby, I always have trouble setting up the development environment on my Mac.

[Question]: Style like your website?

Hi @abhinavs,
I noticed that your personal website is actually built on Moonwalk. That website looks different from the standard moonwalk theme though, and I think that actually looks a lot cooler! Here are some changes I noticed (there might be more):

  • Back arrow instead of text
  • Different color scheme
  • Different font
  • Copyright and powered by are enclosed in a box
  • Reading time, author name, etc are separated by dots instead of slashes

How do I replicate these changes on my own website? Or better still, would it be possible for you to share the source code for your website? Maybe you should include some of these changes to the moonwalk theme itself, since it looks better (in my opinion). Thanks for the help!

can't bootstrap

I'm new to ruby and really attracted by your blog theme.

I follow the guide of installation on windows, but i can't bootstrap the project.

❯❯ moonwalk git:(master) 14:17 ruby .\bin\bootstrap
C:\Ruby30-x64\bin\ruby.exe: no Ruby script found in input (LoadError)
❯❯ moonwalk git:(master)  14:24 ruby -v
ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c5) [x64-mingw32]
❯❯ moonwalk git:(master) 14:27 bundle -v
Bundler version 2.4.7

Please give me some suggestions, thanks.

Running MoonWalk Locally Using Ruby Version 3.1.x on Windows Fails

Problem: Running Moonwalk with Ruby version 3.1.x on Windows 10 on my machine triggers a segmentation fault consistently and doesn't allow launching it locally. I'm hoping that this only applies for my machine but I'm leaving this post in case that is not the case.

Solution: Simply install a version prior, Ruby version 3.0.3 works well with me. Below are more detailed steps for how to setup the entire thing.

Jekyll: Running Moonwalk Theme Locally on Windows

1. Download Ruby Devkit 3.0.3 https://rubyinstaller.org/downloads/ (NOT 3.1.x as it is bugged)
2. Launch an elevated cmd and install the Ruby package manager: `gem install bundler`
3. Clone Moonwalk repository: `git clone https://github.com/abhinavs/moonwalk`
4. Run Moonwalk repository using Ruby: `cd <MOONWALK_DIR>`, `bin/bootstrap`, `bin/start`
5. If successful, you will receive a prompt that the server is being hosted on http://127.0.0.1:4000.

Favicon not working

Hi,
I'm not able to get a favicon to show for my moonwalk website. I've tried the following:

  • Add icon to icon.png in the root directory
  • Add icon to the assets/images/favicon/favicon-16x16.png directory
  • Update the icon property in _config.yml

I tried searching up on the topic, and that tells me that I should add the favicon HTML tag to either _layouts/head.html or _layouts/default.html. I'm not sure how the theme works in this situation though. Will adding the layout file override the theme (in _config.yml for GH Pages and Gemfile locally)? Or will the layout file I add be used separately from the layout files specified for the theme?

Also, is this the right way to make the favicon work? I would prefer not to clone the repo, and to use moonwalk as a theme, to keep everything lightweight, so how do I add a favicon for my website? Help would be appreciated; thanks.

"pages build and deployment" Action Workflow not Triggered On Git Commits

I've fairly new to Jekyll so I might have missed something, but after forking this repo and committing any changes, no workflow is triggered to deploy the new changes (see below). I've just used other Jekyll repos and had success with those with the similar modifications.

Steps to Replicate

  1. Make any file change (e.g. _config.yml).
  2. Git commit and push it to Github.
  3. No workflow is triggered (confirmed under Github > Actions > Workflows). Note that no workflow is triggered rather than something being triggered and then failing.

Things that do Work

  1. Renaming the repo triggers a "pages build and deployment" Workflow.
  2. All file changes on top of the renaming are built and deployed.
  3. The changes are reflected on the final deployed 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.