open-index/open-npm huggingface dataset:
npm package: @prog666/vue-cli-plugin-ssr
Description: Turn your app into an isomorphic SSR app!
Author: Guillaume Chau
Latest version: 0.2.3

# @akryum/vue-cli-plugin-ssr

[![npm](https://img.shields.io/npm/v/@akryum%2Fvue-cli-plugin-ssr.svg) ![npm](https://img.shields.io/npm/dm/@akryum%2Fvue-cli-plugin-ssr.svg)](https://www.npmjs.com/package/@akryum%2Fvue-cli-plugin-ssr)
[![vue-cli3](https://img.shields.io/badge/vue--cli-3.x-brightgreen.svg)](https://github.com/vuejs/vue-cli)

Simple Server-Side-Rendering plugin for Vue CLI (Work-in-Progress)

<p>
  <a href="https://www.patreon.com/akryum" target="_blank">
    <img src="https://c5.patreon.com/external/logo/become_a_patron_button.png" alt="Become a Patreon">
  </a>
</p>

<br>

**:star: Features:**

- Automatic conversion of your project to SSR
- Integrated express server
- Vuex store
- Async routes
- [vue-cli-plugin-apollo](https://github.com/Akryum/vue-cli-plugin-apollo) support

<br>

**:rocket: Roadmap:**

- Automatic conversion of vuex modules to `state () {}`
- Integration with CLI UI

## Usage

```bash
vue add @akryum/ssr
yarn run ssr:serve
```

To run the app in production:

```bash
yarn run ssr:build
yarn run ssr:start
```
npm package: @progalaxyelabs/htms-cli
Description: CLI for HTMS compiler
Author: ProGalaxy eLabs
Latest version: 0.5.0

# HTMS CLI

Command-line interface for the HTMS compiler.

## Installation

```bash
npm install -g @htms/cli
```

## Usage

### Compile

Compile a `.htms` file to TypeScript:

```bash
htms compile src/app.htms -o dist/
```

Options:
- `-o, --output <dir>` - Output directory (default: `dist`)
- `-w, --watch` - Watch for changes
- `-q, --quiet` - Suppress output

### Check

Validate a `.htms` file without generating output:

```bash
htms check src/app.htms
```

### Watch Mode

Watch for changes and recompile automatically:

```bash
htms compile src/app.htms -o dist/ --watch
```

### Init

Initialize a new HTMS project (coming soon):

```bash
htms init
```

## Programmatic API

You can also use the CLI programmatically:

```javascript
import { compileFile, checkFile } from '@htms/cli';

const result = await compileFile('src/app.htms', 'dist/');
console.log(result.success); // true/false
```

## Vite Plugin

Use HTMS in your Vite project:

```javascript
// vite.config.js
import { htmsPlugin } from '@htms/cli/vite';

export default {
  plugins: [htmsPlugin({
    include: /\.htms$/,
    outputDir: 'src/generated',
    watch: true
  })]
};
```

### Plugin Options

- `include` - RegExp pattern for files to process (default: `/\.htms$/`)
- `outputDir` - Directory for generated files (default: `'src/generated'`)
- `watch` - Enable watch mode (default: `true`)

## Output Files

The compiler generates three TypeScript files:

1. **templates.ts** - Component/section/page functions
2. **router.ts** - Hash-based router with context management
3. **events.ts** - Event delegation and two-way binding

## Error Formatting

Errors are displayed with source context:

```
error[E002]: Undefined component: 'NavBar'
  --> src/app.htms:10:5

   9 | page home "/" {
  10 |   NavBar
     |   ^^^^^^
  11 | }
```

## License

MIT
npm package: @progalaxyelabs/ngx-push-lib
Description: A package to push angular library to github. Currently under testing.
Author: @progalaxyelabs
Latest version: 0.0.3

# NgxPushLib

A package to push angular library to github. Currently under testing.

To add package to your angular library workspace, run `ng add @progalaxyelabs/ngx-push-lib` in your workspace root folder.

This adds `@progalaxyelabs/ngx-push-lib` package to your workspace's package.json

After you build your library using `ng build <lib-project>`, run `ng deploy` in your workspace root folder. This will push the generated lib in dist folder to github repo using the same credentials



This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 16.2.0.

## Code scaffolding

Run `ng generate component component-name --project ngx-push-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project ngx-push-lib`.
> Note: Don't forget to add `--project ngx-push-lib` or else it will be added to the default project in your `angular.json` file. 

## Build

Run `ng build ngx-push-lib` to build the project. The build artifacts will be stored in the `dist/` directory.

## Publishing

After building your library with `ng build ngx-push-lib`, go to the dist folder `cd dist/ngx-push-lib` and run `npm publish`.

## Running unit tests

Run `ng test ngx-push-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
npm package: @progalaxyelabs/stonescriptphp-files
Description: Zero-config Express file server with Azure Blob Storage and JWT authentication
Author: ProGalaxy E-Labs
Latest version: 3.0.0

# @progalaxyelabs/stonescriptphp-files

Zero-config Express file server with Azure Blob Storage and JWT authentication

## Installation

```bash
npm install express @progalaxyelabs/stonescriptphp-files
```

## Quick Start

```javascript
import { createFilesServer } from '@progalaxyelabs/stonescriptphp-files';

// Zero-config setup (uses environment variables)
createFilesServer().listen();
```

## Environment Variables

```bash
AZURE_STORAGE_CONNECTION_STRING=your_connection_string
AZURE_CONTAINER_NAME=platform-files  # optional, defaults to 'platform-files'
JWT_PUBLIC_KEY=your_jwt_public_key
PORT=3000  # optional, defaults to 3000
```

## Advanced Configuration

```javascript
import { createFilesServer } from '@progalaxyelabs/stonescriptphp-files';

const server = createFilesServer({
  port: 3000,
  containerName: 'my-files',
  azureConnectionString: 'your_connection_string',
  jwtPublicKey: 'your_public_key',
  maxFileSize: 100 * 1024 * 1024,  // 100MB
  corsOrigins: '*'  // or ['https://example.com']
});

server.listen();
```

## API Endpoints

### POST /upload
Upload a file (requires JWT authentication)

**Request:** multipart/form-data with `file` field
**Response:**
```json
{
  "success": true,
  "file": {
    "id": "uuid-here",
    "name": "filename.pdf",
    "contentType": "application/pdf",
    "size": 12345,
    "uploadedAt": "2025-02-07T12:00:00.000Z"
  }
}
```

### GET /files/:id
Download a file (requires JWT authentication, validates ownership)

### GET /files
List all files for authenticated user

### DELETE /files/:id
Delete a file (requires JWT authentication, validates ownership)

### GET /health
Health check endpoint (no authentication required)

## Composable Usage

```javascript
import express from 'express';
import {
  AzureStorageClient,
  createAuthMiddleware,
  createUploadRouter,
  createDownloadRouter
} from '@progalaxyelabs/stonescriptphp-files';

const app = express();
const storage = new AzureStorageClient(connectionString, containerName);
const authenticate = createAuthMiddleware(publicKey);

await storage.initialize();

app.use(authenticate, createUploadRouter(storage));
app.use(authenticate, createDownloadRouter(storage));

app.listen(3000);
```

## Features

- ✅ Azure Blob Storage integration
- ✅ JWT Bearer token authentication (RS256/ES256/HS256)
- ✅ File ownership validation
- ✅ Streaming uploads and downloads
- ✅ Configurable file size limits
- ✅ CORS support
- ✅ Graceful shutdown handling
- ✅ Health check endpoint
- ✅ ESM module support

## Requirements

- Node.js >=24.0.0
- Express ^5.0.0 (peer dependency)

## License

MIT
npm package: @progfay/nextjs-ssg-rewrite-rule-gen
Description: generate nginx rewrite rules for Next.js SSG (Pages Router)
Author: progfay
Latest version: 1.2.0

# `@progfay/nextjs-ssg-rewrite-rule-gen`

## Description

Next.js supports [Static Exports](https://nextjs.org/docs/pages/building-your-application/deploying/static-exports).

However, it's a lot of work to manage the routing for the generated file without Vercel.
[Dynamic Routes](https://nextjs.org/docs/pages/building-your-application/routing/dynamic-routes) feature makes routing more difficult.

This application automatically generates [nginx rewrite rules](https://www.nginx.com/blog/creating-nginx-rewrite-rules/) for generated files.

## Requirements

- [Next.js](https://github.com/vercel/next.js) ([Pages Router](https://nextjs.org/docs/pages) only)
- [nginx](https://github.com/nginx/nginx)

## Installation

```bash
npm install -D @progfay/nextjs-ssg-rewrite-rule-gen
```

## Configuration

> [!NOTE]
> This application is available with zero configuration.

You can run this application with config in following command: `nextjs-ssg-rewrite-rule-gen --config config.json`

```json
{
  "pagesDirPath": "apps/src/pages",
  "ignoreRoutes": ["/debug"],
  "nginxConfigs": [
    {
      "pattern": "^/credential$",
      "directives": ["add_header Cache-Control \"no-store\";"]
    }
  ],
  "basePath": "/app",
  "trailingSlash": true
}
```

Available configs:

- `pagesDirPath`: customize path for `pages` directory
- `ignoreRoutes`: exclude specific paths from outputs
- `nginxConfigs`: customize configuration inside of [nginx `location` directive](https://nginx.org/en/docs/http/ngx_http_core_module.html#location)
  - `pattern`: pattern string of [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/RegExp#pattern)
  - `directives`: additional nginx directives
- `basePath`: [next.config.js Options: basePath | Next.js](https://nextjs.org/docs/app/api-reference/next-config-js/basePath)
- `trailingSlash`: [next.config.js Options: trailingSlash | Next.js](https://nextjs.org/docs/app/api-reference/next-config-js/trailingSlash)

## How to work

`pages` directory:

```tree
pages
└── user
    ├── [id]
        └── index.js
    └── new
        └── index.js
```

↓

Generated files with Static Exports (`next build` and [`output: "export"`](https://nextjs.org/docs/pages/building-your-application/deploying/static-exports#configuration)):

```tree
out
└── user
    ├── [id].html
    └── new.html
```

↓

nginx rewrite rules (generated by `@progfay/nextjs-ssg-rewrite-rule-gen`):

```nginx
location ~ ^/user/new/?$ {
  rewrite ^/user/new/?$ /user/new.html break;
}

location ~ ^/user/[^/]+?/?$ {
  rewrite ^/user/[^/]+?/?$ /user/[id].html break;
}
```