All Projects → micmro → Stylify Me

micmro / Stylify Me

Licence: mit
Website style analyzer for designers. This is the service part that does the analyzation etc.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Stylify Me

Dotnetomdgenerator
A Roslyn-based cross-platform tool that generates an object model diagram from a set of C# source files or assemblies
Stars: ✭ 160 (-23.81%)
Mutual labels:  analyzer
Lector
An API for your Kindle data
Stars: ✭ 177 (-15.71%)
Mutual labels:  phantomjs
Frontend Nanodegree Styleguide Zh
优达学城(Udacity)前端样式指南
Stars: ✭ 188 (-10.48%)
Mutual labels:  style-guide
Thehive
TheHive: a Scalable, Open Source and Free Security Incident Response Platform
Stars: ✭ 2,300 (+995.24%)
Mutual labels:  analyzer
Wechat Robot
✅ js微信聊天机器人(使用个人账号,非公众号) Wechat chat robot write by js.
Stars: ✭ 173 (-17.62%)
Mutual labels:  phantomjs
Emoji Search
😄 Emoji synonyms to build your own emoji-capable search engine (elasticsearch, solr)
Stars: ✭ 184 (-12.38%)
Mutual labels:  analyzer
Argus Eyes
A lightweight commandline tool for visual regression testing of UI components.
Stars: ✭ 158 (-24.76%)
Mutual labels:  phantomjs
Style
The tidyverse style guide for R code
Stars: ✭ 201 (-4.29%)
Mutual labels:  style-guide
Eslint Config Standard
ESLint Config for JavaScript Standard Style
Stars: ✭ 2,229 (+961.43%)
Mutual labels:  style-guide
Style Guide
📘 Rules of Play @ RIDI
Stars: ✭ 187 (-10.95%)
Mutual labels:  style-guide
Guidelines.spatie.be
The guidelines used at our company
Stars: ✭ 169 (-19.52%)
Mutual labels:  style-guide
Elasticsearch Analysis Pinyin
This Pinyin Analysis plugin is used to do conversion between Chinese characters and Pinyin.
Stars: ✭ 2,215 (+954.76%)
Mutual labels:  analyzer
Chatanalyzer
Java script webapp that analyzes your WhatsApp Chat history locally on your machine.
Stars: ✭ 186 (-11.43%)
Mutual labels:  analyzer
Vue Styleguidist
Created from react styleguidist for Vue Components with a living style guide
Stars: ✭ 2,133 (+915.71%)
Mutual labels:  style-guide
Rails Style Guide
📗 Russian Version: A community-driven Rails 3 & 4 & 5 style guide.
Stars: ✭ 189 (-10%)
Mutual labels:  style-guide
Styleguide Generators
An overview of automatic living styleguide generators
Stars: ✭ 1,902 (+805.71%)
Mutual labels:  style-guide
Unityheapexplorer
A Memory Profiler, Debugger and Analyzer for Unity 2019.3 and newer.
Stars: ✭ 179 (-14.76%)
Mutual labels:  analyzer
Codestyle
JavaScript and TypeScript Style Guide
Stars: ✭ 207 (-1.43%)
Mutual labels:  style-guide
Meziantou.analyzer
A Roslyn analyzer to enforce some good practices in C#.
Stars: ✭ 189 (-10%)
Mutual labels:  analyzer
Npgsql.fsharp
Thin F# wrapper around Npgsql, the PostgreSQL database driver for .NET
Stars: ✭ 185 (-11.9%)
Mutual labels:  analyzer

Stylify Me

A Style Guide Generator - using NodeJS and PhantomJS, a command line webkit browser. See it live at http://stylifyme.com

This repo only contains the web service. We host our app on Heroku.

Running the service locally

  1. Make sure you have NodeJS installed and running

  2. Install dependencies with npm npm install

  3. Update the referer url check in "app.js" with the url of your frontend (local and production):

    isRefererValid : function(referer){
    		var validRefs = ["http://stylifyme.com", "http://www.stylifyme.com", "http://stylify.herokuapp.com", "http://localhost:9185", "http://localhost:" + app.get('port')]
    			,isvalid = false;
    		.....
    	}
    
  4. Start the nodeJs app with node app.js

  5. Query http://localhost:5000/query?url=https%3A%2F%2Fgoogle.com (assuming you run your app on port 5000) and you should be able to see a JSON response I recomend using Postman for debugging your api

Frontend

This repo only contains the web service, you can query it from the front end like this:

var urlToQuery = encodeURIComponent("http://google.com");

$.ajax({
	dataType: "jsonp",
	url: "http://youreServiceUrl.com/query?url="+ urlToQuery,
	success: function(data){
		if(data["error"]){
			alert("Error: " + data["error"]);
			return;
		}
		//PROCESS the result
	},
	timeout : 10000
}).fail(function(){
	alert("Could not query site, the service might be down, please try again later.");
});
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].