ALPHA build of re621 2.0

Overview

RE621

RE621 is a comprehensive project created to improve the basic user experience while browsing e621.net. It consists of several different modules that enhance the entire site, top to bottom - literally.

For a complete feature overview, visit the project site.

Installation

The project is delivered via a userscript. This means that you need a script manager, such as Tampermonkey.
With a script manager installed, click on this link and follow the instructions on the new page:

IMPORTANT

This is an ALPHA build of re621 2.0.
It is not compatible with the settings format from version 1.5.*, and should only be installed for testing purposes. A tool for converting the settings to a new format is coming later.

Older versions of the script are available on the Legacy page.
It lacks some features, and will not receive updates besides critical bug fixes.

Contributing

Contributions are always welcome.
For bug reports, suggestions, and feature requests, head on over to the issue tracker.

Building the Script

The script is built with webpack.

  • Start by cloning the repo as normal
  • Run npm i to install dependencies
  • Run npm run build to start the build process

That will create a production build of the script.
Artifacts are placed in the dist folder, which should now contain script.user.js and script.meta.js.

In order to build a dev version, set NODE_ENV environment variable to development.
The easiest way to do so is to create a .env file containing NODE_ENV="development".
In the development mode, the script.meta.js file will not be produced. Instead, an injector script will be generated.

An injector script loads the main script by referencing a local file.
This works fine in Chrome; however, in Firefox you will have to run a TamperDAV server.

By default, the Chrome version of the script is produced. In order to switch to building a Firefox version, set the INJ_TARGET environment variable to firefox.

