// Name: Feedbin Unread
// Author: Kevin Kipp
// Email: kevin.kipp@gmail.com
// Twitter: https://twitter.com/kevin_kipp
// Github: https://github.com/third774
import '@johnlindquist/kit';
const feedbinUsername = await env('FEEDBIN_USERNAME');
const feedbinPassword = await env('FEEDBIN_PASSWORD', () =>
arg({
placeholder: 'Feedbin Password',
secret: true,
}),
);
const headers = {
Authorization: `Basic ${btoa(`${feedbinUsername}:${feedbinPassword}`)}`,
};
type Entries = EntriesItem[];