Convert Figma logo to code with AI

OpenUserJS logoOpenUserJS.org

The home of FOSS user scripts.

1,008
369
1,008
81

Top Related Projects

Violentmonkey provides userscripts support for browsers. It works on browsers with WebExtensions support.

Tampermonkey is the most popular userscript manager, with over 10 million users. It's available for Chrome, Microsoft Edge, Safari, Opera Next, and Firefox.

6,895

Stylus - Userstyles Manager

An open-source userscript manager for Safari

Quick Overview

Error generating quick overview

Competitor Comparisons

Violentmonkey provides userscripts support for browsers. It works on browsers with WebExtensions support.

Pros of Violentmonkey

  • Cross-browser compatibility (Chrome, Firefox, Edge)
  • Active development with frequent updates
  • Lightweight and efficient performance

Cons of Violentmonkey

  • Smaller user base compared to OpenUserJS.org
  • Limited built-in script discovery features
  • Fewer community-driven features and discussions

Code Comparison

OpenUserJS.org (Node.js):

app.use(function (req, res, next) {
  res.header('Access-Control-Allow-Origin', '*');
  res.header('Access-Control-Allow-Methods', 'GET, POST, OPTIONS, PUT, PATCH, DELETE');
  next();
});

Violentmonkey (JavaScript):

browser.runtime.onMessage.addListener((message, sender, sendResponse) => {
  if (message.cmd === 'GetAllOptions') {
    sendResponse(getAllOptions());
  }
});

OpenUserJS.org focuses on providing a platform for user script hosting and discovery, while Violentmonkey is a user script manager for browsers. OpenUserJS.org offers a larger community and more extensive script library, but Violentmonkey provides a more streamlined experience for managing and running user scripts across multiple browsers. The code snippets highlight the different focuses: OpenUserJS.org deals with server-side operations, while Violentmonkey handles browser extension functionality.

Tampermonkey is the most popular userscript manager, with over 10 million users. It's available for Chrome, Microsoft Edge, Safari, Opera Next, and Firefox.

Pros of tampermonkey

  • More active development with frequent updates and bug fixes
  • Extensive documentation and user guides available
  • Larger user base, resulting in more community support and resources

Cons of tampermonkey

  • Closed-source project, limiting community contributions
  • Less focus on script hosting and sharing compared to OpenUserJS.org
  • More complex setup for new users due to advanced features

Code Comparison

tampermonkey:

// @grant GM_xmlhttpRequest
GM_xmlhttpRequest({
  method: "GET",
  url: "https://example.com",
  onload: function(response) {
    console.log(response.responseText);
  }
});

OpenUserJS.org:

// @grant GM.xmlHttpRequest
GM.xmlHttpRequest({
  method: "GET",
  url: "https://example.com",
  onload: function(response) {
    console.log(response.responseText);
  }
});

The code comparison shows that both projects support similar functionality for making HTTP requests, with slight differences in syntax. tampermonkey uses the older GM_xmlhttpRequest method, while OpenUserJS.org uses the newer GM.xmlHttpRequest method, which is part of the more recent UserScript API standards.

6,895

Stylus - Userstyles Manager

Pros of Stylus

  • Focuses specifically on user styles, providing a more streamlined experience for CSS customization
  • Offers a built-in style editor with syntax highlighting and live preview
  • Supports both userstyles.org and UserCSS formats

Cons of Stylus

  • Limited to CSS modifications, lacking support for JavaScript userscripts
  • Smaller community and fewer available styles compared to OpenUserJS.org

Code Comparison

Stylus (manifest.json):

{
  "name": "__MSG_extName__",
  "version": "1.5.27",
  "description": "__MSG_extDescription__",
  "manifest_version": 2,
  "minimum_chrome_version": "49",
  "permissions": [
    "tabs", "webNavigation", "storage", "contextMenus", "<all_urls>"
  ]
}

OpenUserJS.org (package.json):

{
  "name": "OpenUserJS.org",
  "version": "0.2.8",
  "main": "app",
  "dependencies": {
    "ace-builds": "1.4.12",
    "async": "3.2.0",
    "aws-sdk": "2.814.0",
    "body-parser": "1.19.0",
    "bootstrap": "3.4.1"
  }
}

The code comparison shows that Stylus is a browser extension focused on CSS customization, while OpenUserJS.org is a full-fledged web application for hosting and managing userscripts. Stylus has a simpler structure, while OpenUserJS.org has more dependencies and features.

An open-source userscript manager for Safari

Pros of userscripts

  • Lightweight and focused on macOS integration
  • Simple, user-friendly interface for managing userscripts
  • Supports automatic updates for installed scripts

Cons of userscripts

  • Limited to macOS platform
  • Smaller community and script repository compared to OpenUserJS.org
  • Lacks advanced features like script discussions and ratings

Code Comparison

OpenUserJS.org (Node.js):

