Coder Social home page Coder Social logo

kirby-helpers's Introduction

Visit my link tree

Visit my website

Visit my Instagram

Hi, Iโ€™m Johann. I work somewhere in between development and design โ€”
A JavaScript one-trick pony with an aesthetic sense.

Projects

My current focus is on the Nuxt and Vue development experience.

Multi-Framework

  • unlazy: ๐Ÿชง Universal lazy loading library for placeholder images leveraging native browser APIs

Nuxt.js & Vue.js

  • @nuxtjs/plausible: ๐ŸŽŸ๏ธ Plausible Analytics integration for Nuxt
  • nuxt-api-party: ๐Ÿฌ Securely connect to any API with a server proxy and generated composables
  • nuxt-prepare: ๐ŸฆŽ Run initialization steps at build time
  • nuxt-kql: ๐Ÿซง Kirby's Query Language API for Nuxt
  • nuxt-gtag: ๐Ÿ”ธ Google Tag integration for Nuxt: Google Analytics, Google Ads and more
  • vue-stickers: ๐Ÿฆ One component, multiple fancy sticker variants
  • @byjohann/vue-i18n: ๐ŸŒ Lightweight internationalization plugin for Vue

Tooling

  • @unocss/cli: ๐ŸŽจ The CLI for UnoCSS. A perfect fit for traditional backends.
  • nitro-test-utils: ๐Ÿงช Testing environment and utilities for Nitro
  • pdfjs-serverless: ๐Ÿชญ Serverless build of PDF.js for Deno, workers, and other nodeless environments
  • kirbyup: ๐Ÿ†™ Official bundler for Kirby Panel plugins

Libraries

  • unpdf: ๐Ÿ“„ Utilities to work with PDFs in Node.js, browser and workers
  • tokenwise: ๐Ÿ“ GPT token estimation and context size utilities without a full tokenizer
  • apiverse: โœด๏ธ Unified, pluggable API client management for ofetch, route building and typed OpenAPI clients

Demos / Templates / App Starters

Kirby Plugins

Commercial

Open Source

  • โญ๏ธ kirby-content-translator: ๐ŸŒ Kirby Panel plugin to translate content at once with DeepL or other services
  • kirby-headless: ๐Ÿฆญ Kirby, but headless only โ€“ bearer token, Express-esque middlewares & more
  • kirby-algolia-docsearch: ๐Ÿ”ฆ Index and search your Kirby site with Algolia DocSearch
  • kirby-serp-preview: ๐Ÿ” Kirby Panel plugin for search engine result page previews
  • kirby-punctuation-section: โœ’๏ธ Insert punctuation marks into your text with a single click

kirby-helpers's People

Contributors

johannschopplich avatar nerdcel avatar

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

Watchers

 avatar  avatar  avatar  avatar

kirby-helpers's Issues

pregmatch error in SiteMeta, if excludePages include subpages

Hi Johann,
I get the following error, if i include subpages in the exclude.pages-Option:

// Sitemap
    'kirby-extended.sitemap' => [
        'enable' => true,
        'exclude' => [
            'pages' => ['pagexy', 'pagexy/subpagexy'],
            /*
            'pages' => function () {
                return site()->index()->unlisted()->pluck('id', ',');
            },*/
            'templates' => [
                'default',
                'error',

grafik
grafik

In the original SiteMeta-Plugin from Bastian,the preg_match-function is slightly different.

//if (preg_match('/^(?:' . implode('|', $excludePages) . ')$/i', $item->id())) {
if (preg_match('!^(?:' . implode('|', $pages) . ')$!i', $item->id())) {

if i change that line, it works for me.
Didn't you have an issue with that before?
I dont know if your SiteMeta is from an older version or if you changed that intentionally...

Would be nice, if you can have a look and maybe change the above line.
i you like me to, i can do a PR.

Thx!

Remove unlisted pages from `sitemap.xml` by option

Hi Johann,
in my opinion, unlisted pages should not be part of the sitemap.xml, so google won't index them.
it would be nice to have an option to remove all unlisted pages from the sitemap.xml by adding an option.
something like

$excludeUnlisted = option('kirby-extended.sitemap.exclude.unlisted', false);
if($excludeUnlisted) {
  $items = site()->index()->listed();
} else {
  $items = site()->index();
}

...

foreach ($items as $item) {

...

i think that would be much faster, than add all unlisted pages by an exclude.pages-Array, and preg_match them with site()->index()

what do you think about that?

Thx!

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.