Giter Site home page Giter Site logo

cadaver's People

Contributors

hughbris avatar

Stargazers

 avatar

Watchers

 avatar  avatar

cadaver's Issues

Add xdebug support

I have never used Xdebug, don't even know how to capitalise it. Would be handy in development environments I'm sure.

I've looked at how to install this. The blocker is how to manage this variant in the docker image, as a tag I guess. Might require a build script to manage option permutations. Look at similar images for implementation clues.

Add simple robots.txt option for discouraging AI bots

Thanks to them having a feed and me starting to rediscover feedreaders, Ars Technica have alerted me that it's now possible to block ChatGPT using robots.txt.

Given how important this is to many site owners, add an option to put this directive into a robots.txt file published from a container instance. I already have ROBOTS_DISALLOW, a simple boolean. Need to keep supporting this, while extending it for cases like this. I think there is a danger that the number of possible commonly sought-after boilerplate robots.txt files could extend beyond what will scale. For now, I think provide a small number of them and also provide instructions on how to do this by simply bind mounting a custom robots file.

The directive for ChatGPT API bots is:

User-agent: GPTBot
Disallow: /

I can see this needing to be extended. To future-proof, file should be named generically like ai-bots or similar.

Add multisite capability

Mainly the subdirectory version, which is already added commented out.

Very little incentive to implement the subdomain version, since I tend to expose containers via reverse proxy.

Change the name

  • think of a better name
  • investigate and manage any unintended consequences of name change
  • make change

Innocent as I am, I've picked up only lately that this repo might be unfortunately named. Wanted: something unique-ish integrating the qualities of grav + docker + caddy.

Since the tagged images are being used by at least one person, find out what, if any, redirects Github/GHCR puts in place. Do the best I can to minimise the impacts.

Setting file permissions fails for filenames with spaces

I noticed in some logs after a recent install of a site with existing content (user populated) that there were some errors from chmod and it looks like it couldn't set permissions for files that had spaces in their names.

This looks like a problem where xargs is treating every space piped to it from find as a new file to be chmoded. Indeed, that's what I'm seeing from a quick search and the solution seems to be to add a flag to change xargs's delimiter. Hopefully it's that simple, need to test.

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.