npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

bleak

v0.1.0

Published

An in-your-face theme for the Ghost blogging platform

Downloads

23

Readme

bleak

bleak. a theme for ghost

bleak is a stunning theme for the Ghost blog platform. It features full-section images and a slick responsive design that puts the right content right in your readers' faces. See some more screenshots below, or see it in action on my blog, unwttng.com.

Quick installation

We'll talk about how insanely customisable bleak is in a second, but if you just want to get started, it works without any configuration too.

Get the .zip file for the latest version here, and install it however you normally do:

  • Ghost(Pro) users can upload this .zip file via the Pro dashboard. See the official guide.
  • Self-hosted Ghost users should upload the .zip file to Ghost's content/themes/ directory and extract it with unzip -o bleak.zip.

Configuration

bleak is super configurable. It supports Google Analytics, Disqus integration and a whole suite of social profile links. And the best thing is, not a single bit of it requires you to hack around with the theme's files. It works right out of the box, and you can set it up however you like using the Ghost admin interface.

All theme configuration is done by adding one-line items to your Ghost blog header via the code injection interface at yourblog.com/ghost/settings/code-injection.

Google Analytics

Got a Google Analytics tracking ID? Instantly enable tracking on your blog by adding the following line to header code injection:

<script>window._bleak.googleAnalyticsId = 'UA-12345678-1';</script>

Disqus

To integrate a bleak blog with Disqus, you just need a Disqus username. Drop it into your configuration with this one line in the header code injection interface:

<script>window._bleak.disqusUsername = 'mydisqususername';</script>

Done! Disqus threads will now appear on all of your posts.

Social links

bleak supports a wide range of social profile links. Configuring any of these will cause the appropriate navigation items to appear in your sidebar.

For any network listed below, just configure window._bleak.<socialnetwork>Username in your blog header code injection. For example, to add a navigation item to your Twitter profile, you would add:

<script>window._bleak.twitterUsername = 'unwttng';</script>

As if by magic, you now have a social links bar in your sidebar with a Twitter-icon link.

Which networks are available?

  • bitbucket: window._bleak.bitbucketUsername = '...';
  • deviantart: window._bleak.deviantartUsername = '...';
  • facebook: window._bleak.facebookUsername = '...';
  • flickr: window._bleak.flickrUsername = '...';
  • github: window._bleak.githubUsername = '...';
  • instagram: window._bleak.instagramUsername = '...';
  • linkedin: window._bleak.linkedinUsername = '...';
  • pinterest: window._bleak.pinterestUsername = '...';
  • soundcloud: window._bleak.soundcloudUsername = '...';
  • twitch: window._bleak.twitchUsername = '...';
  • twitter: window._bleak.twitterUsername = '...';
  • vimeo: window._bleak.vimeoUsername = '...';
  • youtube: window._bleak.youtubeUsername = '...';

The theme looks best when you use one, two or three of the above in combination!

Screenshots

Index page

bleak

Post

bleak

Static page

bleak

Mobile screenshots

bleak is responsive, switching to a tailored vertical layout with the right content top and center when on small devices.

Index page

bleak

Post

bleak

Static page

bleak