All Projects → KenEucker → biketag-website

KenEucker / biketag-website

Licence: AGPL-3.0 license
A website for biketag.org

Programming Languages

javascript
184084 projects - #8 most used programming language
SCSS
7915 projects
CSS
56736 projects
Liquid
124 projects
HTML
75241 projects
EJS
674 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to biketag-website

Jekyll
🌐 Jekyll is a blog-aware static site generator in Ruby
Stars: ✭ 43,803 (+128732.35%)
Mutual labels:  liquid
Skeleton Theme
A barebones ☠️starter theme with the required files needed to compile with Slate and upload to Shopify.
Stars: ✭ 153 (+350%)
Mutual labels:  liquid
Crypto Exchange
Pulls together list of crypto exchanges to interact with their API's in a uniform fashion.
Stars: ✭ 241 (+608.82%)
Mutual labels:  liquid
Vc Storefront
VirtoCommerce Storefront for ASP.NET Core 3.1 repository
Stars: ✭ 122 (+258.82%)
Mutual labels:  liquid
Shopify Modern
A modern template for developing Shopify-themes using Vuejs
Stars: ✭ 136 (+300%)
Mutual labels:  liquid
Bootstrapify 1
An open-source base theme for Shopify using Twitter Bootstrap
Stars: ✭ 189 (+455.88%)
Mutual labels:  liquid
Shopify Shortcodes
Allows you to use Shortcodes within Shopify
Stars: ✭ 100 (+194.12%)
Mutual labels:  liquid
gradle-natives
Gradle plugin to aid in managing native libraries associated with Java-based projects.
Stars: ✭ 32 (-5.88%)
Mutual labels:  help-wanted
Moonmail
Email marketing platform for bulk emailing via Amazon SES (Google Cloud Platform and Azure coming soon)
Stars: ✭ 1,766 (+5094.12%)
Mutual labels:  liquid
Libwethair
A Multi-Scale Model for Simulating Liquid-Hair Interactions
Stars: ✭ 232 (+582.35%)
Mutual labels:  liquid
Fhir Converter
Conversion utility to translate legacy data formats into FHIR
Stars: ✭ 123 (+261.76%)
Mutual labels:  liquid
Jekyll Timeago
⌛️ Ruby library to compute distance of dates in words. Originally built for Jekyll.
Stars: ✭ 130 (+282.35%)
Mutual labels:  liquid
Init.nvim
An Opinionated Neovim Config for the Minimalists
Stars: ✭ 194 (+470.59%)
Mutual labels:  liquid
Jekyll Menus
A menus (site navigation) plugin for your Jekyll website that also works with https://forestry.io (Jekyll CMS)
Stars: ✭ 115 (+238.24%)
Mutual labels:  liquid
yaclt
Yet Another Change Log Tool
Stars: ✭ 24 (-29.41%)
Mutual labels:  help-wanted
Shopify Theme Inspector
A Chrome DevTools plugin that visualizes Shopify Liquid render profiling data so you can triage long-running code and reduce server response times!
Stars: ✭ 102 (+200%)
Mutual labels:  liquid
Smartstorenet
Open Source ASP.NET MVC Enterprise eCommerce Shopping Cart Solution
Stars: ✭ 2,363 (+6850%)
Mutual labels:  liquid
scalem
A jQuery plugin to make any element scalable (responsive).
Stars: ✭ 33 (-2.94%)
Mutual labels:  liquid
liquid
A Python engine for the Liquid template language.
Stars: ✭ 40 (+17.65%)
Mutual labels:  liquid
Liquid Rust
Liquid templating for Rust
Stars: ✭ 229 (+573.53%)
Mutual labels:  liquid

⚠️ End Of Life ⚠️

The `biketag-website` project has reached end of life. We are no longer accepting pull requests or providing support for community users of this code and supporting software. This project started as a tool for people to be able to more easily play BikeTag in Portland, Oregon, socially on Reddit. This code lived much longer than it could have and I, Ken, am so happy that it worked so well for the community of BikeTag Players all over the world. Please see the new [BikeTag App][biketag-vue] for the continued free and open source offering by the BikeTag Project.

(THANK YOU!)

biketag-website

Build Status

A website for biketag.org

BikeTag Homepage

Why?

To allow anyone and everyone to play BikeTag! This site will ingest the Reddit posts playing biketag for a configured subreddit, and display them on biketag. Conversely, using the site you can create a new tag and will be automagically posted to Reddit! This lets anyone play the game without needing to know how to imgur or having a reddit account, while continuing to support those who have been playing biketag on reddit as well!

Features of the webapp

BikeTag Game

Contribute

If you'd like to contribute to this project you can file an issue, fork the code and create a pull request, or support this project on patreon.

Development

Install dependencies

Run npm install to install the node module dependencies.

Required Configuration

The app loads a set of configuration files found in the config folder. The repository is set to ignore a config.json file, for security reasons, but there's sample of the minimum configuration to get the local site to display images for the Portland subdomain, as well as the default landing page. sample.config.json. Copy this file to config/config.json

cp config.sample.json config/config.json

to get started from scratch. Note: for some features to work, API values will need to be set.

Start local server

Run npm start to run the webserver and then navigate to http://localhost:80 or whichever port you have set in the config.json. You can also run npm run dev to run in debugging mode for local development, which provides greater logging and hot-reloading.

Change the website code

This project supports Embedded Javascript templating, ejs, for the templates served by each subdomain. A template may have either an index.html or index.ejs file in it's root that the express application will serve for a given subdomain. Using data from the config.json file as well as the data found in /data/config/, in conjunction with the raw html in the /data/content/ folder, data can be injected into the ejs templates.

To use within javascript:

<script>
	// get the supportedRegions object via JSON serialization
	var subs = JSON.parse(`<%- JSON.stringify(supportedRegions) %>`)
</script>

To use within html:

<audio id="biketag-jingle">
	<!-- insert the page.easter.jingle variable into the src attribute of this audio element -->
	<source src="<%= page.easter.jingle %>" type="audio/mpeg">
</audio>

The homepage landing page is in the /templates/home/ folder using the template file index.ejs. Each template should use it's own root folder for theme resources. There is a public folder in the root of the project for items that span multiple templates. Within the public folder there is a js folder that contains javascript available to all consumption. There is also a content folder within the public folder that contains raw html content which is available for editing by site administrators using git.

Note: When running in dev mode, changes to the files in the /templates/ folder are reflected immediately, with the page autoreloading.

Dependencies

This website runs on sexpress, a wrapper around express, which provides a series of configurable features for a multitenant website. These features include subdomain support, api authentication using passport.js, ssl support, and more. Because these features are abstracted out of the biketag-website project, the core of this application lives inside /api/biketag/index.js to handle the BikeTag specific routes and functionality.

Sexpress uses clobfig, a configurator library, which clobbers all of the files found in the /config folder. Clobfig clobbers all of the js files within the config folder that have 'config.js' in their name and all .json files.

Credits

Thank you to HorribleLogos.com for whatever it is that you provided.

Structured content powered by Sanity.io

Sanity.io

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].