denis-avakov / podobayka Goto Github PK
View Code? Open in Web Editor NEWWIP: Monorepo to combine the bots that streamers may need
WIP: Monorepo to combine the bots that streamers may need
Змінюємо розкладку минулого повідомлення
https://github.com/ai/convert-layout
Розділити тригери на три групи
https://id.twitch.tv/oauth2/authorize?client_id=<CLIENT_ID>
&redirect_uri=http://localhost
&response_type=code
&scope=chat:read+chat:edit+channel:moderate+whispers:read+bits:read
https://dev.twitch.tv/docs/authentication/scopes#chat-and-pubsub-scopes
https://dev.twitch.tv/docs/authentication/refresh-tokens
https://twurple.js.org/docs/examples/chat/basic-bot.html
Таски:
- find a fine n-gram model to detect ru language
- якщо модель буде не на джс то подумати як зробити мікросервіс
- зробити словник частих руснявих слів на твічі (які n-gram модель не бачє)
import fs from 'fs';
import path from 'path';
import type { FeatureFile } from 'types';
export default function featuresLoader() {
const features: FeatureFile[] = [];
const featureFiles = fs
// Look for files as TS (dev) or JS (built files)
.readdirSync(path.resolve(__dirname, '../features'))
.filter((file) => file.endsWith('.ts') || file.endsWith('.js'));
for (const featureFile of featureFiles) {
// eslint-disable-next-line @typescript-eslint/no-var-requires
const feature = require(`../features/${featureFile}`) as FeatureFile;
features.push({ ...feature, name: path.parse(featureFile).name });
}
return features;
}
Will delete messages only if they contain at least one of the letters "ё", "ъ", "ы" or "э".
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.