GithubHelp home page GithubHelp logo

qls0ulp / botmakers.org Goto Github PK

View Code? Open in Web Editor NEW

This project forked from botwiki/botmakers.org-v1

0.0 0.0 0.0 3.38 MB

A Slack community of bot makers and bot enthusiasts.

Home Page: https://botmakers.org/

JavaScript 89.59% CSS 6.89% HTML 3.52%

botmakers.org's Introduction

Botmakers

Join Botmakers!

Botmakers is the official Botwiki.org community, maintained by the Botwiki.org team. Image courtesy of oldbookillustrations.com. Any questions? Need help? Reach out to @fourtonfish or [email protected].

Note: All members must read and follow our Code of Conduct.

Also, here's a list of bots we're playing with right now.

Auto-invite page for your Slack community

This repo also serves as a template for a neat-looking auto-invite page for your Slack community. It is loosely based on outsideris/slack-invite-automation, but kept simpler and easier to customize. You can easily host it on OpenShift or Heroku.

If you prefer a simpler setup, check out the Glitch version (see README.md in the sidebar for instructions).

Running this thing is pretty simple:

  1. Clone or download this repo.
  2. Make a copy of config-example.js and call it config.js.
  3. Edit 'config.js':
  4. community: name of your community
  5. slack_url: URL of your community
  6. slack_token: get yours here
  7. Make a copy of visitor_stats-example.handlebars (it's inside the views/partials folder) and call it visitor_stats.handlebars. Here you can paste your Google Analytics or StatCounter (or similar) code.
  8. Install dependencies with npm install (or sudo npm install, if necessary).
  9. I recommend using pm2 to run the app on your server.

Enjoy!

A few more notes:

About the step 3 above: If you don't need to include this code, you can simply leave the file empty, but note that this file is by deafult not going to be committed, so you will have to either update .gitignore to remove the file from the list, or, if you want to keep your site's code open, upload this file separately.

You can also edit the file main/handlebars inside the views/layouts folder and remove the line that says {{> visitor_stats }} and get rid of the file completely.

As for hosting your signup page on Heroku, note that Heroku's free plan forces your app to sleep for a few hours every day, so I don't recommend using Heroku if you expect a lot of traffic spread roughly evenly throughout the day, as you might lose signups.

If you want to develop this app, you can run gulp.js. The app will run at http://localhost:3011/, and there is a proxy at http://localhost:4000/ that has code hot swapping (changes to the styles or script files are immediately visible without reloading the page).

Note that you might need to reload the page if it gets stuck loading after you run gulp the first time. /shrug

botmakers.org's People

Contributors

stefanbohacek avatar jendowns avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.