π¨ The ultimate agentic social media scheduling tool π€
TypeScript nextjsopen-sourceopen-source-social-media-scheduling-toolosspostiz-cloudpostiz-hostedredisscheduling-toolsocial-media-scheduling-tooltypescript
import { Injectable } from '@nestjs/common';
import { AuthService } from '@gitroom/helpers/auth/auth.service';
@Injectable()
export class CodesService {
generateCodes(providerToken: string) {
try {
const decrypt = AuthService.fixedDecryption(providerToken);
return [...new Array(10000)]
.map((_, index) => {
return AuthService.fixedEncryption(`${decrypt}:${index}`);
})
.join('\n');
} catch (error) {
return '';
}
}
}