Security News
The Unpaid Backbone of Open Source: Solo Maintainers Face Increasing Security Demands
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
@fearfuldev/fluxpoint
Advanced tools
Fluxpoint is a private api, apply for access here
npm i @fearfuldev/fluxpoint
const fluxpoint = require("@fearfuldev/fluxpoint");
const client = new fluxpoint.Client("token_here");
Gallery
client.gallery("album_id").then((img) => {
// ...
});
Image Generation (Welcome)
const Discord = require("discord.js");
const fluxpoint = require("@fearfuldev/fluxpoint");
const client = new fluxpoint.Client("token_here");
const builder = new Client.WelcomeBuilder();
// Required
// Replace TYPE with one of the types:
// ICONS: cat, chika, dog, dragon, neko, nyancat, pepe, pikachu, senko, shrek
// BANNERS: love, mountain, purplewave, rainbow, space, sunset, swamp, waifubot, wave
builder.setUser('User#0000');
builder.setAvatar('user_avatar_Url');
builder.setBackgroundColor("#000");
builder.setMemberCount(`Member #1`) // You can use guild.memberCount for this.
builder.setIcon(client.icons.TYPE);
builder.setBanner(client.banners.TYPE);
// Optional
builder.setWelcomeColor('#000'); // Hex decimal for the color of the "welcome" text
builder.setUsernameColor('#000'); // Same as welcomeColor but for the username
builder.setMembersColor('#000'); // Hex decimal color for the memberCount text
let build = await client.genWelcome(builder.buildBody());
let attatchment = new Discord.MessageAttatchment(build, "welcome.jpg");
message.channel.send(attatchment);
Image Generation (Custom) [Donator Only]
https://docs.fluxpoint.dev/gen/custom
const Discord = require("discord.js");
const fluxpoint = require("@fearfuldev/fluxpoint");
const client = new fluxpoint.Client("token_here");
const builder = new client.CustomBuilder();
builder.setBase({
type: "bitmap",
width: 2000,
height: 2000,
color: "#7289da",
});
builder.addImage({
type: "bitmap",
round: 160,
x: 20,
y: 240,
width: 1220,
height: 360,
color: "0,0,0,80",
});
builder.addImage({
type: "url",
url: "https://img.fluxpoint.dev/thm/1422436083957760.jpg",
width: 2000,
height: 2000,
});
builder.addText({
text: "Hello",
color: "black",
size: 120,
x: 600,
y: 1060,
});
let build = await client.genCustom(builder.buildBody());
let attatchment = new Discord.MessageAttatchment(build, "custom.jpg");
message.channel.send(attatchment);
NSFW
you are responsible for locking this to nsfw channels.
Types:azurlane
,nekopara
,lewd
client.nsfw("image_type").then((img) => {
// ...
});
List (Welcome Icons)
const fluxpoint = require("@fearfuldev/fluxpoint");
const client = new fluxpoint.Client("token_here");
await client.listWelcomeIcons().then((res) => {
message.channel.send(`\`\`\`json\n${res.list.join("\n")}\`\`\``);
});
List (Welcome Banners)
const fluxpoint = require("@fearfuldev/fluxpoint");
const client = new fluxpoint.Client("token_here");
await client.listWelcomeBanners().then((res) => {
message.channel.send(`\`\`\`json\n${res.list.join("\n")}\`\`\``);
});
Embeds (Gallery)
client.gallery("album_id").then((img) => {
let embed = new Discord.MessageEmbed()
.setTitle("Embed Title")
.setDescription("")
.setImage(img.file); // img url
message.channel.send(embed);
});
👤 ~ Fearful ~#2000
Discord
FAQs
Interact with the fluxpoint.dev api via Discord.js
The npm package @fearfuldev/fluxpoint receives a total of 0 weekly downloads. As such, @fearfuldev/fluxpoint popularity was classified as not popular.
We found that @fearfuldev/fluxpoint demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.
Security News
A developer is accusing Tencent of violating the GPL by modifying a Python utility and changing its license to BSD, highlighting the importance of copyleft compliance.