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

dwylbot

v1.0.0

Published

Automating our GitHub Workflow to improve team communication/collaboration

Downloads

4

Readme

dwylbot = "GitHub Workflow Automation, Hints & Tips"

Build Status codecov Join the chat at https://gitter.im/dwyl/dwylbot

Automating our GitHub workflow to .reduce the number of clicks the people need to perform to get their work done and help people communicate better with their co-workers.

Why?

Learning a (new) Workflow is never instantaneous. We the people who already know the steps in our Workflow

What?

We use GitHub as our "single source of truth" (place to keep all our information so we don't lose anything important!). We also use GitHub to discuss ideas/features/improvements/questions, estimate the effort required to implement an idea (or "fix" an existing feature that is not working as expected) and then to track how much time a person spent on the task/feature.

We refer to this as our "Workflow". The "job" of dwylbot is to help the humans learn & follow the Workflow.

If you have not yet read the following guides:

  • https://github.com/dwyl/github-reference
  • https://github.com/dwyl/contributing

The purpose of dwylbot will not be clear to you.

How?

This project is written in Elixir and uses a Phoenix web server tested by Travis and running on Heroku. If you are new to any of these tools/technologies you won't understand some of the code in this repo, so, please read/learn:

  • Elixir: https://github.com/dwyl/learn-elixir
  • Phoenix: https://github.com/dwyl/learn-phoenix-framework
  • Travis https://github.com/dwyl/learn-travis
  • Heroku: https://github.com/dwyl/heroku

Run The Project Locally!

The "production" version of dwylbot runs on Heroku, but we develop it locally and you can easily run it on your computer.

Note: only try to run this on your computer once you've understood Elixir & Phoenix.

Clone the Repository (to your personal computer)

git clone [email protected]:dwyl/dwylbot.git && cd dwylbot

Define Local Environment Variables

If you are new to "Environment Variables", please read: github.com/dwyl/learn-environment-variables

To run the application on your localhost (personal computer) create an .env file where you can define your environment variables.

dwylbot/.env:

export GITHUB_ACCESS_TOKEN=******
export DATABASE_URL=****

Then execute the command source .env which will create your environment variables

Note: This method only adds the environment variables locally and temporarily so you need to start your server in the same terminal where you ran the source command.

Install Dependencies

mix deps.get
npm install

Confirm Everything is working

Run the tests:

mix test

Creat the Database (if it does not already exist)

mix do ecto.create

Run the Server

mix phoenix.server

You should see:

[info] Running Dwylbot.Endpoint with Cowboy using http://localhost:4000

View the Project in your Web Browser

Open http://localhost:4000 in your web browser.

That's nice, but what does it actually do...?

Understanding The Project

Given your Phoenix knowledge, you know that the first place to look when you want to understand a Phoenix project is: web/router.ex