
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
insta-reddit
Advanced tools
Insta-Reddit is a JavaScript library for easily posting the hottest submission from Reddit to Instagram with built-in image padding and Slack messages.
Supply Chain Security
Vulnerability
Quality
Maintenance
License
Insta-Reddit is a JavaScript library for easily posting the hottest submission from Reddit to Instagram with built-in image padding and Slack messages.
Use the package manager npm to install insta-reddit.
npm install insta-reddit
const { AutoPoster } = require('insta-reddit');
require('dotenv').config();
const bot = new AutoPoster({
instagram: {
username: process.env.IG_USERNAME,
password: process.env.IG_PASSWORD,
},
reddit: {
userAgent: process.env.REDDIT_USERAGENT,
clientId: process.env.REDDIT_ID,
clientSecret: process.env.REDDIT_SECRET,
username: process.env.REDDIT_USERNAME,
password: process.env.REDDIT_PASSWORD,
},
slack: {
token: process.env.SLACK_BOT_TOKEN,
signingSecret: process.env.SLACK_SIGNING_SECRET,
channel: process.env.SLACK_CHANNEL,
},
subreddit: process.env.REDDIT_SUBREDDIT,
historyFile: 'history.json',
downloadPath: 'images/meme{{extension}}',
caption:
'{{title}}\nsource: {{author}}\n' +
'.\n'.repeat(7) +
'#meme #memes #bestmemes #instamemes #funny #funnymemes #dankmemes #edgymemes #dank #memesdaily #jokes #humor',
});
(async () => {
await bot.init();
await bot.run();
})();
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
FAQs
Insta-Reddit is a JavaScript library for easily posting the hottest submission from Reddit to Instagram with built-in image padding and Slack messages.
The npm package insta-reddit receives a total of 3 weekly downloads. As such, insta-reddit popularity was classified as not popular.
We found that insta-reddit 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.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.