exports.getScriptPageData = function (aReq, aOptions) {
  var script = aReq.script;
  var authedUser = aReq.session.user;

  aOptions.isOwner = authedUser && (authedUser._id == script._authorId
    || collaborators.indexOf(authedUser.name) > -1);

  // ...
};

userscripts (Swift):

func loadScripts() {
    let scriptsURL = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)[0].appendingPathComponent("Scripts")
    do {
        let scriptURLs = try FileManager.default.contentsOfDirectory(at: scriptsURL, includingPropertiesForKeys: nil)
        scripts = scriptURLs.map { Script(url: $0) }
    } catch {
        print("Error loading scripts: \(error)")
    }
}

The code snippets highlight the different approaches and technologies used by each project. OpenUserJS.org uses Node.js for server-side operations, while userscripts employs Swift for macOS integration and local script management.

Convert Figma logo designs to code with AI

Visual Copilot

Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.

Try Visual Copilot

README

OpenUserJS.org

The home of Free and Open Source Software (FOSS) user scripts. Built using Node.js and other web familiar technologies.

RepositoryReferenceRecent Version
nodejsDocumentationCurrent release schedule ¹ RELEASES ² ³
npmDocumentationnpm RELEASES

Contributing

Dependencies

Dispersed

These also may use a badge provider where applicable for potentialliy more up to date results.

Dynamic
RepositoryReferenceRecent Version
ace-builds ¹Documentation ¹NPM version
animate.cssDocumentationNPM version
ansi-colorsDocumentationNPM version
asyncDocumentationNPM version
aws-sdkDocumentationNPM version
body-parserDocumentationNPM version
bootstrapDocumentationNPM version
bootstrap-markdown
⋔ marked4.x
DocumentationNPM version
clipboardDocumentationNPM version
compressionDocumentationNPM version
connect-mongoDocumentationNPM version
diffDocumentationNPM version
expressDocumentationNPM version
express-hcaptcha
⋔ forkUpdate
DocumentationNPM version
express-minifyDocumentationNPM version
express-rate-limitDocumentationNPM version
express-sessionDocumentationNPM version
express-svg-captchaDocumentationNPM version
font-awesomeDocumentationNPM version
formidableDocumentationNPM version
git-revDocumentationNPM version
git-rev-syncDocumentationNPM version
highlight.jsDocumentationᴸᴬᴺᴳNPM version
image-sizeDocumentationNPM version
ip-range-checkDocumentationNPM version
jqueryDocumentationNPM version
js-beautifyDocumentationNPM version
jsdomDocumentationNPM version
kerberosDocumentationNPM version
less-middleware ¹Documentation ¹NPM version
markedDocumentationNPM version
marked-highlightDocumentationNPM version
media-typeDocumentationNPM version
method-overrideDocumentationNPM version
mime-dbDocumentationNPM version
momentDocumentationNPM version
moment-duration-formatDocumentationNPM version
mongodbDocumentationNPM version
mongooseDocumentationNPM version
morganDocumentationNPM version
mu2DocumentationNPM version
octiconsDocumentationNPM version
passportDocumentationNPM version
passport-githubDocumentationNPM version OAuth2
passport-gitlab2DocumentationNPM version OAuth2
passport-google-oauth2DocumentationNPM version OAuth2
passport-imgurDocumentationNPM version OAuth2 oauth
passport-redditDocumentationNPM version OAuth2
passport-steam
⋔ OpenID2
DocumentationNPM version OpenID ⋔
pegjsDocumentationNPM version
rate-limit-mongoDocumentationNPM version
remarkDocumentationNPM version
remark-strip-htmlDocumentationNPM version
requestDocumentationNPM version
rfc2047DocumentationNPM version
S3rverDocumentationNPM version
sanitize-htmlDocumentationNPM version
select2DocumentationNPM version
select2-bootstrap-cssDocumentationNPM version
serve-faviconDocumentationNPM version
spdx-license-idsDocumentationNPM version
strip-markdownDocumentationNPM version
terserDocumentationNPM version
toobusy-js
⋔ harmony
DocumentationNPM version
underscoreDocumentation ΔNPM version
useragentDocumentationNPM version
@octokit/auth-oauth-appDocumentationNPM version
@octokit/rest ᶠᵏᵃ ᵍᶦᵗʰᵘᵇDocumentationNPM version
Static
RepositoryReferenceRecent VersionStored
bootswatchDocumentationNPM version3.1.1+1 (includes normalize.css 3.0.0 and some of our CSS)
SquadaOne-Regular ¹DocumentationSquadaOne-Regular.ttfSHA256 7fb11ce5541246c83ebc3640543c9f53de186964bcbbf184c1a00cb9ec6cc457
CDN
RepositoryReferenceRecent VersionReferenced

Aggregate

Outdated dependencies list can be achieved with $ npm outdated from the terminal and alternatively $ npm show packagename versions.