Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

nuxt-flyweb

FlyWeb integration for Nuxt — auto-generate /.well-known/flyweb.json so AI agents can discover your structured content.

Install

npm install nuxt-flyweb

Usage

// nuxt.config.ts
import flyweb from 'nuxt-flyweb';

export default defineNuxtConfig({
  modules: [
    [flyweb, {
      entity: 'My Blog',
      type: 'blog',
      attribution: { required: true, license: 'CC-BY-4.0', must_link: true },
      resources: {
        posts: {
          path: '/.flyweb/posts',
          format: 'jsonl',
          fields: ['title', 'author', 'date', 'content'],
          access: 'free',
        },
      },
    }],
  ],
});

Links

License

MIT