Git Product home page Git Product logo

pasteofexile's Introduction

Paste of Exile

Build Status License

pobb.in, a pastebin for Path Of Building builds.

pobb.in

Development

Required dependencies:

  • Node 16.7+
  • Yarn
  • Latest Rust (including wasm toolchain: rustup target add wasm32-unknown-unknown)
  • wrangler: cargo install wrangler
  • TrunkRS: cargo install trunk
  • worker-build: cargo install worker-build
  • wasm-pack: cargo install wasm-pack

The application can be started with:

$ yarn start

To just build the application:

$ ./build.sh --dev
$ ./build.sh --release

Code

Rust code is formatted with cargo +nightly fmt and linted with cargo +nightly clippy --all-features -- -D warnings.

Commits are prefixed with their scope/crate:

  • poe: relevant for the entire project
  • app: the frontend
  • pob: pob parsing and tools
  • poe-tree: poe tree parsing and processing
  • shared: mainly types shared between app and worker
  • snapshot: just a cli tool to generate stats
  • worker: the backend

Public API

For third-party integrations there are currently two public URLs to retrieve a build:

  • /:id/raw
  • /u/:username/:id/raw

Please always include a User-Agent which identifies your application and includes contact info, e.g.: User-Agent: app-name/version hosted.domain (contact: foo@bar, discord#0000).

Contributing

Contributions are always welcome, code, design ideas, mockups etc.

When contributing please try to follow coding conventions (cargo fmt, cargo clippy), code style and commit formatting.

Before working on big features please open an issue/discussion first or reach out (e.g. #tooldev-general on the official discord), in case this feature is currently out of scope or already being worked on.

pasteofexile's People

Contributors

dav1dde avatar ivniinvi avatar raylu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pasteofexile's Issues

PoBB Trees don't load on iPhones

Hi! I'm a console player so I don't view PoBB's from PC, I view them from iPhone however it appears that its broken pretty much across multiple iPhone models.

I've confirmed that its not just Safari either. I've tried FireFox, Chrome, Safari and none will display the tree's on any PoBB's.
IMG_2426

Foil items are not visible

Random example: https://pobb.in/lXt2RdaK4jmG
The character has a foil Farrul's Fur equipped, but no body armour is displayed on pobb.in.

I suspect it has something to do with this piece of code. It should probably accept the "Relic" rarity:

let rarity = match rarity {
"NORMAL" => Rarity::Normal,
"MAGIC" => Rarity::Magic,
"RARE" => Rarity::Rare,
"UNIQUE" => Rarity::Unique,
_ => return Err(InvalidItem("expected normal, magic, rare or unique rarity")),
};

Socket colours in the gem "tab"

Maybe just add a circle in front of behind the gem name so it's easy to know what sockets you need at a glance?
Example:
Rolling Magma (B)
|-Combustion (B)
|-Arcane Surge (B)
|- Lifetap (R)

it can stay RGB but also be coloured I guess :)

Skill tree doesn't show up any more

Am unsure when this started happening, but it worked before and now the skill tree no longer shows up. I'm on Firefox on PC/Linux. It works on mobile, where I also use Firefox. Have tried to disable extensions like Privacy Badger and uBlock Origin, but the tree still doesn't show up, so I'm not sure what is the cause of this. The keynodes and masteries show up in the right panel, but not the skill tree selection.

As an aside, the level listed is and skill points count is wrong, maybe due to the 2nd ascendancy tree we have now? The screenshot is with a level 92 character, yet it shows up as 99 in Pobb.in.

https://pobb.in/E_baMWebo_JQ
Pobbin missing skill tree

Feature: Copy Item to clipboard

When comparing builds, it can be useful to be able to copy an item to import it in PoB

Faster than opening 2 instance of PoB and hunting for the specific item to copy

poe.ninja has that feature:

image

Access blocked by cloudflare for exile-tools Gemplanner

Hey there!

Developing a tool called exile-tools Gemplanner for Path of eile. A tool that lets you paste your PoB-Date (or code) and tells you where you can get your Gems and so on.

To make pasting more easy, there is a lookup function for different paste platforms - like pobb.in.

I noticed a few days ago, that the lookup is not working anymore because it is blocked by CloudFlare before it.

I am jusing Python / Requests to get the data:

def get_from_pobb(self, code):
    url = f"https://pobb.in/pob/{code}"
    resp = requests.get(url)
    return resp.text

Is there any way I can get it working again?

Thanks and kind regards

mow

Cluster Wheels

Is it just me or do the cluster wheels not appear on any imported build ? I've been waiting for something to happen for a while and I just decided to ask about it recently. Any help on this matter would be appreciated.

Feature request: app: Show selected masteries

First of all thanks for the awesome job you've done here.

I would like to see currently selected masteries next to the tree.

Also I would like to help with implementation of this feature, and others in future. If it possible could you please, provide insight on overall architecture under Contributing section in README, this will be very helpful.

Bug: Tree preview does not work on tablets

Example PoB: https://pobb.in/MqBwqqTLVBhW

I tried viewing the passive tree for this PoB on an iPad mini, but the nodes were not highlighted. It just showed a greyed out tree. I tested this out on Chrome + Firefox + Safari on the iPad mini. It cannot be replicated by using the responsive testing features of chrome or firefox dev tools, only through a tablet. It does not occur on mobile.

Feature request: search for price of items used in build

Having a built-in feature that allows us to check the market prices for build items (or pricetag of whole build) would greatly improve decision-making process when searching for a new build. It could be simple link from icon placed in bottom right corner on each item.

Feature request: show disabled gems

Would it be possible to show which gems are in the Path of Building but unticked? For example this pob: https://pobb.in/FUrwupJJMpe6 has Summon Phantasm and Minion Speed supports unticked in the weapon, and Haste unticked in the boots- these are included by the creator as gem swaps for mapping vs bossing. Would be nice to show them (greyed out or something) to know which gems to level or purchase

Feature request: case insensitive links

l've noticed a few people pasting build links that get converted to lowercase somehow, which then leads to a 404 error (recent example). Not a big deal, as the user can just edit the link, but lowercase or case-insensitive links may be more user-friendly.

Item images not displayed due to POB name mismatch

Example: https://pobb.in/s1R4zx8Xp2mH
The weapon image is not displayed.

This seems to be caused by POB using slightly incorrect names for some items. The correct name of the weapon is "Mjölner", but POB uses the name "Mjolner" (ö -> o), which causes pobb.in to not be able to find the correct image file. There are more items that have this discrepancy in their name, for example "Maelström Staff".

Feature request: Custom modifiers

Would it be possible to show when there are custom modifiers on a build?

At minimum a line of text that says 'Custom modifiers' when the custom modifiers box on the configuration tab is not empty. If possible also the ability to expand it to see what the custom modifier text is. Ideal would be to highlight the text blue and red same as pob does.

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.