Skip to content

indiefellas/astro-adapter-nekoweb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

astro-adapter-nekoweb

indiefellas/astro-adapter-nekoweb NPM Downloads

An adapter for Astro that deploys your app automatically on Nekoweb.

Note that this is a community project and is not affiliated with Nekoweb.

Configuration

To use the adapter, install it:

// npm
npm run astro add @indiefellas/astro-adapter-nekoweb
// bun
bun astro add @indiefellas/astro-adapter-nekoweb

then add it on your astro.config.mjs:

+ import nekoweb from '@indiefellas/astro-adapter-nekoweb';

// https://astro.build/config
export default defineConfig({
  adapter: nekoweb({
    apiKey: 'api key (required)',
    cookie: 'your nekoweb cookie for recently updated support (optional)',
    siteName: 'your-site (only used if cookie is defined)',
    domain: 'your-site.nekoweb.org',
    rssFeed: '/your/rss/feed/path.xml (optional)'
  })
});

then create your API key on https://nekoweb.org/api (Be careful! Don't share this to others as this API can modify your site!) then put the API key on apiKey.

if you want your page to go to the recently updated page, get your nekoweb cookie from the devtools and put it on cookie! see https://deploy.nekoweb.org/#getting-your-cookie for instructions of how (thanks @thnlqd for helping me implement this!)

and lastly, run npm run build or bun run build (or anything that can run astro build).

About

The Astro adapter for cats

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors