Skip to content

Instantly share code, notes, and snippets.

View Souvikns's full-sized avatar
🎯
Focusing

Souvik De Souvikns

🎯
Focusing
View GitHub Profile
@Souvikns
Souvikns / README.md
Last active June 3, 2025 22:14
My Version of Agnoster to make the prompts smaller

image

@Souvikns
Souvikns / README.md
Created October 2, 2024 03:44
How to setup Glee for development

Nodejs Setup

For running glee on your local computer, you need NodeJS preferrably v18 or higher and npm.

install nodejs from https://nodejs.org/en

Setup Glee

  • Install dependencies - npm i
  • build glee using npm run build or npm run dev.
@Souvikns
Souvikns / onboarding.md
Created March 11, 2024 03:18
Maintainer onboarding guide for asyncapi/glee

Onboarding guide for asycapi/glee

Welcome new maintainer! Now that you have been voted in as a new asyncapi/glee maintainer, we wanted to make sure we got you off to a good start.

Your Core Responsibilities


The primary objective of a core maintainer is to further CLI's goal of being both an awesome command Line Interface and a thriving and friendly community.

All maintainers are expected to do the following:

@Souvikns
Souvikns / onboarding.md
Last active March 11, 2024 03:08
Maintainer onboarding guide for asyncapi/cli

Onboading guide for asyncapi/cli

Welcome new maintainer! Now that you have been voted in as a new asyncapi/cli maintainer, we wanted to make sure we got you off to a good start.

Your Core Responsibilities


The primary objective of a core maintainer is to further CLI's goal of being both an awesome command Line Interface and a thriving and friendly community.

export default async function () {
return {
authentication: (servername: string, channelname: string, parsedAsyncAPISpec: AsyncAPI) {
if (servername === 'ws-client') {
return {token: process.env.TOKEN}
}
}
}
}
@Souvikns
Souvikns / log.txt
Created January 11, 2023 12:53
Error Log from running tests in asyncapi cli
➜ npm run test
> @asyncapi/cli@0.27.2 pretest
> npm run build
> @asyncapi/cli@0.27.2 build
> rimraf lib && node scripts/fetch-asyncapi-example.js && tsc && echo "Build Completed"
Fetched ZIP file
@Souvikns
Souvikns / integration.js
Created March 10, 2022 07:25
POC for JSON schema integration of AsyncAPI internal tools
// bundler integration function
const bundle = require('@asyncapi/bundler');
async function bundler(inputs,options, output) {
const files = inputs.files;
const base = options.base;
const format = output.format;
const document = await bundle(files, {
base: base
@Souvikns
Souvikns / bundle.ts
Last active February 12, 2022 12:11
This is how the bundle command would look...
import {main, options} from '@asyncapi/bundler/cli';
import bundle from '@asyncapi/bundler';
import Command from './base';
import {Flags} from '@oclif/core';
export default class Bundle extends Command {
static strict = false;
static flags = options.getFlags(Flags);
async run(){
import {main, options} from '@asyncapi/diff/cli';
import Command from '../base';
import {flags} from '@oclif/command';
export default class Diff extends Command {
static flags = options.getFlags(flags);
static args = options.args;
import "./styles.css";
import { usePokemon } from "./hook";
export default function App() {
let pokemons = usePokemon();
return (
<div>
<h1>Hello CodeSandbox</h1>
<h2>Start editing to see some magic happen!</h2>
<table>
<tr>