Comments
  • 2.0.1 crashes on attempting to open settings

    2.0.1 crashes on attempting to open settings

    Error message is

    RE621 v.2.0.1 for Tampermonkey v.4.16.1
    Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.102 Safari/537.36 Edg/104.0.1293.70
    [SettingsManager] Fatal crash during "create"
    SyntaxError: Unexpected end of JSON input
        at JSON.parse (<anonymous>)
        at AvoidPosting.getCache (chrome-extension://iikmkjmpaadaobahmlepeloendndfphd/userscript.html?name=RE621%253A%2520e621%2520Enhancement%2520Suite.user.js&id=591a9670-a441-4aee-bca7-dd29dd94db35:62:4299)
        at AvoidPosting.size (chrome-extension://iikmkjmpaadaobahmlepeloendndfphd/userscript.html?name=RE621%253A%2520e621%2520Enhancement%2520Suite.user.js&id=591a9670-a441-4aee-bca7-dd29dd94db35:62:4487)
        at SettingsManager.makeCoverSection (chrome-extension://iikmkjmpaadaobahmlepeloendndfphd/userscript.html?name=RE621%253A%2520e621%2520Enhancement%2520Suite.user.js&id=591a9670-a441-4aee-bca7-dd29dd94db35:62:90570)
        at SettingsManager.<anonymous> (chrome-extension://iikmkjmpaadaobahmlepeloendndfphd/userscript.html?name=RE621%253A%2520e621%2520Enhancement%2520Suite.user.js&id=591a9670-a441-4aee-bca7-dd29dd94db35:62:89704)
        at Generator.next (<anonymous>)
        at chrome-extension://iikmkjmpaadaobahmlepeloendndfphd/userscript.html?name=RE621%253A%2520e621%2520Enhancement%2520Suite.user.js&id=591a9670-a441-4aee-bca7-dd29dd94db35:62:89371
        at new Promise (<anonymous>)
        at U (chrome-extension://iikmkjmpaadaobahmlepeloendndfphd/userscript.html?name=RE621%253A%2520e621%2520Enhancement%2520Suite.user.js&id=591a9670-a441-4aee-bca7-dd29dd94db35:62:89116)
        at SettingsManager.create (chrome-extension://iikmkjmpaadaobahmlepeloendndfphd/userscript.html?name=RE621%253A%2520e621%2520Enhancement%2520Suite.user.js&id=591a9670-a441-4aee-bca7-dd29dd94db35:62:89519)
    

    Not much to say about recreating the error, I just clikced the settings icon after a fresh install image

    bug 
    opened by Lovasz-Akos 4
  • Entering settings on Edge

    Entering settings on Edge

    Hello. I tried entering Settings using Edge (105.0.1343.27) and version 4.16.1 of Tampermonkey and got this error:

    RE621 v.2.0.6 for Tampermonkey v.4.16.1
    Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36 Edg/105.0.1343.27
    [SettingsManager] Fatal crash during "create"
    TypeError: Cannot read properties of undefined (reading 'Settings')
        at SettingsManager.makeThumbnailSection (chrome-extension://iikmkjmpaadaobahmlepeloendndfphd/userscript.html?name=RE621%253A%2520e621%2520Enhancement%2520Suite.user.js&id=dc1eeab2-1b4f-4aeb-b783-b8fcdcf70212:63:134833)
        at SettingsManager.<anonymous> (chrome-extension://iikmkjmpaadaobahmlepeloendndfphd/userscript.html?name=RE621%253A%2520e621%2520Enhancement%2520Suite.user.js&id=dc1eeab2-1b4f-4aeb-b783-b8fcdcf70212:63:125640)
        at Generator.next (<anonymous>)
        at chrome-extension://iikmkjmpaadaobahmlepeloendndfphd/userscript.html?name=RE621%253A%2520e621%2520Enhancement%2520Suite.user.js&id=dc1eeab2-1b4f-4aeb-b783-b8fcdcf70212:63:125235
        at new Promise (<anonymous>)
        at G (chrome-extension://iikmkjmpaadaobahmlepeloendndfphd/userscript.html?name=RE621%253A%2520e621%2520Enhancement%2520Suite.user.js&id=dc1eeab2-1b4f-4aeb-b783-b8fcdcf70212:63:124980)
        at SettingsManager.create (chrome-extension://iikmkjmpaadaobahmlepeloendndfphd/userscript.html?name=RE621%253A%2520e621%2520Enhancement%2520Suite.user.js&id=dc1eeab2-1b4f-4aeb-b783-b8fcdcf70212:63:125383)
        at SettingsManager.<anonymous> (chrome-extension://iikmkjmpaadaobahmlepeloendndfphd/userscript.html?name=RE621%253A%2520e621%2520Enhancement%2520Suite.user.js&id=dc1eeab2-1b4f-4aeb-b783-b8fcdcf70212:63:51381)
        at Generator.next (<anonymous>)
        at chrome-extension://iikmkjmpaadaobahmlepeloendndfphd/userscript.html?name=RE621%253A%2520e621%2520Enhancement%2520Suite.user.js&id=dc1eeab2-1b4f-4aeb-b783-b8fcdcf70212:63:48819
    

    What can be the problem?

    bug 
    opened by younyokel 2
  • [Feature] Recommendations page based on favourites?

    [Feature] Recommendations page based on favourites?

    Hi. I know this can be hard to make but I'm simply giving an idea for a recommendations system based on user's favourites that doesn't exist in e621 but is pretty common in other imageboards. I saw an YRE project but it wasn't updated since 2019 and I don't know how to even check it out.

    opened by younyokel 1
  • Bump loader-utils from 1.4.0 to 1.4.2

    Bump loader-utils from 1.4.0 to 1.4.2

    Bumps loader-utils from 1.4.0 to 1.4.2.

    Release notes

    Sourced from loader-utils's releases.

    v1.4.2

    1.4.2 (2022-11-11)

    Bug Fixes

    v1.4.1

    1.4.1 (2022-11-07)

    Bug Fixes

    Changelog

    Sourced from loader-utils's changelog.

    1.4.2 (2022-11-11)

    Bug Fixes

    1.4.1 (2022-11-07)

    Bug Fixes

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • Bump minimatch from 3.0.4 to 3.1.2

    Bump minimatch from 3.0.4 to 3.1.2

    Bumps minimatch from 3.0.4 to 3.1.2.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • Differences between this and

    Differences between this and "legacy"?

    What are all the current differences between this version and the version on the old, now "legacy" repo? Additionally, what is the best method for updating from the legacy version to this one while maintaining settings (if possible)? There does not currently seem to be any info on this (or on why the split between the current and old repos was necessary in the first place) in the readme.

    question 
    opened by InSimpleTermsJordan 2
Releases(2.0.7)
  • 2.0.7(Sep 4, 2022)

  • 2.0.6(Sep 4, 2022)

    Minor changes

    • Report the script version in a body attribute, as a way to communicate with other scripts and styles

    Fixes

    • Temporary fix to HeaderCustomizer breaking on mobile
    • Fixed a bug in SmartAlias and EditTracker caused by tags with backslashes in them
    • Fixed the thumbnail resize buttons not being disabled properly when reaching the limit
    • Added fallback styles in case the image assets do not load
    Source code(tar.gz)
    Source code(zip)
    script.meta.js(1.64 KB)
    script.user.js(258.45 KB)
  • 2.0.5(Aug 28, 2022)

    Major Changes

    • Added the EditTracker component
    • Added the UploadUtilities component
    • Added the CommentBlacklist component
    • Added the FormattingExtender component
    • Added the ModeExtender component
    • Switched from using resource tags to using a remote cache server

    Minor Changes and Fixes

    • Made the HeaderCustomizer link address comparisons non-case sensitive
    • Fixed a bug causing the HoverZoom settings section to still be visible even if ThumbnailEngine is disabled
    • Fixed the thumbnails on the comment index page not being converted properly
    • Fixed the bugged blacklist on the post page
    • Forced the native blacklist state to reset when the script is enabled
    • Fixed broken userscript icons
    • Fixed an error when using the "Reupload" option
    • Fixed a crash on the post page if the post is destroyed
    • Made a temporary hotfix to the browser download method
    • Fixed a padding issue when both the sticky header and searchbox are enabled
    • Fixed the LocalStorage size display on the settings page using the wrong formatting mode

    Build Script Tweaks

    • Added an automatically generated injector script
    • Tweaked the build script to only produce files required by the mode
    Source code(tar.gz)
    Source code(zip)
    script.meta.js(1.64 KB)
    script.user.js(257.92 KB)
Team Alpha Super Awesome Cool Dynamite Wolf Squadron - 10 - Project 1

Super Hero Wiki This is a group project for our Interactive Front End Web Site. We created a Super Wiki that uses two (2) APIs to provide users a comi

Vicente Garcia Sepulveda 3 Mar 24, 2022
🤖A Tic-Tac-Toe solver that uses the minimax algorithm and alpha-beta pruning to make it unbeatable

Tic-Tac-Toe AI A Tic-Tac-Toe solver that uses the minimax algorithm and alpha-beta pruning to make it unbeatable How it Works Tic-Tac-Toe is what is k

Martin 4 May 20, 2022
A full documentation on everything we know about Alpha 1.0.16 versions.

Minecraft's Alpha 1.0.16 Versions Before you start, make sure to watch RetroGamingNow's video about this first. Highly influenced (technically a port

_NexTre_ 44 Dec 23, 2022
Easiest way to build documentation for your project. No config or build required, hosted on @netlify.

Hyperdocs is the simplest way you can create documentation for your project. It blends the best of all the other documentation tools in one. Hyperdocs

Lalit 76 Dec 22, 2022
In this project I have build a To Do List app that you can list, add, delete and manage your daily tasks better. Build with HTML, CSS, JS, ES6, JSON

ToDo List This project is build by javascript web packages which can add and remove daily tasks. Built With Html Css Javascript Sublime Text Author ??

Sahar Saba Amiri 7 Oct 25, 2022
Simple webpack plugin that generates VERSION and commitInfo insert index.html during build

Html commit version plugin Simple webpack plugin that generates CommitInfo and VERSION insert index.html during build. English | 简体中文 Usage Given a we

null 13 Mar 8, 2022
Build redux logic, without getting nervous 😬

Redux Cool Build redux logic, without getting nervous ?? Description Redux Cool is an awesome tiny package that allows you to easily and intuitively w

Redux Cool 24 Nov 3, 2022
Follow along with blog posts, code samples, and practical exercises to learn how to build serverless applications from your local Integrated development environment (IDE).

Getting started with serverless This getting started series is written by the serverless developer advocate team @AWSCloud. It has been designed for d

AWS Samples 55 Dec 28, 2022
A build plugin to integrate Gatsby seamlessly with Netlify

Essential Gatsby Plugin This build plugin is a utility for supporting Gatsby on Netlify. To support build caching and Gatsby functions on Netlify, you

Netlify 72 Dec 27, 2022
This is the FARM Stack course, where you are going to learn how to build an application from scratch using FASTAPI, React and mongoDB

FARM-Stack-Course This is the FARM Stack course, where you are going to learn how to build an application from scratch using FASTAPI, React and mongoD

Bek Brace 121 Jan 2, 2023
The AKE-less General Purpose Build System with JavaScript DSL for Node.js platform.

The AKE-less General Purpose Build System with JavaScript DSL for Node.js platform. Inspired by NUKE. This project is reaching a mature stage, althoug

Aleksej Komarov 33 Oct 16, 2022
Build a Full Stack Marketplace on Ethereum with React, Solidity, Hardhat, and Ethers.js

Building a Digital Marketplace on Ethereum The technologies used in this workshop are React, Next.js, Tailwind CSS, HardHat, Solidity, and Ethers. Get

Nader Dabit 114 Nov 15, 2022
This is my portfolio GitHub clone website. The frontend is build using NextJS and TailwindCSS.

Github Clone Portfolio Website Tech Stack used: NextJS Tailwind CSS The contact form in this website is connected to Notion. If you want to integrate

Unnati Bamania 22 Oct 5, 2022
Build your own generative art NFT collection with 21 lines of JavaScript

Avatar Collection Build your own Generative Art NFT Collection in 1 minute. Quickstart Just run the following to get started: git clone https://github

rarepress 79 Dec 16, 2022
基于React开发的新一代web调试工具,支持React组件调试,类似于Chrome Devtools。A Lightweight, Easy To Extend Web Debugging Tool Build With React

English | 简体中文 基于React开发的移动web调试工具 更新日志 简单易用 功能全面 易扩展 高性能 使用cdn方式,一键接入 类Chrome devtools, 内嵌React开发者工具,支持日志,网络,元素,代理,存储,性能等, 具有更好的网络捕获能力和丰富的日志展现形式 暴露内部

腾讯TNTWeb前端团队 236 Dec 25, 2022
A simple interactive web page for your Gantt Chart (build with Vue.js)

Web Gantt A simple interactive web page for your Gantt Chart (build with Vue.js) No dependency required, no command line, just download the repo and l

Julie Blanc 4 Mar 22, 2022
Hasbik is a community based social token and the new paradigm in the crypto space. With the goal to build a community around a crypto token.

Hasbik is a community based social token and the new paradigm in the crypto space. With the goal to build a community around a crypto token.

null 2 Jan 5, 2022
Secure-electron-template - The best way to build Electron apps with security in mind.

secure-electron-template A current electron app template with the most popular frameworks, designed and built with security in mind. (If you are curio

reZach 1.4k Dec 29, 2022
🛠️⚡ Step-by-step tutorial to build a modern JavaScript stack.

JavaScript Stack from Scratch Welcome to my modern JavaScript stack tutorial: JavaScript Stack from Scratch. ?? This is the V2 of the tutorial, major

Jonathan Verrecchia 19.5k Jan 4, 2023